Earlier quoted context omitted.
We're using Apache Wicket and are pretty happy with it.
Has Wicket changed to not require so much code? I wrote a handful of apps using Wicket 1.2, 1.3 and 1.4 before realizing I was writing thousands of lines of code to update UI models and backend models that shouldn't be taxing me so much. Used Play for a few projects, but don't like that 2.0 is more or less getting rewritten... don't like Spring... not sure what is left (JEE6 and JSF2? God I don't want to use JSF agai…
Why I'm Moving Away from the Play Framework
31–40 of 88 posts
Re: Why I'm Moving Away from the Play Framework
#32This confirms my bias against frameworks in general and in fact against reusing more code than necessary. And no, I would not write an encryption library myself or re-implement the HTTP protocol. But the disparity between what web frameworks actually do for me in any particular application and the amount of layers and dependencies they introduce boggles my mind. [Edit] If you use maven try mvn dependency:tree
Play is really not a large amount of code though and it's all in one source tree. It generally doesn't have a lot of "layers" compared to even something like Tomcat; the stack just doesn't get as deep. I've had an easy time digging in to the Play source code when needed. Just one experience fwiw. Sure, it's still a framework.
Re: Why I'm Moving Away from the Play Framework
#33Earlier quoted context omitted.
I'm speculating because I've never used play. But I have seen threads hung inside hashmap methods, eating 100% cpu when using a HashMap (which is not thread-safe) concurrently.
I'm not if sure the author understands concurrency. EDIT: Author of the blog post.
EDIT: I am also referring to the poster. I'm a fan of Play and echo many of the sentiments others are listing out.
Re: Why I'm Moving Away from the Play Framework
#34"They didn't take a patch on one occasion, and then we had a couple never-diagnosed bugs that we think could have been in the framework." Fair enough, but I wouldn't switch to an inferior framework over it.
If that shop is stuck with debugging into a method in HashMap, then they aren't qualified to evaluate whether or not it's in the framework. That said, the developer community needs to address the problem though education, if it's user error (most likely) or come up with enough manpower to be more active in support. After having seen their video, I have to say that the Play! framework folks seem very insightful in the…
Re: Why I'm Moving Away from the Play Framework
#35Earlier quoted context omitted.
I'm speculating because I've never used play. But I have seen threads hung inside hashmap methods, eating 100% cpu when using a HashMap (which is not thread-safe) concurrently.
I'm not if sure the author understands concurrency. EDIT: Author of the blog post.
Re: Why I'm Moving Away from the Play Framework
#36I'm curious as to specific code examples where the author is having problems. I'm thinking about using Play! or Lift for a pet web app using Scala. Does anyone have experience using either?
I can't speak to 2.x.
Re: Why I'm Moving Away from the Play Framework
#37I'm finding some things are a bit awkward, particularly around templates and routing. Also, the documentation while good is lacking in other parts.
Play is a very prescriptive framework but only on a couple of choices do I have an issue.
The first is about transactions. Each HTTP request is a transaction. Generally I'm fine with this but you need a way to override or control this (IMHO).
Second, I like the mixin approach with controllers (@With(...)). I wish there were something similar with models.
Third, and this is the biggest, it doesn't integrate with Maven, which is something I'm very tempted to fork it for. There's no reason it can't be a Maven plugin/archetype, use Maven for dependencies (directly, rather than tortuous syntax in dependencies.yml), etc. Some guy has an alpha version of something like this already when I last looked.
Fourth, while I don't necessarily mind that controllers are static (as a way of indicating they're stateless it seems), that's actually an issue for parallellizing tests.
Play 2.0 is moving even further away from this and using SBT, which I've never used but heard mixed things about.
I can't speak to many of the specifics of this post (eg I only use Play on Linux).
Whatever (valid) criticisms you can level against Play I'd still far and away prefer to use it over any other Java Web framework I have used or know about.
Re: Why I'm Moving Away from the Play Framework
#38Earlier quoted context omitted.
If that shop is stuck with debugging into a method in HashMap, then they aren't qualified to evaluate whether or not it's in the framework. That said, the developer community needs to address the problem though education, if it's user error (most likely) or come up with enough manpower to be more active in support. After having seen their video, I have to say that the Play! framework folks seem very insightful in the…
We use play in all our projects and hit some bugs as well. (Like different versions of classes being in jars and in code -> signature mismatch) It's a great project and no software is without bugs.
What makes or breaks great software is community and culture.
Re: Why I'm Moving Away from the Play Framework
#39I'm curious as to specific code examples where the author is having problems. I'm thinking about using Play! or Lift for a pet web app using Scala. Does anyone have experience using either?
I would not use Play 1.x for Scala applications; its non-blocking support is complete crap (and I was pretty displeased to hear, when I asked in their IRC channel, that it would never be in 1.x, oh and by the way to use 2.x you'll need to rewrite your app). I can't speak to 2.x.
Re: Why I'm Moving Away from the Play Framework
#40So what's the best alternative for a Java shop?
Depends what your doing... I have JEE6 template project which basically set up with everything configured. This can be nearly as productive as django.