Friday, March 19, 2010

Enlive tutorial

HTML scraping and templating in Clojure:

Enlive presents a different approach from the more popular templating solutions:

  • Code and markup are completely separate.
  • You get to use CSS
 like syntax to manipulate HTML.
  • Template inheritance isn’t some fancy trick, it’s just function composition.
  • You have access to the full power of Clojure to manipulate your templates (yes, macros!).
  • Posted via email from miner49r

    No comments: