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 string without any holes [...]
Posted: October 14th, 2009 under Open source projects.
Comments: none
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 [...]
Posted: October 13th, 2009 under Open source projects.
Comments: 4