The Zend Developer Zone has posted part two of their look at the Zend_Tool component in the Zend Framework. In the previous article the introduced some more advanced usage of the component and in this new part they go a step further with Zend_Tool_Project.
This same concept applies to Zend Framework projects. In ZF 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. Zend_Tool_Project is capable of tracking project resources throughout the development of a project. [...] 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.
Ralph shows it in action in the creation of a "create model" command for his command line tool. After running the command to create a new project, he creates a class to determine the model's context and a class to create a simple model with a get and set data functions.