2
0

Zend_Tool_Project.xml 2.0 KB

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