ClojureScript #TechLunch

ClojureScript #TechLunch

2012/03/21(水) @ Livesense TechLunch
発表者:佐藤 洋輔

E60aa4f80303f3f386898546ddb3686a?s=128

Livesense Inc.

April 23, 2014
Tweet

Transcript

  1. ClojureScript

  2. Table of Contents ClojureScriptͱ͸ Google Closure Library ؆୯ʂ։ൃ؀ڥߏங ࣍ճ༧ࠂ

  3. ClojureScriptͱ͸

  4. ҰݴͰ͍͏ͱ ͜ͷྨ

  5. ͋Δݴޠ͔ΒଞͷݴޠʢதؒݴޠͰͳ͍ʣʹม׵ ଞʹ΋MoonscriptͳͲ Clojure͔ΒJavascript΁

  6. ͳΜͰΘ͟Θ͟Clojure

  7. client/serverͰಉҰͷݴޠ Lisp଒͸ػցม׵ʹڧ͍((((((((((((^˜^)))))))))))))) Lispͷදݱྗʢίʔυʹσʔλʣ ͦ΋ͦ΋Javascript͸OO͔

  8. client/serverͰҰͭͷݴޠ ͱ͍͏ཧ૝

  9. ςϯϓϨʔτΤϯδϯ ͷͳ͍ੜ׆ Clojure͸ϓϩάϥϛϯάݴޠͰ͋Γɺಉ࣌ʹσʔλ هड़ݴޠ ͭ·Γ༰қʹHTMLͱͷ૬ޓม׵͕Մೳ client΋server΋ɺ͢΂ͯClojureͰॻ͚Δ Mustacheͩjadeͩͱ͔ɺerbͩhamlͩɺͱ೰Ήඞཁ͕ ͳ͍

  10. αʔόʔαΠυ https://github.com/weavejester/hiccup ΫϥΠΞϯταΠυ https://github.com/ibdknox/crate

  11. Web࣌୅ͷRPC σʔλهड़ͱ͍͏఺ʹ͓͍ͯɺJSON΋ஔ׵Մೳ XHRར༻࣌ʹɺHTTP΍JSONͱ͍ͬͨɺWebͬΆ ͍࣮૷Λ׬શʹӅṭ͢Δ͜ͱ͕Մೳ https://github.com/ibdknox/fetch

  12. Google Closure Library

  13. ͳͥґଘ͢Δͷ͔ ม׵ͷࡍͷແବͳهड़ Λࣗಈআڈʢfunction ωετetc.ʣ JavaϥΠΫͳϞδϡʔ ϧ؅ཧ ༏लͳϥΠϒϥϦ

  14. ࢖ͬͯΈͨ

  15. Google Closure Library΁ͷґଘ͕ ΋ͨΒ͢ฐ֐ http://nakkaya.com/2012/01/31/clojurescript-canvas-a- simple-breakout-implementation/ https://github.com/ibdknox/pinot

  16. Χϯλϯʂ։ൃ؀ڥߏங

  17. Leiningen Noir cljsbuild

  18. ࣍ճ༧ࠂ

  19. Emacs

  20. bye...