We will be showing off one of the most beautiful features of Zend Framework 2: The EventManager.
Bootstrap classes are an essential part of our application, this recipe is all about how to use those two tools:
The bootstrap is in our case the start of a module, whenever a module is requested it will use the
onBootstrap() method located in the
Module.php file. Although the method is not required, we usually want this method in our module as it is an easy method of making sure that some instances already exist or are configured before venturing further in our client request.
Sessions are a wonderful way of saving information about a user on ...