I have a newbie question about developing interactive, dynamic web sites. Can someone explain concisely the differences between:
When would I prefer, say, the Google App Engine over Django, etc.? If I wanted to open a book store like Amazon, what would I choose to make the website? If I wanted to reimplement SO? What about a news site like nytimes?
Sorry I am throwing all these different technologies and frameworks together, but for me the uninitiated they all pretty much seem to be doing the same thing ...
Here's my attempt at your (very broad) question:
Grails is a Ruby-like framework to make developing multi-client web-based CRUD apps easier. It's based on Java, Groovy, Spring, and Hibernate.
Java servlets are HTTP listener classes that you deploy using Java EE servlet/JSP engines. Those engines almost invariably have HTTP servers built into them, so you can choose whether or not to deploy them on top of a web server like Apache or IIS. They'd be part of a framework like Grails, but you need to add a lot of other stuff besides servlets to create a dynamic, data-driven web app. That's why you can't swing a cat without hitting another Java web framework (e.g., Struts, Spring, Wicket, JSF, etc.) - there's a lot more to it than just servlets.
These are all similar in that they're different attempts to solve that same fundamental problem. You'd choose one based on your familiarity with the underlying language.
I wouldn't put Google App Engine in the same category. It feels more like Google's "host in the cloud" option than an alternative to Rails or Django. You can deploy Python apps that use Django on Google App Engine, so it's not an alternative in that sense.
It's a matter of taste what you choose although you compare apple with oranges:
Technically you can create any webapp with one of the technologies above, it would use one I'm familiar with. If you don't know any, just try to read some tutorials and Wikipedia articles on the ones above to choose your preferred and start using it - you'll get familiar with it very soon. Once you learned (and used) one of them thoroughly it won't be hard to use the other ones.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With