Tabla de contenidos
Zend_Tool_Project builds on and extends the capabilities of
Zend_Tool_Framework to that of managing a "project". In general, a
"project" is a planned endeavor or an initiative. In the computer world, projects generally
are a collection of resources. These resources can be files, directories, databases,
schemas, images, styles, and more.
This same concept applies to Zend Framework projects. In Zend Framework projects, you have
controllers, actions, views, models, databases and so on and so forth. In terms of
Zend_Tool, we need a way to track these types of resources - thus
Zend_Tool_Project is capable of tracking project resources throughout
the development of a project. So, for example, if in one command you created a controller,
and in the next command you wish to create an action within that controller,
Zend_Tool_Project is gonna have to know about
the controller file you created so that you can (in the next action), be able to append that
action to it. This is what keeps our projects up to date and stateful.
Another important point to understand about projects is that typically, resources are
organized in a hierarchical fashion. With that in mind,
Zend_Tool_Project is capable of serializing the current project into
a internal representation that allows it to keep track of not only what
resources are part of a project at any given time, but also where they
are in relation to one another.