Live data from Hacker News

Play framework 2.10 released

playframework.com

21–30 of 76 posts

Re: Play framework 2.10 released

#23

Why did they decide to use static methods for the controllers?

Stated by Guillaume Bort here[1]

Play uses static methods only when it makes sense: - in the controller layer, because controllers are not object oriented. Controllers act as mapper between the HTTP world (that is stateless, and request/response based) and the Model layer that is fully object oriented.

[1]: http://stackoverflow.com/questions/5192904/play-framework-us...

Re: Play framework 2.10 released

#24
a question (not about the framework, but about the linked webpage) - this awesome effect where i scroll down and the pictures (next to the "Developer friendly" headline) "fold up", is there an animation-lib that does this? how is it called? it's awesome, i want it.

Re: Play framework 2.10 released

#25
Speaking strictly about the website redesign, I think that (although nice) it fails to communicate the framework biggest selling points. Some comments on that:

* The code-save-refresh workflow: this is mentioned briefly as "hit refresh workflow" which is confusing to say the least.

* Some other weird or 'meh' bullet points like type-safety (you're using either scala or java so you take that for granted) or stateless-web-tier.

* The introduction video is long. It's fine as a tutorial, but being the first thing you can click on I expect you to sell me the framework in 2-3 minutes or so (it can be done, play is fantastic).

Disclaimer: I love play and used it a lot last year. In fact I was part of the team that put the first play application into production on LinkedIn (featured in the bottom of the play site).

Re: Play framework 2.10 released

#27

Things are moving fast... I am still on 1.2.X for my applications as I fear the migration models, controllers and especially of Groovy templates to Scala templates. Especially the increased compilation times when I hit reload are a turn of.

Yeah - Play 1.2.5 is still pretty awesome, too. It's still my go to (Java) platform for mocking up sites quickly, especially for APIs.

Play 2.1 seemed a bit slower to develop on. At least for me, it was definitely not as quick to get something up and running ASAP. Will need to check out 2.10 soon.

Re: Play framework 2.10 released

#28
post #12

Does anyone know a good Django/Play comparison or Rails/Play comparison? Or a tutorial along the lines of "Play for Rails developers" or "Play for Django developers"? I'm learning Scala and I want to play with it for webdev, but I know how much "hidden effort" is in learning any framework so i's really love something like this...

It borrows a lot of concepts from rails. I think that no "conversion" tutorial is needed, if you give it a shot it won't be long until you find yourself at home again.

Re: Play framework 2.10 released

#29

Speaking strictly about the website redesign, I think that (although nice) it fails to communicate the framework biggest selling points. Some comments on that: * The code-save-refresh workflow: this is mentioned briefly as "hit refresh workflow" which is confusing to say the least. * Some other weird or 'meh' bullet points like type-safety (you're using either scala or java so you take that for granted) or stateless-…

> * Some other weird or 'meh' bullet points like type-safety (you're using either scala or java so you take that for granted) or stateless-web-tier.

I think type-safety is mentioned because unlike Play 1.x, almost everything is type-safe in 2.x, such as templates and route definitions.

Post reply on HN