4 ms·
When I read the blog, the first thing I thought was "boy am I glad I don't use rails". I realize all frameworks and toolkits have issues, but Rails seems to be
by voidlogic 14y ago
When I read the blog, the first thing I thought was "boy am I glad I don't use rails". I realize all frameworks and toolkits have issues, but Rails seems to be particularly bad.
I think the big take away here is the importance of apparently redundant sanity checks....
- shurcooL 14y agoWhat would be some potential alternatives?
- Siecje 14y agoDjango?
- eranation 14y agoPlay framework, Grails, Node, Django, Revel...
- sitharus 14y agoASP.NET MVC works pretty well these days. It's open-ish source as well, as in you don't need to pay to deploy it on Mono. I've used it with NHibernate for the ORM and Postgres.
- manojlds 14y agoAnd don't forget the Web API http://www.asp.net/web-api http://www.asp.net/web-api
- voidlogic 14y agoTo rails? Thousands- so much depends on what exactly you need. Python? Django, Tornado, Twisted, etc Go? "net/http" + Gorilla (http://www.gorillatoolkit.org/) Java? JSF 2.0, GWT, Spring, Tapestry, etc etc C#? ASP.NET MVC This list could be almost infinite... or at least could be discussed infinity :)
- kibibu 14y agoI've started a side-project using Go + Gorilla. It's actually very nice, but I don't think it's quite as productive for the early-stage as Rails is. I can certainly recommend Django - I've been working with a large-ish Django codebase for 3 years and have yet to see a security vulnerability as bad as the ones Rails seems to have every month.
- tptacek 14y agoAny suggestion that implies Golang + Gorilla is comparable to Rails is poorly informed (and I really like Golang). "You know what you could do instead of using Rails? Implement your own ad-hoc version of 60% of Rails!"
- voidlogic 14y agoI don't think that is fair; I did say "so much depends on what exactly you need." Maybe you don't need to whole kitchen sink. Also its not as though there are not other Go libraries to get other functionality from such as DB/ORM functionality.
- tptacek 14y agoWhat's a good Golang ORM that you could use in a production app?
- cmccabe 14y agoIf people want something like Rails in Golang, it probably makes more sense to point them at Revel. Gorilla is more like Sinatra, for better or for worse.
- objclxt 14y agoYeah, I don't think Gorilla or Revel are quite mature or stable enough at this point to consider as a Rails replacement. And I'm speaking as a (extremely minor) Revel contributor - it's still very young, early adopters only!
- cgh 14y agoWhile fully realising that the language itself is pretty terrible, Java + Spring + JavaMail is a pretty good framework and as a bonus involves minimal XML these days. I'm sure one of the alternative JVM languages would make this setup tolerable to work with, even pleasurable, but I don't know them.
- gnuvince 14y agoOCaml [1] [1] https://news.ycombinator.com/item?id=2235204 https://news.ycombinator.com/item?id=2235204
- ahmadss 14y agogoogle app engine (based on python)
- throwawayG9 14y agoSymfony2
- Freaky 14y agoSinatra and Padrino are some of the more common Ruby alternatives, especially for smaller sites.
- draegtun 14y agoMojolicious - http://mojolicio.us http://mojolicio.us
- sitharus 14y agoThey all have issues - sure - but I've never encountered one so likely to break so spectacularly. Then again, it feels like ActiveRecord is a more complex beast than most others I've used. I've mostly used Hibernate and NHibernate, and SQLAlchemy a few years ago.