Book Image

Mastering play framework for scala

By : Shiti Saxena
Book Image

Mastering play framework for scala

By: Shiti Saxena

Overview of this book

Table of Contents (21 chapters)
Mastering Play Framework for Scala
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
1
Getting Started with Play
Index

Summary


In this chapter, we saw different ways of persisting application data in an application built using the Play Framework. In doing so, we have seen two contrasting approaches: one using a relational DB and the other using a NoSQL DB. To persist in a relational DB, we looked at how the Anorm module and the JDBC plugin work. To use a NoSQL database (MongoDB) for our application's backend, we used the Play plugin for ReactiveMongo. In addition to this, we saw how the Play Cache API can be used and how it works.

In the next chapter, we will be learning all about handling data streams in Play.