Hi Rails folks,
I’ve been giving some thought on how something I’ve been calling
“microtemplates” (http://microtemplates.org) might relate to Rails.
Briefly, microtemplates are a way of specifying HTML templates that is
inspired by microformats. For example, data like this:
could be bound to this template:
to produce this HTML presentation (which happens to be a valid hcard
by applying some simple binding rules. I’ve attempted to generalize
this approach into a complete templating solution, including a
useful in augmenting static web pages with dynamic content, creating
mashups on plain HTML pages, and in lowering the bar for composing and
specializing web views and functions.
I also think it might fit very nicely into Rails. I’ve started to draft
some thoughts on that here:
I realize this is unsolicited, but I hope some of you find it
interesting and would like to hear your feedback.