2
0

Zend_Tool_Project.xml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Reviewed: no -->
  3. <sect1 id="zend.tool.project.introduction">
  4. <title>Zend_Tool_Project Introduction</title>
  5. <para>
  6. Zend_Tool_Project builds on and extends the capabilities of Zend_Tool_Framework to that
  7. of managing a "project". In general, a "project" is a planned endeavor or an initiative.
  8. In the computer world, projects generally are a collection of resources. These resources
  9. can be files, directories, databases, schemas, images, styles, and more.
  10. </para>
  11. <para>
  12. This same concept applies to Zend Framework projects. In ZF projects, you have controllers,
  13. actions, views, models, databases and so on and so forth. In terms of Zend_Tool, we need a
  14. way to track these types of resources - thus Zend_Tool_Project.
  15. </para>
  16. <para>
  17. Zend_Tool_Project is capable of tracking project resources throughout the development
  18. of a project. So, for example, if in one command you created a controller, and in the next
  19. command you wish to create an action within that controller, Zend_Tool_Project is gonna have
  20. to <emphasis>know</emphasis> about the controller file you created so that you can (in the next action),
  21. be able to append that action to it. This is what keeps our projects up to date and
  22. <emphasis>stateful</emphasis>.
  23. </para>
  24. <para>
  25. Another important point to understand about projects is that typically, resources are organized
  26. in a hierarchical fashion. With that in mind, Zend_Tool_Project is capable of serializing the
  27. current project into a internal representation that allows it to keep track of not only
  28. <emphasis>what</emphasis> resources are part of a project at any given time, but also
  29. <emphasis>where</emphasis> they are in relation to one another.
  30. </para>
  31. </sect1>