Ask HN: For new web developer, Java Spring, Ruby on Rails, or something else?
So I wanted to finally take action on some of my ideas and build the website for one of them. I decided to use Heroku since I've heard great things about it. I like how it handles all of the server management and allows me to just code. Being an experienced Java guy, I decided to build from their Spring sample app. Unfortunately, this was pretty tricky. Having never used Spring, I started searching online for tutorials. Most of them are either outdated or are too confusing. Despite that, I was able to hack up a little something, but at this point, I'm not sure if I should keep going with Spring. I know some Ruby, and can definitely brush up on it if Rails is the way to go, but I've heard many people complain about performance and scalability on Rails.
So my question is this: Should I continue with Spring, or switch to RoR or some other web framework?
11 comments
[ 4.2 ms ] story [ 31.9 ms ] threadI tried Django and quite a few Java frameworks but ultimately settled on using node.js because I found it to be the lowest point of entry by far.
http://tapestry.1045711.n5.nabble.com/Retreieving-specific-b...
Having said all this, I worked professionally with Spring and I do personal stuff with Rails, and Rails is a lot more fun.
If you want to stay a little closer to Java, you might want to check out Grails:
If you're actually just writing a website, not a web app (however that distinction is made these days), something like Ruby and Sinatra might be a better fit: And if you want something completely different, you might have a look at web2py (on Heroku you would have to deploy that as a python wsgi app).And while I think Heroku looks fantastic, I'm personally leaning towards http://appfog.com/ for the projects I plan to be toying with "in the cloud" -- I feel their pricing model (especially their "free" tier) makes more sense. But you should of course choose what is a good fit for your needs.
Instead, you might consider a of Java-rooted option:
The play framework is pretty slick (http://www.playframework.org). The APIs are fairly light and easy to pick up, and the templating system is rather powerful. The documentation is solid, and it's not like you'll need to spend hours in tutorials to get started Play does both Java and Scala, and works fine with either. I'd actually recommend you stick to Play 1.x, as the 2.x docs and stuff aren't as mature and are much more targeted to Scala developers.
Oh, and heroku loves play. https://devcenter.heroku.com/articles/play