Gigi Sayfan explains the idea of event-driven programming:
Event-driven programming is a great approach for building complex systems. It embodies the divide-and-conquer principle while allowing you to continue using other approaches like synchronous calls.
When discussing event-based systems, several different terms often refer to the same concept. For simplicity, we’ll primarily use the terms listed below in bold:
– Event, message, and notification
– Producer, publisher, sender, and event source
– Consumer, receiver, subscriber, handler, and event sink
– Message queue and event queue
I really like the ideas behind event-driven programming. It’s most commonly useful when working with cloud services, but also in solving some difficult T-SQL problems.
Comments closed