Use Database Transaction Logs To Implement Observer Pattern
Having an observer in the application is not good “To understand is to perceive patterns” — Isaiah Berlin Design patterns help you solve common problems and keep your code maintainable, and extensible. The observer pattern is one such pattern. A set of observers keep watching a change in an object. On any change in the object, the observers are notified of the change. This pattern is used when a change in an object should trigger changes in the observing objects. In the…