Book Image

Learning Play! Framework 2

By : Andy Petrella
Book Image

Learning Play! Framework 2

By: Andy Petrella

Overview of this book

<p>The Learning Play! Framework 2 has been created for web developers that are building web applications. The core idea is to focus on the HTTP features and to enable them through a simplification lens. Building a web application no longer requires a configuration phase, an environment setup, or a long development lifecycle - it's integrated!<br /><br />Learning Play! Framework 2 will enable any web developers to create amazing web applications taking advantage of the coolest features. It's the fastest way to dive into Play!, focusing on the capabilities by using them in a sample application. Although essentially Java based code, a Scala version is presented as well – giving an opportunity to see some Scala in action.<br /><br />After setting up the machine and learning some Scala, you will construct an application which builds from static to dynamic, before introducing a database. <br /><br />Then we'll focus on how data can be consumed and rendered in several ways. This will enable some real time communication through WebSocket and Server-Sent Event – on both server and client sides.</p> <p>The book will end with testing and deployment, which completes any web development project.</p>
Table of Contents (20 chapters)
Learning Play! Framework 2
Credits
About the Author
Acknowledgement
About the Reviewers
www.packtpub.com
Preface
Materials
Index

Summary


In this chapter we mostly talked about the tools to reach a Continuous Delivery process for our application management, using some tools running in the cloud. It was mainly divided into three parts; we started with Jenkins, the Continuous Integration tool, available on CloudBees. This phase checks that the application has the expected quality (statisfies all tests) independently of the host machine.

Then we saw how to use the Heroku platform to deploy a Play! Framework 2 application and took the opportunity to switch from an in-memory database to a production database—the PostgreSQL database provided by Heroku.

And finally, we introduced the Typesafe Console that will be the next killer tool for any Play! Framework 2 application, giving us a view of our application's health.

This chapter also ends the book for the pragmatic parts of Play! Framework 2.

The following chapters—appendices—will talk about where to go from here, for even more advanced use cases. Those use cases would have...