Building a Clojure webservice in 10 minutes

Building a Clojure webservice in 10 minutes

In this presentation I show how easy it is to build a basic Clojure webservice backed by MongoDB.

3db71281264f6125e764d9f3788301e0?s=128

Josep M. Bach (Txus)

April 27, 2013
Tweet

Transcript

  1. BUILDING A CLOJURE WEBSERVICE IN 10 MINUTES

  2. TXUS

  3. TXUSTICE

  4. None
  5. BARCELONA / BERLIN

  6. CLOJURR? CLOSURE? CLOJEAR? ( )

  7. None
  8. None
  9. DYNAMIC INTERACTIVE ENVIRONMENT RUNTIME POLYMORPHISM CODE AS DATA MACRO SYSTEM

    ...LISP
  10. FUNCTIONAL (IMPURELY) FIRST-CLASS FUNCTIONS IMMUTABLE DATA STRUCTURES CONCURRENT PROGRAMMING

  11. JVM HOSTED ON THE EASY BIDIRECTIONAL INTEROP BUT ALSO AVAILABLE

    ON JAVASCRIPT, CLR, RUBINIUS... JVM TOOLING
  12. I AM SOLD NOW WHAT ( )

  13. LEININGEN $ brew install leiningen $ lein new myapp

  14. None
  15. COMPOJURE github.com/weavejester/compojure

  16. MONGER github.com/michaelklishin/monger

  17. WHERE IS MY DAMN WEBSERVICE ALREADY ( )

  18. THE MODEL

  19. THE SERVER

  20. THE GLUE $ lein run

  21. BOOM CLOJURED ( )

  22. THANKS ( ) txustice http://github.com/codegram/webservice-clj txus http://tiny.cc/clojure-webservice