Prev | Current Page 77 | Next

Rob Allen, Nick Lo, and Steven Brown

"Zend Framework in Action"

Another feature of the MVC system is modules which
allow us to group a set of related controllers, views and models together. We will use this functionality to
separate out different logical concerns of the Places website.
With the initial planning in place, we can now start creating some code and tests ??“ just as soon as we know
where to put it!
Licensed to Menshu You
Please post comments or corrections to the Author Online forum at
http://www.manning-sandbox.com/forum.jspa?forumID=329
3.2 Initial Coding
We can kick of the initial coding to get a skeleton structure from which we can build the features that are
required. This means that we will set up the directories that we will need, write the bootstrap file, consider
configuration issues and create the database.
3.2.1 The initial directory structure
From our work in chapter two, we already know what directories we need for a Zend Framework application,
so we can start from there. Places is a bit bigger than Hello World though, so we will need some additional
directories to keep the files manageable as shown in Figure 3.3.
Figure 3.3: Directory structure of the Places website.
As with Hello World, we organize our directory structure with the goal of ensuring we can find files again.


Pages:
65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
Accept Firmy chińskie pomorskie yerba mate akcesoria motocyklowe ABBA