News for hackers. Stuff that matters.
Re:Ask HN: How do I get started making a web app? by mindcrime on Thursday June 02, 2011 @07:03PM (#2614380)
If you already know Java, but you want something that enables rapid development, and uses a more dynamic language, I have just the ticket for ya:

Groovy on Grails[1]

Download and install grails, and you can have your first webapp up and running in a couple of minutes. The Groovy[2] syntax will be pretty familiar to you from Java, but it has dynamic features that Java lacks. Grails also has plugins for tons of popular libraries and extensions, which make adding functionality to your app pretty seamless for many scenarios.

There's a lot of great "getting started" info here:

http://www.grails.org/Tutorials

and the "quick start" guide here:

http://grails.org/Quick+Start

Of course Grails is for the server side... you'll probably still want to bone up on your javascript skills, including possibly something like JQuery. I haven't used backbone.js, but have heard good things about it... might be a cool thing to learn as well; looks like it would be useful for building more advanced client-side javascript stuff.

[1]: http://www.grails.org

[2]: http://groovy.codehaus.org/

Re:Ask HN: How do I get started making a web app? by solipsist on Thursday June 02, 2011 @07:09PM (#2614401)
Thanks! This was a very helpful comment.

You mentioned a good point about JavaScript. By sticking with Java, it'll be easier for me to get started and yet I will still learn a ton on the client side with new things like JQuery.

However, I read that the Play framework might be better than Groovy on Grails[1]. Have you heard of it and, if so, what do you think about it?

[1] - http://stackoverflow.com/questions/1597086/any-experience-wi...

Re:Ask HN: How do I get started making a web app? by mindcrime on Thursday June 02, 2011 @09:59PM (#2614863)
Just keep in mind that Java and Javascript are two totally different things, and have very little in common. The naming thing is just a historical legacy of some branding / marketing strategy that Netscape jumped on back in the '90s.

As for Play Framework... yep, I've heard of it, but I haven't used it. Everything I've heard has been favorable, but by the time I got wind of it, I'd put a lot of time into Grails and am using it pretty heavily now. And if I were to switch away to something else now, I'd look hard at Lift or something else using Scala. But Scala would probably have a steeper learning curve for you, which is why I didn't mention it before. With Groovy, the syntax is mostly a superset of Java, so it's very easy to start writing Groovy as just "java files renamed to .groovy" then introduce the Groovy stylings and idioms as you learn.

But anyway, yeah, spending some time playing (no pun intended) around with Play and evaluating it, probably wouldn't be a bad idea either. :-)