2.1.2 done
This commit is contained in:
parent
c9e45969c9
commit
db795e81db
@ -65,9 +65,9 @@
|
||||
\color #008000
|
||||
\end_index
|
||||
\leftmargin 2cm
|
||||
\topmargin 2cm
|
||||
\topmargin 3cm
|
||||
\rightmargin 2cm
|
||||
\bottommargin 2cm
|
||||
\bottommargin 3cm
|
||||
\secnumdepth 3
|
||||
\tocdepth 3
|
||||
\paragraph_separation indent
|
||||
@ -586,6 +586,13 @@ rely on the Freemarker template engine to parse and edit URIs
|
||||
.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset Newpage newpage
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Subsection
|
||||
Functional Roles
|
||||
\end_layout
|
||||
@ -641,6 +648,78 @@ HttpServletRequest
|
||||
.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Subsubsection
|
||||
|
||||
\family typewriter
|
||||
SeoTransform
|
||||
\family default
|
||||
and
|
||||
\family typewriter
|
||||
UrlRegexpTransform
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\align center
|
||||
\begin_inset Float figure
|
||||
wide false
|
||||
sideways false
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
\align center
|
||||
\begin_inset Graphics
|
||||
filename res/FreeMarker.png
|
||||
lyxscale 10
|
||||
scale 40
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Plain Layout
|
||||
\begin_inset Caption Standard
|
||||
|
||||
\begin_layout Plain Layout
|
||||
FreeMarker used as Web Template Engine
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
These two classes implement the
|
||||
\family typewriter
|
||||
TemplateTransformModel
|
||||
\family default
|
||||
of the FreeMarker engine.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
As of any template engine, FreeMarker is designed to combine one or more
|
||||
templates with a data model to produce one or more result documents.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
In our case, the classes are almost identical but they are used for different
|
||||
data type parsing:
|
||||
\family typewriter
|
||||
SeoTransform
|
||||
\family default
|
||||
is used for generic URLs while
|
||||
\family typewriter
|
||||
UrlRegexpTransform
|
||||
\family default
|
||||
is used for Product URLs.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Section
|
||||
Issues
|
||||
\end_layout
|
||||
|
Loading…
Reference in New Issue
Block a user