Client side tools for Clojure web app (back end questions as well, especially Pedestal)

197 views
Skip to first unread message

Jonathon McKitrick

unread,
May 20, 2014, 4:03:27 PM5/20/14
to clo...@googlegroups.com
I'm starting on a new Clojure app, and have been really intrigued by Pedestal.  But it seems to present a new conceptual model to get my head around.  I'm not sure the benefits would be worth the effort for apps that do not fit the problem Pedestal is trying to solve.

That said, I'm open to anything.  I would really like something that makes the mundane CRUD tasks easier, and a responsive front end with data binding and DOM manipulation.

I'm strongly leaning toward AngularJS, but I'm not sure if I should learn the native version, or the ClojureScript, or a different ClojureScript specific framework/library altogether.

Gary Trakhman

unread,
May 20, 2014, 4:25:20 PM5/20/14
to clo...@googlegroups.com
Om/Reagent are wrappers over React.js with slightly different approaches, and are the bees-knees.

The React.JS rendering approach is a great idea in general, and a great fit for Clojurescript, and discussed elsewhere:

I've tried to get something going with both Om and angular, once you get over the upfront costs, Om is a much more pleasant experience.




--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@googlegroups.com
Note that posts from new members are moderated - please be patient with your first post.
To unsubscribe from this group, send email to
clojure+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups "Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Brendan Younger

unread,
May 20, 2014, 7:51:01 PM5/20/14
to clo...@googlegroups.com
I second Gary's suggestion of Om/Reagent.  I've used Reagent on some personal projects and really like how easy it is to incorporate to the point where I just don't worry about DOM updates any more, only app logic, data storage and transmission.  It's also a bit less opinionated on how you should structure your application's data than Om is.  Neither library helps with client/server communication or building APIs on the server side.

Another framework very much in the same vein is Hoplon which aims to cover most of the same bases as Pedestal, but I'd say is a bit easier to pick up and get started with.

Brendan

Ahmad Hammad

unread,
Jul 8, 2014, 3:37:58 PM7/8/14
to clo...@googlegroups.com
Brendan, could you please elaborate on how you handled client/server communication with a project using Reagent/Om?

Jonathon McKitrick

unread,
Jul 9, 2014, 8:01:26 AM7/9/14
to clo...@googlegroups.com
My new project is coming along nicely already.  I'm currently using XHR calls to populate atoms on the client side, which are then automatically rendered into the DOM via Reagent components.  It's wonderful, so far.


--
Jonathon McKitrick


On Tue, Jul 8, 2014 at 3:37 PM, Ahmad Hammad <a.f.h...@gmail.com> wrote:
Brendan, could you please elaborate on how you handled client/server communication with a project using Reagent/Om?

--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@googlegroups.com
Note that posts from new members are moderated - please be patient with your first post.
To unsubscribe from this group, send email to
clojure+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to a topic in the Google Groups "Clojure" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/clojure/dhQW_uE7pDY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to clojure+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages