InfoQ

InfoQ

Topic/Tag specific view

Templating Content on InfoQ


News about Templating

Safe User-Generated Templates for Ruby and .NET

Topics
Ruby,
.NET,
Web Frameworks

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
Java,
Web Frameworks

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
Java,
.NET,
Javascript,
Ruby

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
Artifacts & Tools,
.NET

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
Design,
Ruby,
Ruby on 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
Programming,
Ruby,
Ruby on Rails

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.