News for hackers. Stuff that matters.
Re:Ask HN: In 2016, will Rails & Django be competitive again... by etchalon on Wednesday October 02, 2013 @09:32AM (#6482252)
Play doesn't belong in that list (it's really just a Java-version of the basic request/response cycle design that plagues Django and Rails, Scala or not).

Django is sadly hampered by two fairly complex problems. The first, is their insistence on backwards compatibility and stability. While it's becoming obvious that the basic design of Django creates serious problems when moving away from the request/response cycle, it's a very hard problem to fix if you can't fundamentally change core assumptions within the framework. Second, Python 3 (sans Tulip) just isn't up to snuff for asynchronous coding. Twisted is a mess, Tornado is far too simple.

The Rails team seems more willing to break with the past between releases, but its still hampered by Ruby's inherent performance disadvantages.

Ultimately, while none of these frameworks are disappearing any time soon, it'd be fair to say that many engineers, particularly those working at the edge of the industry, are choosing things like Node, or Go.

Re:Ask HN: In 2016, will Rails & Django be competitive again... by TylerE on Wednesday October 02, 2013 @10:15AM (#6482485)
How exactly do you write a web app that doesn't process requests and return a response?
Re:Ask HN: In 2016, will Rails & Django be competitive again... by etchalon on Wednesday October 02, 2013 @12:02PM (#6483251)
It's less that requests don't return a response than that a request and response is not assumed to be a clean transaction.
Re:Ask HN: In 2016, will Rails & Django be competitive again... by TylerE on Wednesday October 02, 2013 @12:26PM (#6483444)
That doesn't make any sense. Can you give some examples?
Re:Ask HN: In 2016, will Rails & Django be competitive again... by playing_colours on Wednesday October 02, 2013 @02:20PM (#6484225)
I cannot imagine web frameworks working beyond request/response. About Play - I believe it's trying to go further than Django/Rails. It is powered by Netty, Akka, has async response support, plus Scala FP features. There's also promising ReactiveMongo driver. All these put it at least half way closer to shiny async future. I worked with Node.js too and for me it's more pleasure to write async code in Scala.
Re:Ask HN: In 2016, will Rails & Django be competitive again... by UK-AL on Wednesday October 02, 2013 @10:27AM (#6482559)
Most the frameworks that abstracted request/response away, are now moving towards it. ASP.NET --> ASP.NET MVC for example.
Re:Ask HN: In 2016, will Rails & Django be competitive again... by etchalon on Wednesday October 02, 2013 @12:01PM (#6483236)
While my ASP.NET knowledge isn't deep (I've only ever modified existing code), it seemed like the request/response cycle wasn't abstracted away so much as HTTP was.
Re:Ask HN: In 2016, will Rails & Django be competitive again... by UK-AL on Wednesday October 02, 2013 @01:13PM (#6483772)
The whole the thing maintained state between views, so it was more like placing controls, on a view and then having events linked to controls. Rather than requesting, then responding with html.
Re:Ask HN: In 2016, will Rails & Django be competitive again... by japhyr on Wednesday October 02, 2013 @10:13AM (#6482475)
Do you have any perspective on how Flask fits into this?
Re:Ask HN: In 2016, will Rails & Django be competitive again... by etchalon on Wednesday October 02, 2013 @11:59AM (#6483221)
Flask suffers from the same basic problem, though slightly less so because it has fewer core principles that would break if the response/request cycle were removed or augmented by a consistent connection assumption.