Learning by doing
Trainers with practical experience
Detailed course material
Clear content description
Tailormade content possible
Training that proceeds
The templates use the FreeMarker Template Language (FTL) and are used for the View in the Model View Controller pattern (MVC). The templates only contain display logic that serves to display dynamically prepared data that is retrieved from the backend by a programming language, often Java.
The course starts with a discussion of the architecture of Web Applications using Java as an example, of which the FreeMarker templates form the front-end. The basic principles of the HTTP Protocol are discussed, such as Requests, Responses and Sessions.
After that FreeMarker values, types, directives, interpolations, control flow and the use of variables in templates are discussed. Namespaces, autoescaping and various output formats are also on the course program.
Next attention is paid to the FreeMarker Data Model, where Java objects become visible in the template as a tree structure of variables and where adapters determine how they end up in the template.
Finally various settings for template configuration are discussed and error handling, template loading and the implications of the use of multiple threads are treated.
The course Freemarker Templates is intended for developers and designers who want to use Freemarker in the User Interface of Java Web Applications.
Knowledge of modern software technologies for the layout of User Interfaces such as CSS and knowledge of the structure of Java Web applications is desirable.
The theory is discussed on the basis of presentation slides. The concepts are illustrated with demos and there is ample opportunity to practice. Course times are from 9:30 am to 16:30 pm.
After successful completion of the course participants receive an official certificate Freemarker Templates.
Module 1 : Intro Freemarker
Module 2 : Template Structure
Module 3 : Data Model
What is Freemarker?
Java Web Applications
Values and Types
User Defined Directives
Variables in Templates
Square Bracket Syntax
Creating a Data Model
Merging with Template
Module 4 : Configuration
Associating Output Formats
Custom Number Formats
Custom Date/Time Formats