r/Clojure • • Apr 17 '16

The State of Clojure Web Development

http://yogthos.net/posts/2016-04-17-state-of-web-clj-dev.html
74 Upvotes

51 comments sorted by

View all comments

7

u/adambard Apr 18 '16

Routing, templating, "views" in general, serving the app, are all IMO solved to death in Clojure. Those are the relatively easy problems, and there's never a shortage of people offering solutions to easy problems. Lifting data access to an abstraction (and ease-of-use) tier higher than SQL (with manually-written SQL migrations) would be a massive gain for Clojure web dev, usable and useful in all manner of applications.

For my part, if Luke can create a comprehensive database integration to compete with the stories from Django and Rails -- migrations, easy data access (with ORM ease-of-use, if not ORM design), etc. -- I think that would be the ideal starting point for this. The closest we've come is Korma, which helps not-at-all with migrations and for all it's fancifulness is still an SQL DSL, not a higher-level abstraction.

5

u/levand Apr 19 '16

Yep. I've put a ton of thought into data abstractions. Stay tuned.

1

u/[deleted] Apr 20 '16

I would love to see something that allows us to place restrictions on the set of data a particular request has access to in a central place. After working with templated queries a good bit such as yesql, it's just too dangerous to try to implement restrictions on every single query, I don't trust myself.

Also maybe a common data structure similar to ring that represents sql queries, on top of which libs can do syntax.

1

u/moljac024 Apr 18 '16

Hey, look - Korma author is Chris Granger, of light table fame