Clojure responsive web frameworks

I recently inherited an unfinished web application written in Clojure, mainly based on compojure and hiccup. This is a bad attempt to simulate some kind of MVC with a non-FP OO style, as shown here . Therefore, I bet to re-launch the project from scratch, reusing useful parts. I am considering these alternatives:

The least damaging alternative would be Compojure + Enlive + jquery-pjax

Using a clojure web framework like Pedestal Any impressions about this?

The initial idea was to implement a RESTful API serving JSON, so for a more complex solution, I have Backbone + react.js in my mind for the front-end and Liberator for the external server, but it will most likely take more time to develop than a traditional server application.

Thoughts and alternatives, given that Ajax experience is required, thanks, thank you very much!

+7
clojure compojure pedestal enlive liberator
source share
1 answer

I'm not sure what the relationship between the RESTful API is and the responsiveness in your post. But...

You have several options here: Pedestal, Liberator and Caribou .
If all you need is a RESTful API, then I think Liberator is your best bet and you wonโ€™t spend more time as you mentioned. I donโ€™t know how you got that impression.

The pedestal shines if you want to develop applications with one page, but the structure as a whole requires a good time to understand and understand how it works.

Look also at the Caribou. It is easy to use and feels familiar.

But then again, this is your choice.

+5
source share

All Articles