2.1.2 done

This commit is contained in:
Giulio De Pasquale 2017-02-05 17:56:50 +01:00
parent c9e45969c9
commit db795e81db

View File

@ -65,9 +65,9 @@
\color #008000 \color #008000
\end_index \end_index
\leftmargin 2cm \leftmargin 2cm
\topmargin 2cm \topmargin 3cm
\rightmargin 2cm \rightmargin 2cm
\bottommargin 2cm \bottommargin 3cm
\secnumdepth 3 \secnumdepth 3
\tocdepth 3 \tocdepth 3
\paragraph_separation indent \paragraph_separation indent
@ -586,6 +586,13 @@ rely on the Freemarker template engine to parse and edit URIs
. .
\end_layout \end_layout
\begin_layout Standard
\begin_inset Newpage newpage
\end_inset
\end_layout
\begin_layout Subsection \begin_layout Subsection
Functional Roles Functional Roles
\end_layout \end_layout
@ -641,6 +648,78 @@ HttpServletRequest
. .
\end_layout \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 \begin_layout Section
Issues Issues
\end_layout \end_layout