Im using play 2.0.1 to build my application. Also Im using Ebean for the backend layer and mysql as a database so far. Java as the language.
Question:
Isn't there a CRUD module (dynamic) or a crud creation module? I looked on the internet and it is very hard to find something regarding the new play framework 2.x.
According to this thread there is none ... [play-framework] [2.0] CRUD Administration .
But some of the answers are old. Maybe something is in the pipeline?
Thanks in advance.
There is no crud in play 2. Here are your options:
Sample Code.
The samples like "ZenTasks" for front end, "Computer Database" for backend, and "Forms" for form stuff contain example code that can be quickly manipulated. Not as nice as real crud but you take what you can get.
http://www.playframework.org/documentation/2.0/Samples
glitter8. Current recommendations from forums are to use glitter8. See this as an example of a play specific crud replacement https://github.com/k33g/play-java-lazy.g8
cato-crud-generator. I noticed this. Could check it out: http://alvinalexander.com/scala/crud-forms-play-framework-2-cato-crud-generator
I've implemented this simple CRUD library for Play2. You can extend generic DAO objects from the library, and pass them to generic CRUD or API (JSON) controllers. You only need to write the template code which is quite easy if you manipulate them from the examples. Also works quite well with Guice injectors.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With