Hacker GitHub

← All repos

cgrand/enlive

View on GitHub ↗ ★ 1,618 Clojure

a selector-based (à la CSS) templating and transformation system for Clojure

36 mentions on Hacker News by 27 people: 1 story, 35 comments · first 2009-06-11 · latest 2024-01-02

Mentions per year 36 mentions · busiest year 2012 (7)
20082026
  1. https://github.com/cgrand/enlive Was a good stab at things too but went nowhere sadly.
    comment by jahnu · 2024-01-02 · in Was Javascript really made in 10 days?
  2. …templates and you just fill in the blanks using selectors and transformations written in Clojure. https://github.com/cgrand/enlive
  3. https://github.com/cgrand/enlive
  4. It's not true though that you need logic in your templates - see https://github.com/cgrand/enlive for a counterexample.
  5. …classes, styles, whatever), un/wrap elements, and so on. [1] https://github.com/magnars/stasis [2] https://github.com/cgrand/enlive
    comment by michaelsbradley · 2015-11-03 · in Static Website Generators Are the Next Big Thing
  6. …Enfocus ( https://github.com/ckirkendall/enfocus/ ) in the front-end, and Clojure with Enlive ( https://github.com/cgrand/enlive ) in the backend. It's not a SPA. I started it a while ago, before React/Om. If it were now I would write it…
  7. …markup and write everything in code (but keep my components as pure and dumb as possible). [1] https://github.com/cgrand/enlive [2] https://github.com/cgrand/enliven
  8. …projects. SXSLT seems to fit the bill quite nicely. [1] http://docs.racket-lang.org/raco/ [2] https://github.com/cgrand/enlive [3] http://docs.racket-lang.org/guide/match.html
    comment by michaelsbradley · 2015-03-26 · in XML and Scheme
  9. My favorite library for this: https://github.com/cgrand/enlive
  10. You might find Enlive (a Clojure library) interesting: https://github.com/cgrand/enlive See Brian Marick's 5-part tutorial for a good overview: https://github.com/cgrand/enlive/wiki/Table-and-Layout-Tutor...
    comment by michaelsbradley · 2014-12-06 · in Why I like XSLT
  11. In Clojure: https://github.com/weavejester/hiccup https://github.com/cgrand/enlive
  12. …to follow your basic structure outline (ie making sure your selectors match the right thing). [1] https://github.com/cgrand/enlive [2] https://github.com/ckirkendall/enfocus [3] https://github.com/ckirkendall/kioo [4]…
  13. At least for ClojureScript there is https://github.com/ckirkendall/kioo which is based on https://github.com/cgrand/enlive I not sure there is a similar thing for plain React/JS though.
  14. …is not type safe, operational transforms on trees (AST) can be type/structural safe. Clojure https://github.com/cgrand/enlive Python https://github.com/supervisor/meld3
    comment by sitkack · 2014-03-24 · in String Templating Considered Harmful
  15. …friendly format. For Clojure - it sounds like you're looking for Christophe Grand's work on enlive: https://github.com/cgrand/enlive You can read a tutorial here: https://github.com/swannodette/enlive-tutorial/
  16. …https://github.com/weavejester/compojure https://github.com/weavejester/hiccup https://github.com/cgrand/enlive http://sqlkorma.com/ http://www.clojure-toolbox.com/ is really helpful for finding appropriate libraries.
    comment by cgag · 2013-01-09 · in How Lisp is Going to Save the World
  17. …it's just easier to work with. All that said, you seem like someone that might like Enlive ( https://github.com/cgrand/enlive ). I'm not sure if equivalents exist in other languages, but the gist of using it for templating is that you…
  18. …gas. [1] https://github.com/weavejester/hiccup [2] https://github.com/mauricemach/coffeekup [3] https://github.com/cgrand/enlive
  19. …been updated in months (other than the "lazy fix"). There are 23 open issues, many over a year old. https://github.com/cgrand/enlive/issues?state=open I got hit by a bug the other day (it assumes http resources are UTF8), and even though…
  20. I prefer Enlive: https://github.com/cgrand/enlive
    comment by tensor · 2012-06-22 · in Clojure-powered Startups
  21. …and stuff via CSS style selectors. It's sweet. https://github.com/swannodette/enlive-tutorial https://github.com/cgrand/enlive Btw I think you can use Enlive with Noir, even though some of the examples from Noir use Hiccup, it's not a…
    comment by spacemanaki · 2012-06-22 · in Clojure-powered Startups
  22. …iirc) that Noir defaults to? Check out Enlive, it's a nice alternative that addresses your concern: https://github.com/cgrand/enlive https://github.com/swannodette/enlive-tutorial/
  23. …- * Enlive, a HTML scraping & templating library implemented on top of DOM parsing & state machines https://github.com/cgrand/enlive * Core Logic, a Prolog-like logic programming library https://github.com/clojure/core.logic * The…
    comment by zaph0d · 2012-05-24 · in Ask HN: Clojure code worth reading?
  24. …[2] http://wicket.apache.org/learn/examples/helloworld.html [3] https://github.com/cgrand/enlive/wiki [4] http://jawher.net/2011/03/03/moulder-in-action/
    comment by jawher · 2011-08-10 · in I Like PHP
  25. …those funny bits in the HTML so I have removed them far too many times. In Clojure, Enlive ( https://github.com/cgrand/enlive ) is a better solution because the HTML remains as HTML.
    comment by timclark · 2011-06-22 · in Noir - The Clojure web framework
  26. …existed prior to ring (with hiccup as part of it). [3] https://github.com/cgrand/moustache [4] https://github.com/cgrand/enlive [5] https://github.com/weavejester/hiccup [6] There is a link in the enlive readme [7]…
  27. The Enlive system (for Clojure, see https://github.com/cgrand/enlive ) does something very similar.
  28. …it to scrape Hacker News, though that project the scraping is for isn't ready for launch [2]. 1: https://github.com/cgrand/enlive 2: https://github.com/jColeChanged/mysite
  29. …designers design documents, then you write code to modify the markup at key integration points: https://github.com/cgrand/enlive This has some really nice properties: 1. The only thing your devs and designers need to agree on is some basic…
  30. …is Enlive - people should look into this before coming up with variations of the same old wheel - https://github.com/cgrand/enlive
    comment by swannodette · 2010-11-16 · in Utterly sensible HTML templating in Common Lisp
  31. …inspite of the API changes. [1]: http://brehaut.net [2]: http://github.com/cgrand/moustache [3]: http://github.com/cgrand/enlive [4]: http://github.com/ashafa/clutch [5]: http://github.com/swannodette/enlive-tutorial/ [6]:…
  32. …Clojure really shines in web development is when you mix it with cgrand's Enlive templating engine ( http://github.com/cgrand/enlive ), which is an amazing project with lots of active development. This approach is so cool that even a lot…
  33. …fused or the developer gets a design from the designer and encodes it into hiccup manually. Enlive ( http://github.com/cgrand/enlive ) is (in overly simplistic terms) a selector driven substitution engine. You give it an HTML file for a…
    comment by brehaut · 2010-07-02 · in Practicality: PHP vs Lisp
  34. …seemed silly next to just using Lisp. I guess that's part of its charm (and its curse). [Enlive: http://github.com/cgrand/enlive ]
    comment by icey · 2010-01-18 · in Decoding Clojure
  35. …screen scraping. It's called Enlive, it's works via CSS3 selectors and thus very powerful and clean: http://github.com/cgrand/enlive/tree/master
    comment by swannodette · 2009-06-11 · in Clojure Links To Get You Up To Speed