Dashboard > FreeMarker > Home > FreeMarkerBook
FreeMarker Log In | Sign Up   View a printable version of the current page.
FreeMarkerBook
Added by Benoy Jose, last edited by Benoy Jose on Jun 01, 2006

This section will have dicussions on the book for FreeMarker.

FreeMarker Cookbook

Table Of Contents

Introduction

  • An introdution to templating and Web-MVC
  • Why use FreeMarker over JSP
  • Features

Getting Started with FreeMarker

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.

The FreeMarker Template Language (this is for template authors (aka "designers"), and for devlopers too)

Here show everything about FTL, with lot of examples, except reference info like all directives or all built-ins.

The FreeMarker API (this is for developers only, of course)

  • 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.

Using FreeMarker with Web Application Frameworks

  • 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

Howto for selected use-cases (how should we break this up to multiple chapters?)

  • 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

Extended Case study

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.

Comments   (Hide)

Would'nt it be a good idea to break up the chapter 4 into a few chapters and give each of them good coverage.

Posted by Benoy Jose at Mai 30, 2006 23:09 | Permalink

The changes are good, I was still thinking of having the language fundamentals like the syntax and so on. The chapter for the designer and the developer will mostly contain guidelines to use FreeMarker in thier context. They can borrow or reference to sections in the language fundamentals.

We are still at chapter 7. we need a few more Atleast another 6, any ideas. Can we start adding more meat into the chapters - like the sub headings.

Posted by Benoy Jose at Mai 31, 2006 15:53 | Permalink

Does O'Reilly require at least 6 + 7 = 13 top-level chapter or what is the rule?

Posted by Dániel Dékány at Jun 01, 2006 01:36 | Permalink

I guess the book should have atleast 10-15 chapters. Either we go into greater detail for each chapter and break them into separate ones, or we should come up with new chapters.

Posted by Benoy Jose at Jun 01, 2006 23:51 | Permalink

I mean, with an example, if O'Relly require 5 chapters, then does it care if instead of:

1. A
2. B
3. C
4. D
5. E

you have

1. A
2. B
   2.1 C
   2.2 D
3. E

Isn't it rather interested in the number of characters or something like that?

Posted by Dániel Dékány at Jun 02, 2006 00:56 | Permalink
Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 1.4.2 Build:#214 Jun 30, 2005) - Bug/feature request - Contact Administrators