In this blog We have created Classic CRUD application using Play 2.4.x , Scala and RethinkDB. Where Scala meets Object-Oriented things in Functional way, Play is a High Velocity Web Framework For Java & Scala and RethinkDB is the open-source, scalable database that makes building realtime apps dramatically easier.

Now start Building Reactive Play application with RethinkDB. So here we will try to demonstrates the CRUD functionality of RethinkDB by below details:

Integrating with a CSS framework (Twitter Bootstrap). Twitter Bootstrap requires a different form layout to the default one that the Play form helper generates, so this application also provides an example of integrating a custom form input constructor.

Used Bootswatch with Twitter Bootstrap to improve the look and feel of the application

This CRUD app available on Typesafe Activator. So, If you have Typesafe Activator, use its command line mode to create a new project from this template.

$ activator new PROJECTNAME play-rethinkdb

or

$ git clone git@github.com:rklick-solutions/play-rethinkdb.git

RethinkDB Dependency

The rethinkdb-driver is distributed using Maven Central so it can be easily added as a library dependency in your Play Application’s SBT build scripts, as follows:

References

This is the start of using RethinkDB with Play, from next week onwards we would be working on this application to make it grow. We would look at how we can add more functionality into it , then we would be adding more modules to it together. If you have any changes then feel free to send in pull requests and we would do the merges 🙂 Stay tuned.