-
Book Overview & Buying
-
Table Of Contents
Zend Framework 2 Cookbook
By :
When we consider the Zend Framework 2 structure, we must be aware that Zend Framework 2 doesn't actually care how our directory structure looks like, as long as we tell Zend Framework 2 in our configuration where all the paths can be found.
In the skeleton application we see that our configuration can be found in the config/application.config.php file. But that file solely exists there because in the public/index.php it is being loaded. If we, for example, want to change the location of that configuration file to somewhere else, we (in this case) only need to change it in the public/index.php file. The same goes for the module and vendor directory, as these can be anywhere we like, as long as we tell the application.config.php file where exactly that location is.
If we want to change the public directory, we can safely change it to any name we want, as long as we tell our web server where the new DocumentRoot is. Obviously making a good structure is of course...
Change the font size
Change margin width
Change background colour