Phalcon offers you a powerful and flexible tool for working with events, the Events Manager. The main purpose of this component is to provide an easy interface by which the developer can catch events generated by the application or even events generated outside the application. The Events Manager can not only catch events, but also generate them, potentially notifying a listener that something has happened.
In this recipe, we will try to implement listeners of an event such as user registration. When a user registers in our application, we will generate an event and subscribed listeners will respond accordingly.
If you have a test application which meets all the requirements, you may skip the recipe steps related to deploying the application and go ahead with the events implementation.
For successful implementation of this example you need a working application for your tests. It must be a fully configured and working application...