Learning by doing
Trainers with practical experience
Detailed course material
Clear content description
Tailormade content possible
Training that proceeds
In the course Freemarker Templates participants learn to use the Apache FreeMarker template engine to generate text output such as HTML pages or emails based on templates.
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
All our courses are classroom courses in which the students are guided through the material on the basis of an experienced trainer with in-depth material knowledge. Theory is always interspersed with exercises.
We also do custom classes and then adjust the course content to your wishes. On request we will also discuss your practical cases.
The course times are from 9.30 to 16.30. But we are flexible in this. Sometimes people have to bring children to the daycare and other times are more convenient for them. In good consultation we can then agree on different course times.
We take care of the computers on which the course can be held. The software required for the course has already been installed on these computers. You do not have to bring a laptop to participate in the course. If you prefer to work on your own laptop, you can take it with you if you wish. The required software is then installed at the start of the course.
Our courses are generally given with Open Source software such as Eclipse, IntelliJ, Tomcat, Pycharm, Anaconda and Netbeans. You will receive the digital course material to take home after the course.
The course includes lunch that we use in a restaurant within walking distance of the course room.
The courses are planned at various places in the country. A course takes place at a location if at least 3 people register for that location. If there are registrations for different locations, the course will take place at our main location, Houten which is just below Utrecht. A course at our main location also takes place with 2 registrations and regularly with 1 registration. And we also do courses at the customer’s location if they appreciate that.
At the end of each course, participants are requested to evaluate the course in terms of course content, course material, trainer and location. The evaluation form can be found at https://www.klantenvertellen.nl/reviews/1039545/spiraltrain?lang=en. The evaluations of previous participants and previous courses can also be found there.
The intellectual property rights of the published course content, also referred to as an information sheet, belong to SpiralTrain. It is not allowed to publish the course information, the information sheet, in written or digital form without the explicit permission of SpiralTrain. The course content is to be understood as the description of the course content in sentences as well as the division of the course into modules and topics in the modules.