Noir

But it lives on as the library lib-noir , which is used very nicely with Compojure Get Started Tutorials Google Group API Src ( ns my-app ( :require [ noir.server :as server ] [ noir.core :refer [ defpage defpartial ]])) ( defpage "/welcome" [] "Welcome to Noir!" ) ( server/start 8080 ) Noir is a micro-framework that allows you to rapidly develop websites in Clojure . And it couldn't be any simpler . lein new noir my-website cd my-website lein run Make sure you have leiningen installed, that way we can use the Noir template. You do not have to download anything special to use it, just run the command and leiningen will automatically fetch whatever you need! Three commands later, you've got a working website! Now let's make it do something. Noir uses Hiccup to generate HTML. Hiccup re...

Linked on 2015-03-29 09:44:10 | Similar Links