Prev | Current Page 11 | Next

Rob Allen, Nick Lo, and Steven Brown

"Zend Framework in Action"

In other words, you don??™t have to worry having to set lots of configuration settings for each
Licensed to Menshu You
Please post comments or corrections to the Author Online forum at
http://www.manning-sandbox.com/forum.jspa?forumID=329
component just so that you can get started using it. For example, the most simplistic use of the whole MVC is
bootstrapped with just:
require_once('Zend/Loader.php');
Zend_Loader::registerAuthoload();
Zend_Controller_Front::run('/path/to/controllers');
Once up and running, adding a new page to your application can be as easy as adding a new function to a
class, along with a new template file in the correct directory. Similarly, Zend_Session provides a multitude of
options that can be set so that you can manage your session exactly how you want to, however none need to be
set in order to use the component for most use-cases.
1.2.7 Structured code is easy to maintain
As we have seen earlier, separating out different responsibilities makes for a structured application. It also
means finding what you are looking for is easier whilst bug fixing. Similarly, when you need to add a new
feature to the display code, the only files you need to look at are related to the display logic. This avoids bugs
created inadvertently by breaking something else.


Pages:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
polish courses warsaw Potopek zakłady bukmacherskie centralka opony michelin