Hi Massimiliano,

Perhaps I'm a bit late to this thread but let me offer an opinion going in 
the opposite direction.

Basically, if the web development you have in mind fits squarely within the 
use case addressed by RoR or Django or something like that, then I expect 
you will find one of those frameworks is more productive than the Clojure 
web stack. The reason has nothing to do with FP vs OOP, or anything so 
grand. It's just that the Clojure web dev ecosystem doesn't offer the same 
depth of mature, ready-to-go components. I'm thinking of meat and potatoes 
things like administrative interfaces, user account management, user 
authentication systems, forgot-my-password workflows, etc.. Yes you can 
build what you need yourself. And, quite possibly, maybe you can build it 
from scratch in Clojure faster than in another language. But building it 
from scratch in Clojure will still be slower than downloading a widely-used 
framework in another language.

I expect this difference will be especially strong if you're working on 
relatively small projects with conventional requirements, since those are 
most likely to be handled by frameworks in other languages. As projects 
become larger and more customized, then Clojure becomes a better choice 
because of the strength of the language fundamentals.

All of this is not because Clojure is immature. It's just because it's not 
what most people are using the language for. I have the impression (I could 
be wrong) that more people use Clojure to build API endpoints, or to 
perform some kind of compute service behind an endpoint.

If you do want to go ahead with Clojure for web development, then there are 
a number of great projects that give good examples of the current state of 
things: luminusweb, caribou, pedestal, etc.. I also found that the books 
Clojure Programming and Web Development in Clojure both had good 
discussions of how to do it.

Anyway, this is the opinion I came to over the last couple months, diving 
into Clojure web development on a real project for the first time, after 
already being familiar with the language but new to its web stack. But I 
could be wrong. For instance, I've never used RoR seriously, so it may be 
I'm overestimating the quality of what you get "out of the box" doing it 
that way.

A

On Wednesday, December 25, 2013 1:06:20 PM UTC-8, Massimiliano Tomassoli 
wrote:
>
> Hi,
> I'm not sure if Clojure is the right language for me. I'd like to use 
> Clojure mainly for web development but I don't know if it's already mature 
> enough to be productive. For instance, Scala has Play, Groovy has Grails, 
> etc... If I'm not wrong, Clojure doesn't have a well-established framework 
> for web development. I'm intrigued by Clojure because I like functional 
> programming, but I need to be productive and, alas, I don't have time to 
> learn Clojure just for my pleasure.
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@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+unsubscr...@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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to