Structure your enterprise-class projects with FreeMarker!
- Learn something new in an Instant! A short, fast, focused guide delivering immediate results.
- Build realistic enterprise projects on your own
- Create your first template with FreeMarker
- Learn how to integrate with the Struts2 and Spring frameworks
Generating completed text documents by filling in blanks on a template is as old as printing, but this simple and straightforward approach to creating web pages and other computer-generated text using FreeMarker has only recently begun to gain popularity.
Instant FreeMarker Starter uses hands-on, real-world examples to show how to master its features, integrate with your web application framework, and effectively incorporate a template engine into your next enterprise project.
This guide gets you started quickly, showing you how you can begin using FreeMarker in less than a dozen lines of code. From there, it covers key features and shows you how FreeMarker integrates with popular MVC frameworks.
The core of the book walks you through the development of a program that generates a monthly newsletter from a complex data model. Along the way, you will learn strategies for organizing your FreeMarker logic in large enterprise projects. After covering the capabilities of FreeMarker, the book will show you how to integrate it with popular web application frameworks.
In short, the book will take your novice experience with FreeMarker to a level wherein you will create your own FreeMarker-based project.
Table of Contents
Instant FreeMarker Starter
- Instant FreeMarker Starter
- About the author
- About the reviewer
1. Instant FreeMarker Starter
- So, what is FreeMarker?
- Installing FreeMarker
- Quick start – creating your first template
Top 9 features you need to know about
- Sample output
- FreeMarker expressions
- Error handling
- Review of newsletter project
- MVC integration
- Using the FreeMarker servlet
- JSP integration features
- Spring MVC integration
- What now?
- People and places you should get to know
- Title: Instant FreeMarker Starter
- Release date: April 2013
- Publisher(s): Packt Publishing
- ISBN: 9781782163824