Introduction to Clojure web development

3,077 views

Published on

check

http://techbehindtech.com/2011/01/19/introduction-to-clojure-web-development-using-ring-compojure-and-sandbar

for more detailed information and a walkthrough

Published in: Technology
  • Be the first to comment

Introduction to Clojure web development

  1. 1. clojure web development siva jagadeesan checkhttp://techbehindtech.com/2011/01/19/introduction-to-clojure-web-development-using-ring-compojure-and-sandbar for more detailed information.
  2. 2. check http://techbehindtech.com/2011/01/19/introduction-to-clojure-web-development- using-ring-compojure-and-sandbar for more detailed information and a walkthrough
  3. 3. about me• good looking• handsome• attractive• striking• gorgeous;• hunky,• drop-dead gorgeous Side Note : I work at Runa
  4. 4. web development ...
  5. 5. rails is so 2010
  6. 6. clojure is in ...
  7. 7. from http://www.glenstampoultzis.net/blog/clojure-web-infrastructure/
  8. 8. we are going to look at Ring Compojure
  9. 9. What is Ring?
  10. 10. What is compojure?
  11. 11. We are going to build a simple Address book application
  12. 12. Address Book - Functionalities• Add a address• View a address• Basic Authentication
  13. 13. classic mistake ofcoding in front of a group
  14. 14. Setting Up
  15. 15. Routes• not-found• files• usual suspects - GET, POST, PUT, DELETE, HEAD and ANY
  16. 16. Ring
  17. 17. Ring Components• Handlers• Middleware• Adapters
  18. 18. Ring Middleware
  19. 19. Sandbar• Session and flash as a global map• Authorization and authentication, including built-in support for form-based authentication• Forms and form validation
  20. 20. Session and Flash• session-get• session-put!• flash-get• flash-put!
  21. 21. Authentication
  22. 22. thank you!

×