Main menu:

Site search

Categories

July 2010
M T W T F S S
« Jan    
 1234
567891011
12131415161718
19202122232425
262728293031  

Tags

Blogroll

Archive for 'Open source projects'

Slippers: How to click your heels

In my last post about Slippers, I introduced it’s philosophy and the places that you could find it. In this post, I will introduce some of its constructs. Rendering template of a string without any holes template = "This is a string without any holes in it" engine = Slippers::Engine.new(template) engine.render #=> "This is a [...]

Slippers: Introduction

There are many template engines that you can choose for the generation of views in your mvc application. The problem with most of the them, however, is that they are too permissive. These turing-complete engines allow for many complex constructs within the template, which begin at simple if statements and for loops, and expand to [...]