poornerd

my thoughts on programming and other nerdy stuff

CRUD for Play! Framework 2

| 10 Comments

Update: yes, those are questions interspersed in the article… please answer in the comments!
crudOne of the main things I missed from Play 1.x is the CRUD Module. After reading posts on the forum about that one or more are in the works, I decided to check them out today.

I found a few projects – all which have key differences:

Am I missing any projects? Let me know in the comments…

Right now I like how easy it is to get fully automatic CRUD Screens using “play2-crud” from njin, but I wish that I was able to build on that more like in the CRUD Module from Play 1.x.

The other “play2-crud” from Hakan Dilek on the other hand has a good basis for writing your own CRUD screens and DAOs, but for a quick start it requires too much coding.

Which of these – from a generic perspective – is the best? Why? Let me know in the comments…

My wish list:

  • Parameterizeable (is that a word) Templates/Tags for the various screens (Search Form, List, Edit, View) which default to the standard view, but where you can specify which fields or columns to show.  These could be included in existing templates.
  • Bootstrap integration with the ability to use the projects Bootstrap / Theme for the automatic screens, as well as turn on/off Bootstrap.
  • Tools for “reverse database generation” of Beans (Ebeans, JPA, etc.)
  • Optional JSON interfaces, with Swagger
  • Optional Security with ?? and Deadbolt

What features do you want? Let me know in the comments…

Maybe it is time to join forces and work on CRUD module that many would find useful and use.

If you have read this far, you may as well follow me on Twitter:

Author: poornerd

Tech­nol­o­gist, Entre­pre­neur, Vision­ary, Pro­gram­mer :: Grad­u­ated from USC (Uni­ver­sity of South­ern Cal­i­for­nia) with a degree in Com­puter Sci­ence. After 10+ years of free­lance con­sult­ing and pro­gram­ming, he co-founded Site­Force AG eBusi­ness Solu­tions in 1999 in Munich (München), Ger­many.

10 Comments

  1. Just curious as to which crud module you recommend? Which one did you use in your screenshot?

  2. I’m starting this project: https://github.com/geckopeb/grator
    It’s a CRUD generator for play2/Scala/Slick

  3. I released admin tool for play 2.1 java.
    It’s kurad https://github.com/karad/kurad .
    you can use play console command of this plugin, so generate code for Admin panel.

    • Hello Karad:

      I have reviewed Kurad Plugin.

      I’m interested in using it but I have not achieved even one example.

      Do you have a more clear example of how to use the Plugin Kurad?
      You could provide me such an example?

      I work with Play 2.2.2 or Play 2.2.1 [Java]

      Thanks and waiting for your warm response.

      Regards,

      Planas.

  4. Hi Brian,

    I wanted to let you know, I’ve just commited the 0.7.0 release of my play2-crud module and now it does not require much of a coding for a quick start now. Doing, scaffolding and routing as it’s supposed to be. You can check out the quick start documentation and screenshots at:

    https://github.com/hakandilek/play2-crud#quick-start

    -Hakan

  5. I believe Cato (http://www.catocrudgenerator.com/) is worth mentioning. It’s pretty basic, requires some manual clean up, but it works.

Leave a Reply

Required fields are marked *.