Rails (and in particular the RailsApi gem) makes prototyping and putting together a SOA like this easy and fast. Except for the API client, which I don't yet have a good solution (ie, what ActiveResource was supposed to solve).
Ask HN: Building a large webapp today - what language for the backend, and why?
21–30 of 64 posts
Re: Ask HN: Building a large webapp today - what language for the backend, and why?
#22For a 'large' webapp I would honestly go with Java. A good stack is Jetty for the http server, and Jersey/JAX-RS for the web framework. The JVM is unbeatable, and you will have an easy time onboarding people since everyone knows Java. It's not as 'hip' as Rails/Django but you will be very productive and you will have the benefit of the plethora of Java libraries out there that are performant and reliable. Not to ment…
Re: Ask HN: Building a large webapp today - what language for the backend, and why?
#23Just to put this out there -- since nobody has really mentioned it -- ruby (as a language) doesn't have the greatest performance. You can do some tricks with GC to speed it up (Ruby EE might be a faster option), but you're still looking at 50x slower than C (python is 40x, Java 7 is around 2x, Javascript on V8 -- Node-- is 4x). So if you're planning on doing a lot on the backend, you might want to consider breaking o…
Do you have any sources for these performance comparisons? It would be great to see actual speed benchmarks for these different languages.
Re: Ask HN: Building a large webapp today - what language for the backend, and why?
#24For a 'large' webapp I would honestly go with Java. A good stack is Jetty for the http server, and Jersey/JAX-RS for the web framework. The JVM is unbeatable, and you will have an easy time onboarding people since everyone knows Java. It's not as 'hip' as Rails/Django but you will be very productive and you will have the benefit of the plethora of Java libraries out there that are performant and reliable. Not to ment…
I would prefer ASP.NET MVC (thus C#) over the Java platform. The .NET stack is extremely powerful (much better than Java imho) and the ASP.NET MVC framework has a lot of the features that make RoR great (it's just must faster than Ruby).
Re: Ask HN: Building a large webapp today - what language for the backend, and why?
#25Earlier quoted context omitted.
I would prefer ASP.NET MVC (thus C#) over the Java platform. The .NET stack is extremely powerful (much better than Java imho) and the ASP.NET MVC framework has a lot of the features that make RoR great (it's just must faster than Ruby).
This is the first time in my life I've seen someone defend C# and .NET. I don't know that I've been looking very hard though.
Furthermore C# has the best IDE in the world (Visual Studio), it has a lot better performance than Ruby for instance, it has a sublime integration with web services/databases/etc., it has great documentation (MSDN)...
Re: Ask HN: Building a large webapp today - what language for the backend, and why?
#26* Groovy & Grails * Ruby & Rails * Python & Django
Re: Ask HN: Building a large webapp today - what language for the backend, and why?
#27Re: Ask HN: Building a large webapp today - what language for the backend, and why?
#28If you want to decrease development cost go with an ecosystem that most of your developers have mastered. Python, PHP, Ruby, Java, .NET, whatever. Pretty much all these languages have great frameworks these days to allow for faster development.
I personally go with Ruby because they were pretty much first on the scene with their gem ecosystem (which is massive), they have a lot of cool and smart developers in the community and it's overal a great experience. Easy to pick up too with all the resources that are out there.
But whatever you do don't force a language along with it's ecosystem that your developers don't like. Listen to the dev team and know that every language has great potential. I'd come back and ask what frameworks should I use to build a high performance site as quickly & efficiently as possible given I work with language X. Maybe the dev team is unaware of recent awesome frameworks in the language they know & love.
Re: Ask HN: Building a large webapp today - what language for the backend, and why?
#29Use what you know and like and just build the app. Scaling is a nice problem to have, but don't solve it until you have it.
Re: Ask HN: Building a large webapp today - what language for the backend, and why?
#30For a 'large' webapp I would honestly go with Java. A good stack is Jetty for the http server, and Jersey/JAX-RS for the web framework. The JVM is unbeatable, and you will have an easy time onboarding people since everyone knows Java. It's not as 'hip' as Rails/Django but you will be very productive and you will have the benefit of the plethora of Java libraries out there that are performant and reliable. Not to ment…
Jersey/JAX-RS are good, alternatively if I felt like taking a bit of risk I might give Play2 a try.
The Java/JVM ecosystem just has too many positives going for it (awesome VM, libraries, great community, huge developer pool) to really consider another stack for a 'large' web app.