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

4

u/levand Apr 19 '16

Hey! Thanks for the post... I posted a response in your comments: http://yogthos.net/posts/2016-04-17-state-of-web-clj-dev.html#comment-2630883416

Hopefully it clarifies my motivations a bit.

1

u/yogthos Apr 19 '16

Yeah definitely. Luminus is fairly opinionated at this point, and it's probably closer to Rails in that regard. It basically says use this stack, it's all configured to work for you. However, if you want a different stack then you're on your own.

This works well for people who either don't have a strong opinion on what stack to use or would use a similar one anyways. However, it's far less useful for those who have different preferences for core components. For example, if you wanted to swap out Mount of Component, then it's going to be a lot of work.

The benefit of the template approach is that you can generate a rather straightforward skeleton project, and the user has full control over the project structure from that point on. The downside is that you can't add things after you've created your app automatically. If you want to add ClojureScript support or a database to an existing app, then you have to do it manually.

I certainly appreciate that Luminus isn't for everybody, and as I said before a new framework is very welcome. It's not some sort of a zero sum game after all. I think the approach you've described so far is interesting, and I'm looking forward to seeing it in action. :)