Re:Ask HN: Any web startups using Java?
by swah on Tuesday November 23, 2010 @07:22AM
(#1933464)
(str "There is" "an easier route")
[ Parent
| on HN ]
Re:Ask HN: Any web startups using Java?
by jstirrell on Tuesday November 23, 2010 @10:28AM
(#1933963)
Sort of. I absolutely love Clojure myself and use it anytime I have the slightest excuse to, but I really feel one of its major shortcomings is the lack of a good templating library.
Hiccup is really clean and concise, but it's just not a practical real-world way to handle presentation of a website unless you want everyone writing html to know Clojure.
Enlive and Fleet are other options and I've briefly explored both at certain points, but I personally just found them both unwieldy and unnatural, with other disadvantages as well. I'm sure they suit the needs of some people but I dismissed them before I got past the minimal learning curve.
The same goes for StringTemplate. It seems really cool and everything, but I just don't want to have to learn (and use half the time) a whole new different syntax just to stick dynamic strings in a page.
PHP just makes it so damn easy that it's hard for me to pass up when it comes to churning out webpages.