This repository was archived by the owner on Oct 2, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +16
-16
lines changed Expand file tree Collapse file tree 7 files changed +16
-16
lines changed Original file line number Diff line number Diff line change 21
21
Es gibt zwei Design Pattern die Zend Framework verwendet um Layouts zu implementieren:
22
22
<ulink url =" http://martinfowler.com/eaaCatalog/twoStepView.html" >Two Step View</ulink > und
23
23
<ulink
24
- url =" http://java.sun .com/blueprints/corej2eepatterns/Patterns/CompositeView .html" >Composite
24
+ url =" http://www.oracle .com/technetwork/java/compositeview-137722 .html" >Composite
25
25
View</ulink >. <emphasis >Two Step View</emphasis > wird normalerweise mit dem <ulink
26
26
url =" http://www.martinfowler.com/eaaCatalog/transformView.html" >Transform View</ulink >
27
27
Pattern assoziiert; die grundsätzliche Idee besteht darin das die View der Anwendung eine
49
49
getan werden indem der Befehl <command >zf enable layout</command > verwendet wird:
50
50
</para >
51
51
52
- <programlisting language =" shell" ><![CDATA[
53
- % zf enable layout
54
- Layouts have been enabled, and a default layout created at
55
- application/layouts/scripts/layout.phtml
56
- A layout entry has been added to the application config file.
57
- ]]> </programlisting >
58
-
52
+ <programlisting language =" shell" ><![CDATA[
53
+ % zf enable layout
54
+ Layouts have been enabled, and a default layout created at
55
+ application/layouts/scripts/layout.phtml
56
+ A layout entry has been added to the application config file.
57
+ ]]> </programlisting >
58
+
59
59
<para >
60
60
Wie vom Kommando notiert wird <filename >application/configs/application.ini</filename >
61
- aktualisiert und enthält jetzt das folgende im Abschnitt <constant >production</constant >:
62
- </para >
61
+ aktualisiert und enthält jetzt das folgende im Abschnitt <constant >production</constant >:
62
+ </para >
63
63
64
64
<programlisting language =" ini" ><![CDATA[
65
65
; application/configs/application.ini
Original file line number Diff line number Diff line change 35
35
36
36
<para >
37
37
Diese Fragen werden im <ulink
38
- url =" http://java.sun .com/blueprints/corej2eepatterns/Patterns/CompositeView .html" >Composite
38
+ url =" http://www.oracle .com/technetwork/java/compositeview-137722 .html" >Composite
39
39
View</ulink > Design Pattern behandelt. Ein Weg zu diesem Pattern ist es "hints" oder Inhalt
40
40
für das Siteweite Layout anzubieten. Im Zend Framwork wird das durch spezialisierte View
41
41
Helfer ermöglicht welche "placeholders" (Platzhalter) heißen. Platzhalter erlauben es einem
Original file line number Diff line number Diff line change 19
19
There are two design patterns that Zend Framework uses to implement layouts: <ulink
20
20
url =" http://martinfowler.com/eaaCatalog/twoStepView.html" >Two Step View</ulink > and
21
21
<ulink
22
- url =" http://java.sun .com/blueprints/corej2eepatterns/Patterns/CompositeView .html" >Composite
22
+ url =" http://www.oracle .com/technetwork/java/compositeview-137722 .html" >Composite
23
23
View</ulink >. <emphasis >Two Step View</emphasis > is usually associated with the <ulink
24
24
url =" http://www.martinfowler.com/eaaCatalog/transformView.html" >Transform View</ulink >
25
25
pattern; the basic idea is that your application view creates a representation that is then
Original file line number Diff line number Diff line change 32
32
33
33
<para >
34
34
These questions are addressed in the <ulink
35
- url =" http://java.sun .com/blueprints/corej2eepatterns/Patterns/CompositeView .html" >Composite
35
+ url =" http://www.oracle .com/technetwork/java/compositeview-137722 .html" >Composite
36
36
View</ulink > design pattern. One approach to that pattern is to provide "hints" or content
37
37
to the sitewide layout. In Zend Framework, this is achieved through specialized view helpers
38
38
called "placeholders." Placeholders allow you to aggregate content, and then render that
Original file line number Diff line number Diff line change 20
20
Il y a deux designs pattern que le Zend Framework utilise pour les layouts  : <ulink
21
21
url =" http://martinfowler.com/eaaCatalog/twoStepView.html" >Two Step View</ulink > et
22
22
<ulink
23
- url =" http://java.sun .com/blueprints/corej2eepatterns/Patterns/CompositeView .html" >Composite
23
+ url =" http://www.oracle .com/technetwork/java/compositeview-137722 .html" >Composite
24
24
View</ulink >. <emphasis >Two Step View</emphasis > est souvent associé au pattern <ulink
25
25
url =" http://www.martinfowler.com/eaaCatalog/transformView.html" >Transform View</ulink >
26
26
l'idée de base est que les vues de l'application créent une représentation qui est ensuite
Original file line number Diff line number Diff line change 34
34
35
35
<para >
36
36
Ces questions sont traitées dans le pattern <ulink
37
- url =" http://java.sun .com/blueprints/corej2eepatterns/Patterns/CompositeView .html" >Composite
37
+ url =" http://www.oracle .com/technetwork/java/compositeview-137722 .html" >Composite
38
38
View</ulink >. Une approche de ce pattern est de proposer du contenu pour le layout global.
39
39
Dans Zend Framework, ce mécanisme est implémenté au travers d'aides de vue spéciales
40
40
appelées "placeholders." Les placeholders permettent d'agréger du contenu et de le rendre
Original file line number Diff line number Diff line change 23
23
url =" http://martinfowler.com/eaaCatalog/twoStepView.html" >Widok dwustopniowy
24
24
(Two Step View)</ulink > oraz
25
25
<ulink
26
- url =" http://java.sun .com/blueprints/corej2eepatterns/Patterns/CompositeView .html" >Widok
26
+ url =" http://www.oracle .com/technetwork/java/compositeview-137722 .html" >Widok
27
27
złożony (Composite View)</ulink >.
28
28
<emphasis >Widok dwustopniowy</emphasis > jest najczęściej powiązany z <ulink
29
29
url =" http://www.martinfowler.com/eaaCatalog/transformView.html" >Widokiem przekształconym
You can’t perform that action at this time.
0 commit comments