Resource Plugin are tied to bootstrapping process in Zend Framework. In order to get a good understanding of Resource Plugins, it would be good to first of all take a step back and have an overview of what Bootstrapping means in Zend Framework’s context. This would help in getting a better understanding of what actually goes on when we say we want to make use of or write our own Resource plugins.
So what exactly is Bootstrapping?
Whenever a Zend Framework application is accessed, the following process must occur in order for the application to run and respond to a request. These processes occur in the order that they are listed below:1.Application Bootstrapping: This is the process of preparing the application and making sure things needed to run it are available: setting up application environment etc.
2.URL Routing: Process of getting the URL and determining the respective Modules, Controller, Action that is being referred to in the application.
3.Dispatch: This is actually the process of initiating and calling the necessary controller and action from the specified module (if module is specified)