This is the live coding site for the Clojure Minnesota 5/2 meeting to better understand Persona (BrowserID) and Clojure / Clojurescript (with Noir).
Mozilla Persona (BrowserID) aims to be a better, more usable and more privacy-conscious implementation of OpenID.
Clojurescript, event handling and relevant client server integration with Clojure.
- Setting up with Clojurescript with the Clojurescript quick start
- DOM manipulation uses the excellent Clojurescript JQuery wrapper library known as Jayq library
- Document markup is handled (mostly) by a client side Hiccup implementation called Crate library
- Ajax/Ahah XHR client-server integration is implemented using the Clojurescript Fetch library
- Using Clojurescript with Noir
Finally, Noir is Chris Granger's web development library which uses Ring and Compojure.
To try it out yourself, clone this and run:
lein clean, deps, compile, cljsbuild once, run
And visit:
Clicking on the sign-in image should do the dance with login.persona.org. Once you sign in, refreshing the page should detect an authenticated sign-in. It could use polish, which I might do in the next few days.
- tmarble
- nickbauman
- bmaddy
- others from Clojure.MN who haven't updated this file
Jenkins is is running at Informatique, Inc. and rebuilding on every commit.
The live version of this code is pushed automatically to:
NOTE: the site might be down while a commit is being published
Copyright (C) 2012 Tom Marble and contributors from Clojure MN
This project is licensed under the Eclipse Public License, the same as Clojure.