InfoQ

InfoQ

Topic/Tag specific view

Templating Content on InfoQ


News about Templating

Thymeleaf 2.0: Performance, th:switch, Line Numbers, Template Fragments, New DOM API

Topics
Thymeleaf,
Java Web Frameworks,
Java,
Languages,
Programming,
Templating

Thymeleaf is a XML/HTML template engine for Java, whose main goal is to provide a well-formed way of creating templates. Thymeleaf 2.0 includes a lot of new features, including improvements for developers who create Thymeleaf extensions. Here's a quick run down of what's new.

Safe User-Generated Templates for Ruby and .NET

Topics
Ruby,
Dynamic Languages,
Web Frameworks,
ASP.NET,
.NET,
WOA,
Languages,
Programming,
Liquid,
Architecture,
Templating

Unlike other templating engines that focus on given as much power as possible to the user, Liquid is designed to restrict what the user can do. The goal is to allow end-users to create their own templates without jeopardizing the security of the server. Originally created for Ruby, Liquid is now available for .NET as well.

Thymeleaf: XML/HTML Template Engine for Java

Topics
Thymeleaf,
Velocity,
Java Web Frameworks,
Java,
Web Frameworks,
Languages,
WOA,
Programming,
Architecture,
Templating,
FreeMarker

Thymeleaf is an XML/XHTML/HTML5 template engine that works for web and non-web applications. It's an open source Java library distributed under Apache License 2.0. Thymeleaf is a replacement for JSP and other template engines like Velocity and FreeMarker. It comes in two versions, the Standard dialect and the SpringStandard (Spring MVC 3) dialect.

Microsoft Gets More Involved with jQuery

Topics
jQuery,
Ruby,
Javascript,
Java,
Web Development,
Dynamic Languages,
.NET,
Languages,
Microsoft,
Templating,
Programming,
Companies

Microsoft has reconfirmed their commitment to help with jQuery development and will start by adding support for templating and is allocating resources including full time developers. John Resig, JQuery creator, declared that jQuery will remained an independent open source project and will not be moved to CodePlex.

Using T4 in ASP.NET MVC

Topics
ASP.NET MVC,
Artifacts & Tools,
ASP.NET,
Visual Studio,
.NET,
Tools,
Microsoft,
IDE,
Programming,
Agile,
Templating,
Code Generation,
Companies

ASP.NET MVC is using T4 (Text Template Transformation Toolkit) to generate the code behind the scenes when a Controller or a View is added to a project. T4 is a fully customizable text generator based on templates.

Rails Mockup Driven Development with Lilu

Topics
Ruby on Rails,
Ruby,
Dynamic Languages,
Languages,
Design,
Programming,
Templating,
Rails

There was a debate 2 years ago about Rails and its lack of a built in templating language, and whether one should be introduced. Today there are more than 5 templating systems: ERB, HAML, Liquid, Amrita2. All of them however mix Ruby or Ruby derivatives with HTML. Lilu aims at completely decoupling static HTML and Ruby code.

HAML: The Beauty of Efficiency

Topics
Ruby on Rails,
XHTML,
Ruby,
HTML,
Web Development,
Dynamic Languages,
Markup Languages,
Languages,
Templating,
Programming

The creator of HAML, an alternative templating language for Rails, feels that 20 minutes is all you’ll need to fall in love with its simplicity. However, a blogger named Grigsby disagrees, claiming that 2 minutes is all it takes. InfoQ investigates.