News for hackers. Stuff that matters.
Re:Today's Email Incident by voidlogic on Tuesday March 19, 2013 @08:45PM (#5404775)
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....

Re:Today's Email Incident by sitharus on Tuesday March 19, 2013 @08:53PM (#5404814)
They 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.

Re:Today's Email Incident by shurcooL on Tuesday March 19, 2013 @08:47PM (#5404783)
What would be some potential alternatives?
Re:Today's Email Incident by voidlogic on Tuesday March 19, 2013 @08:56PM (#5404828)
To 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 :)
Re:Today's Email Incident by tptacek on Tuesday March 19, 2013 @09:38PM (#5405004)
Any 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!"

Re:Today's Email Incident by voidlogic on Tuesday March 19, 2013 @10:50PM (#5405301)
I 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.

Re:Today's Email Incident by tptacek on Wednesday March 20, 2013 @04:47PM (#5410167)
What's a good Golang ORM that you could use in a production app?
Re:Today's Email Incident by cmccabe on Tuesday March 19, 2013 @11:24PM (#5405421)
If 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.
Re:Today's Email Incident by objclxt on Wednesday March 20, 2013 @06:36AM (#5406441)
Yeah, 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!
Re:Today's Email Incident by cmccabe on Monday March 25, 2013 @12:44AM (#5435536)
Web years are a little bit like dog years. I feel like Revel will grow up fast.

For the record, I have written some Go, but not worked on Revel specifically.

Re:Today's Email Incident by kibibu on Tuesday March 19, 2013 @09:20PM (#5404931)
I'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.

Re:Today's Email Incident by sitharus on Tuesday March 19, 2013 @08:54PM (#5404821)
ASP.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.

Re:Today's Email Incident by manojlds on Wednesday March 20, 2013 @11:58AM (#5408051)
And don't forget the Web API http://www.asp.net/web-api
Re:Today's Email Incident by gnuvince on Tuesday March 19, 2013 @09:44PM (#5405037)
Re:Today's Email Incident by eranation on Tuesday March 19, 2013 @08:53PM (#5404813)
Play framework, Grails, Node, Django, Revel...
Re:Today's Email Incident by cgh on Tuesday March 19, 2013 @09:14PM (#5404912)
While 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.

Re:Today's Email Incident by Siecje on Tuesday March 19, 2013 @08:50PM (#5404804)
Django?
Re:Today's Email Incident by Freaky on Wednesday March 20, 2013 @12:06PM (#5408113)
Sinatra and Padrino are some of the more common Ruby alternatives, especially for smaller sites.
Re:Today's Email Incident by ahmadss on Tuesday March 19, 2013 @09:47PM (#5405051)
google app engine (based on python)
Re:Today's Email Incident by draegtun on Wednesday March 20, 2013 @03:35PM (#5409634)
Mojolicious - http://mojolicio.us
Re:Today's Email Incident by throwawayG9 on Tuesday March 19, 2013 @10:17PM (#5405182)
Symfony2