layout-conclusions.xml 945 B

1234567891011121314151617181920
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Reviewed: no -->
  3. <sect1 id="learning.layout.conclusions">
  4. <title>Zend_Layout: Conclusions</title>
  5. <para>
  6. <classname>Zend_Layout</classname> is a very simple wrapper around
  7. <classname>Zend_View</classname> which provides you immediately with the benefits of a Two
  8. Step View, giving you the flexibility to create a site-wide design into which you may inject
  9. your application content.
  10. </para>
  11. <para>
  12. If you're looking closely at the examples, however, you may come away with the idea that the
  13. functionality is relatively limited: how do you alter the page title, inject an optional
  14. script tag, or even create an optional sidebar? These questions are addressed with the
  15. concept of a "Composite View" -- and are the subject of the next chapter in the tutorial,
  16. which covers view "placeholders."
  17. </para>
  18. </sect1>