Live data from Hacker News

Ask HN: What are real Ruby on Rails alternatives in 2017?

news.ycombinator.com

41–50 of 59 posts

Re: Ask HN: What are real Ruby on Rails alternatives in 2017?

#41
Grails Framewok! http://grails.org

Built on top of Spring Boot.

Awesome performance, both in execution and development speed.

Convention over configuration. But it is still easy to access the rich Java libraries.

Comes with GORM, an ORM layer on top of Hibernate. Makes it work a lot more like Active Record with dynamic finders.

Groovy, very similar to Java. Metaprogramming, easier JDBC, execellent, makes it very easy to work with JSON. Groovy also has performance close to Java. Java and Groovy can access each other as they have similar byte code.

Very few breaking changes from release 0.4 to 3.3. You can expect that most of your code will work without needing a rewrite the next 10-20 years.

Superb HTTP parameter binding and validation with Command Objects.

It is a very mature framework and you have full access to Spring Framework.

Great community!

Re: Ask HN: What are real Ruby on Rails alternatives in 2017?

#42
post #21
post #12

I think the closest would be Java's Spring Boot: http://projects.spring.io/spring-boot/ I think it is easier to find resources to answer rails questions though. In addition, many of the languages you list are very young and their frameworks lack the maturity of something like Rails, Django, Spring, or Laravel. I think it's worth asking, why are you looking to switch? If rails is not a performance barrier for you, the…

Spring doesn’t seem as straightforward to me as I would hope. Play is similar, there is promise there but just too open ended.

Play is probably fine if you use Scala, the Java side is painful. I've worked with Play (Java version) for 3 years and we're moving to Spring Boot now, it's much simpler and stable (from a feature and framework perspective).

Re: Ask HN: What are real Ruby on Rails alternatives in 2017?

#45
post #22
post #5

Phoenix in Elixir seems to be really appreciated. The Play framework in Scala is also often mentioned as a very performant tool if latency/throughput/reliability is really what you are after.

I’m after productivity ala Rails. Nothing seems to come close for me yet.

That's generally the win you got with Rails. Seems that most people moving away from rails are chasing better performance for high scale sites. So if that's not you, rails is probably a good choice.

I'll have to take a closer look at this Phoenix stuff though

Re: Ask HN: What are real Ruby on Rails alternatives in 2017?

#47
post #24

Earlier quoted context omitted.

The funny thing I see on the springboot quickstart page: Absolutely no code generation and no requirement for XML configuration And the very next thing is a maven xml config.

It's not a requirement to use Maven, so their statement is correct even in this extended sense. There's Gradle after all.

Yes it’s just an ironic presentation.

Re: Ask HN: What are real Ruby on Rails alternatives in 2017?

#48

Play Framework - supports both Scala and Java. It was inspired by RoR to be a lightweight alternative to such legacy behemoths like Spring. It's a full featured web framework based on Akka, scalable out of the box. Combination of Play/Scala/Slick gives you compile time safety for database queries - very few alternatives can offer that. Also, strict types significantly reduces your test coverage which is not possible…

The comparison with Spring does not make any sense, because Play and Spring have different scope. Play is just a web layer, Spring is modular general purpose framework, compatible with different web layer implementations. If you want to compare "lightweight alternative to legacy behemoth", take the full feature stack (and mention all other additional libraries you'll need for Play to match the functionality). I doubt there will be significant difference.

Re: Ask HN: What are real Ruby on Rails alternatives in 2017?

#49

Friends don't let friends use frameworks http://www.catonmat.net/blog/frameworks-dont-make-sense/

fair enough, I'll take the downvote because it was a bit trolly.

But it's a serious point. Frameworks are not helpful in the long term.

Go has no commonly-accepted web framework because the idiomatic solution is to use the standard library and write just the code you need. Instead of importing a tonne of code (and assumptions about your project) that you don't need.

A framework will help you get something up quickly. But as the project continues it will get in your way, more and more. I've seen it so many times.

Re: Ask HN: What are real Ruby on Rails alternatives in 2017?

#50
post #22
post #5

Phoenix in Elixir seems to be really appreciated. The Play framework in Scala is also often mentioned as a very performant tool if latency/throughput/reliability is really what you are after.

I’m after productivity ala Rails. Nothing seems to come close for me yet.

Have you considered that you feel that Rails is very productive simply because you know it? What you perceive as intrinsic productivity is just you knowing the framework/tool very well.
Post reply on HN