In the previous chapter, you learned how to send e-mails and notifications. In this chapter, you will learn about events and broadcasting, which, at the beginning, may look similar to notifications but are not.
What Are Events and Broadcasting?
Although the difference between notification and events may not be clear at first, events and notifications have distinct characteristics and are used for different purposes.
To express this difference in one line, you could say that events are for when you need to do something, and notifications are for when something happens in your application. ...