DISQUS

Phil Dawes' Stuff: Really simple html templating in factor

  • ryantm · 1 year ago
    Have you seen Haml? It's a templating language that makes some complex control stuff with HTML or XML look good. I'm not really sure how it would integrate with Factor evaluation methods though.

    http://haml.hamptoncatlin.com/
  • Slava Pestov · 1 year ago
    Phil, by sheer coincidence, Doug Coleman (erg) implemented something similar in extra/interpolate. He's using it to construct SQL stored procedures, IIRC. Perhaps you could look at his code for ideas, or merge your efforts? On a related note, I'd love to have your work (possibly after refactoring it to use 'interpolate') in the repository under basis/html/templates/simple, or something like that. Having more options for templating is always good.