What features does Pedestal have compared to other Clojure web frameworks?

noahlz picture noahlz · Mar 20, 2013 · Viewed 7.9k times · Source

Recently Relevance announced Pedestal, a new web framework for Clojure.

How does this framework compare to other Clojure web frameworks such as Compojure, Webjure, Conjure, Moustache and so on, in terms of features, ease of application development, developer tools, etc.

See Comparison of Clojure web frameworks

Answer

Mike Williams picture Mike Williams · Mar 26, 2013

My take on it is Pedestal is more about separation of concerns from an architectural perspective than it is a feature set:

  • Clojure on the server and client side (via ClojureScript) allows you to put code (and thus logic) where it makes the most sense
  • http requests are decoupled from a specific thread in the server with the interceptor abstraction
  • separates application logic from rendering concerns
  • rendering control for state changes in the app via data flow

Those things are big advantages over the life cycle of an app. Having said that, it is alpha level and subject to change and the control by data flow is a bit different, so like anything new there is a learning curve.

If you check out the documentation and listen to the podcast here it will clear up a lot. Hope that helps.