This section will have dicussions on the book for FreeMarker.
- An introdution to templating and Web-MVC
- Why use FreeMarker over JSP
- Features
Download, installation, command line example, servlet example.
The goal is to give the reader some concrete framework in his brain, where he can plug the details described in the following two chapters. And also he should be able to try what he reads about later.
Here show everything about FTL, with lot of examples, except reference info like all directives or all built-ins.
- Basics
- Object wrapping (with examples of "expert" tasks, discussion of advanced BeansWrapper related topics)
- Macro libraries, transforms, methods
At this point the reader knows everything important about FreeMarker itself. So now the various "recipes" can come.
- FreeMarker in JSP model-2 centric environment (contains JSP custom tag feature)
- Using FreeMarker with Spring
- Using FreeMarker with WebWork
- Using FreeMarker with Struts
- Using FreeMarker with SiteMesh
- Using JSP tags without FreemarkerServlet
- XML processing
- FreeMarker as file preprocessor
- Using FreeMarker with Rhino (ECMAScript)
- Using FreeMarker with Jython
- Code generation with FreeMarker
- Internationalization
Sum up all the features of FreeMarker into a fiticious case study. Have a extended sample with details of design and implementations.
Integrate with as many tools as possible.
Would'nt it be a good idea to break up the chapter 4 into a few chapters and give each of them good coverage.