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
20082026
-
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? -
…templates and you just fill in the blanks using selectors and transformations written in Clojure. https://github.com/cgrand/enlive
comment by thom · 2022-09-29 · in Penpot, Open Source Figma alternative, raises $8M in funding -
https://github.com/cgrand/enlive
comment by lbj · 2022-05-08 · in How to profile your PHP applications with Xdebug -
It's not true though that you need logic in your templates - see https://github.com/cgrand/enlive for a counterexample.
comment by dminor · 2016-01-25 · in Things every React.js beginner should know -
…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 -
…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…
comment by xavi · 2015-08-01 · in Show HN: Omnimemory – Simple multi-device flashcards -
…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
comment by dkersten · 2015-05-26 · in Show HN: An Isomorphic JavaScript Framework Faster Than React -
…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 -
My favorite library for this: https://github.com/cgrand/enlive
comment by snikeris · 2014-12-22 · in Ask HN: Creating html – templates vs. code -
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 -
In Clojure: https://github.com/weavejester/hiccup https://github.com/cgrand/enlive
comment by arsenerei · 2014-09-09 · in Use Emacs Org-mode Links for Absolutely Anything -
…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]…
comment by dkersten · 2014-05-09 · in Your templating engine sucks and everything you've ever written is spaghetti code -
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.
comment by pwr · 2014-05-05 · in The Case for React.js and ClojureScript -
…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 -
…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/
comment by juliangamble · 2013-03-27 · in Show HN: I'm writing a leanpub book about Common Lisp web programming -
…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 -
…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…
comment by adambard · 2012-12-06 · in Welcome PyT. Python DSL for fast (X)HTML generation -
…gas. [1] https://github.com/weavejester/hiccup [2] https://github.com/mauricemach/coffeekup [3] https://github.com/cgrand/enlive
comment by michaelsbradley · 2012-10-03 · in The Lesser Known Contributors Who Are Trying To Make PHP Good Again -
…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…
comment by lrenn · 2012-08-21 · in The genius of Enlive as a template system -
I prefer Enlive: https://github.com/cgrand/enlive
comment by tensor · 2012-06-22 · in Clojure-powered Startups -
…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 -
…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/
comment by spacemanaki · 2012-05-29 · in Our experience using Clojure to speed up Beanstalk -
…- * 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? -
…[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 -
▲ 1
Enlive Table and Layout Tutorialstory by markokocic · 2011-07-18 · 0 comments
-
…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 -
…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]…
comment by brehaut · 2011-04-10 · in Ask HN: Snap v Nitrogen v Lift v Compojure -
The Enlive system (for Clojure, see https://github.com/cgrand/enlive ) does something very similar.
comment by gcv · 2011-02-19 · in Simplify templating with node.js, jsdom 0.2.0 and weld -
…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
comment by JoshCole · 2011-01-22 · in Scraping made easy with jQuery and SelectorGadget (and Node.js!) -
…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…
comment by KirinDave · 2010-11-17 · in Utterly sensible HTML templating in Common Lisp -
…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 -
…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]:…
comment by brehaut · 2010-10-20 · in Ask HN: Whats the best way to start web development on lisp? -
…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…
comment by KirinDave · 2010-07-24 · in Developing and Deploying a Simple Clojure Web Application -
…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 -
…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 -
…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