Your SlideShare is downloading. ×
Clojure Template Languages
Clojure Template Languages
Clojure Template Languages
Clojure Template Languages
Clojure Template Languages
Clojure Template Languages
Clojure Template Languages
Clojure Template Languages
Clojure Template Languages
Clojure Template Languages
Clojure Template Languages
Clojure Template Languages
Clojure Template Languages
Clojure Template Languages
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Clojure Template Languages

502

Published on

A talk given at ClojureFinland meetup. …

A talk given at ClojureFinland meetup.

GitHub: https://github.com/propan/crock-of-gold
Demo App: http://crock-of-gold.herokuapp.com

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
502
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. CLOJURE TEMPLATE LANGUAGES SEEKING THE HOLY GRAIL
  • 2. WHAT WAS I LOOKING FOR? easy to use clear and consise supports "inheritance" not abandoned
  • 3. THE CANDIDATES hiccup enlive selmer clj-jade
  • 4. HICCUP (syu-plcto.iw n orapiainves (rqie[icppg :ee [tl]) :eur hcu.ae rfr hm5]) (tl [dv{cas"otie" hm5 :i :ls cnanr} [h "icp] :1 Hcu" [p(t "icpi albayfrrpeetn HM " : sr Hcu s irr o ersnig TL "nCoue I ue vcost rpeet" i ljr. t ss etr o ersn "lmns admp t rpeeta " eeet, n as o ersn n "lmn' atiue.)] eeets trbts"])
  • 5. HICCUP it's clojure functions + macros + paredit not easy to share with designers perfect for a one-man band
  • 6. ENLIVE (syu-plcto.iw n orapiainves (rqie[e.gadelv-tl:ee [etmlt]) :eur ntcrn.niehm rfr dfepae]) (etmlt m-ae"epae/aothm" dfepae ypg tmltslyu.tl [ ] [h](/otn "nie) :1 hcnet Elv" [p (/otn (t "niei aslco-ae tmltn " :] hcnet sr Elv s eetrbsd epaig "irr frCoue") lbay o ljr.))
  • 7. ENLIVE mostly clojure deftemplate and defsnippet should be easy to work with designers makes you think
  • 8. SELMER { etns"aothm"% % xed lyu.tl } { boktte% % lc il } Sle emr { edlc % % nbok } { bokcnet% % lc otn } <1Sle<h> h>emr/1 <> fs,Dag isie tmlt sse frCoue<p pA at jno nprd epae ytm o ljr./> { edlc % % nbok }
  • 9. SELMER extends and include almost Django actively developed
  • 10. CLJ-JADE etnslyu xed aot boktte lc il |cjjd l-ae bokcnet lc otn h cjjd 1 l-ae p |Ati wapraon jd4 t pooe hn rpe rud aej o rmt |uewt teCouecmuiy s ih h ljr omnt.
  • 11. CLJ-JADE extends, include and mixins really clean indentation clj-jade > jade4j > JEXL
  • 12. * QUANTITATIVE METRICS hiccup enlive selmer clj-jade files 1 5 6 5 * - numbers can lie lines 115 196 170 128
  • 13. TRY IT YOURSELF SOURCE CODE ON GITHUB LIVE DEMO
  • 14. THE END PAVEL PROKOPENKO / GITHUB.COM/PROPAN

×