|
|
@@ -21,7 +21,7 @@
|
|
|
Es gibt zwei Design Pattern die Zend Framework verwendet um Layouts zu implementieren:
|
|
|
<ulink url="http://martinfowler.com/eaaCatalog/twoStepView.html">Two Step View</ulink> und
|
|
|
<ulink
|
|
|
- url="http://java.sun.com/blueprints/corej2eepatterns/Patterns/CompositeView.html">Composite
|
|
|
+ url="http://www.oracle.com/technetwork/java/compositeview-137722.html">Composite
|
|
|
View</ulink>. <emphasis>Two Step View</emphasis> wird normalerweise mit dem <ulink
|
|
|
url="http://www.martinfowler.com/eaaCatalog/transformView.html">Transform View</ulink>
|
|
|
Pattern assoziiert; die grundsätzliche Idee besteht darin das die View der Anwendung eine
|
|
|
@@ -49,17 +49,17 @@
|
|
|
getan werden indem der Befehl <command>zf enable layout</command> verwendet wird:
|
|
|
</para>
|
|
|
|
|
|
- <programlisting language="shell"><![CDATA[
|
|
|
-% zf enable layout
|
|
|
-Layouts have been enabled, and a default layout created at
|
|
|
-application/layouts/scripts/layout.phtml
|
|
|
-A layout entry has been added to the application config file.
|
|
|
-]]></programlisting>
|
|
|
-
|
|
|
+ <programlisting language="shell"><![CDATA[
|
|
|
+% zf enable layout
|
|
|
+Layouts have been enabled, and a default layout created at
|
|
|
+application/layouts/scripts/layout.phtml
|
|
|
+A layout entry has been added to the application config file.
|
|
|
+]]></programlisting>
|
|
|
+
|
|
|
<para>
|
|
|
Wie vom Kommando notiert wird <filename>application/configs/application.ini</filename>
|
|
|
- aktualisiert und enthält jetzt das folgende im Abschnitt <constant>production</constant>:
|
|
|
- </para>
|
|
|
+ aktualisiert und enthält jetzt das folgende im Abschnitt <constant>production</constant>:
|
|
|
+ </para>
|
|
|
|
|
|
<programlisting language="ini"><![CDATA[
|
|
|
; application/configs/application.ini
|