I'm lead developer of a small French startup who's doing e-commerce mainly in boat maintenance.
I started using Play 2 years ago, at the time we were using Play 2.1.5, since then, we manage to update to 2.3.10, which already is a good jump ahead since we got more 250 java files and 250 scala files to handle.
My concern today is about Play framework stability in development environment, for medium project like this, and what I have observed during this 2 years but haven't really shared :
- Sometimes when compiling code I get a NullPointerException on a variable that has absolutely no reason to throw one, the only solution I have is to activator clear and then recompiling everything to go, this takes me at least 80 seconds more. It happens more often when I do huge refactoring operations on class names / routes.
- Binding errors on Form objects, that triggers error on form submitting, happens erratically and need a full recompilation to be corrected.- Errors messages / traces related to routes files compilation or scala template files are really hard to understand and it is required to go deep into the stack trace to have a bit of a clue to what the real problem is.- With a project including more than 500 files to compile, the compilation process becomes really heavy and slows down a lot the development process when I need to simply observe the result of what I am coding.
More generally, my observations is that I spend a lot of time, maybe 20% of my time recompiling everything because some cache / binding problem / obscure reason is blocking me in my work process, and often it really get on my nerves when I do the comparison to the simplicity and lightness of an interpreted language. I don't know if this is better in play recent versions, I understand that I'm working on a relatively old one. Moreover, maybe the problems I put forth aren't Play's concern directly or more a jvm problem or something else.What do you think ?
You're right I launch the application with my IDE, maybe I should change that.What do you mean by "since Play doesn't "need" activator", it does require it since 2.3 right ?
--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framewor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/3ab91896-ee6b-4de6-bc09-fb00026da49d%40googlegroups.com.
Activator is only really useful when you're getting started since it allows you to create new projects from templates. It's essentially an extension of what the old "play" executable did. Once your project is set up you just need to use SBT. We are actually looking to phase out activator soon and just allow starter templates to be downloaded from the web.
I would say to get the full dev experience you need sbt, especially since a lot of the functionality (dev reloading, routes compiler, twirl template engine, etc.) is implemented as SBT plugins. But if you don't need any of those things you could use the embedded Play with maven or gradle.On Fri, Jul 1, 2016 at 3:30 AM, Igmar Palsenberg <ig...@palsenberg.com> wrote:--You're right I launch the application with my IDE, maybe I should change that.What do you mean by "since Play doesn't "need" activator", it does require it since 2.3 right ?activator is basically just a sbt wrapper. It does "need" SBT, at least, if you're doing development like the way Play developers intended it (not embedding play).Igmar
You received this message because you are subscribed to the Google Groups "play-framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framewor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/3ab91896-ee6b-4de6-bc09-fb00026da49d%40googlegroups.com.----
You received this message because you are subscribed to the Google Groups "play-framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framewor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/CAA%3D11HzJEkUjgSoRya%2B3Au2geToVMc3Go-iBqv8QcXH9ebxySQ%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Play Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framework+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/d716f689-679f-4fb0-b69e-590d477e1de9%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framewor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/d716f689-679f-4fb0-b69e-590d477e1de9%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Play Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framework+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/6dbd8bf4-6a43-460a-8033-1a2068e4d2c9%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Play Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framework+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/bc4b7e39-48aa-4c6e-88d5-2a6ba6553979%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Play Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framework+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/1dc0b9e8-f940-48b6-9331-ae5b932be487%40googlegroups.com.
Mike
--
You received this message because you are subscribed to the Google Groups "Play Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framework+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/2fdf1dd6-1b7e-d37e-002f-9f413f253fd2%40gmail.com.
--
You received this message because you are subscribed to the Google Groups "Play Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framework+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/3f207bae-1a59-4edb-81af-b4dd83fadafc%40gmail.com.