Reading Time: < 1 minute
Building Reactive Play application with Slick extensions for PostgreSQL
This is a classic CRUD application, backed by a PostgreSQL database. It demonstrates:
- Handling asynchronous results, Handling time-outs
- Achieving, Futures to use more idiomatic error handling.
- Accessing a JDBC database, using Slick.
- Achieving, table pagination and sorting functionality.
- Embedded JS & CSS libraries with WebJars.
- Play and Scala-based template engine implementation
- Integrating with a CSS framework (Twitter Bootstrap 3.1.1). 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.
- Bootswatch-Yeti with Twitter Bootstrap 3.1.1 to improve the look and feel of the application
- Install PostgreSQL, if you do not have it already. You can get it from here
- Create a database called
- To run the Play Framework, you need JDK 6 or later
- Install Typesafe Activator if you do not have it already. You can get it from here
./activator clean compileto build the product
./activator runto execute the product
- playing-slick-pg should now be accessible at localhost:9000
- Play Framework
- Slick Plugin for Play
- Slick – Functional Relational Mapping for Scala
- Slick extensions for PostgreSQL
- Bootstrap 3.1.1
4 thoughts on “Play-Slick-PostgreSQL: Reactive Play application with Slick extensions for PostgreSQL1 min read”
Reblogged this on himanshu2014.
Reblogged this on Play!ng with Scala.
Why you call this example reactive?
Comments are closed.