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

Appendix C. Materials

In this book we've written a lot of code, incrementally building a full application called chatrum .

A reference implementation exists for all chapters, both in Java and Scala, and they are available on GitHub at https://github.com/andypetrella/play2-book-chapters.

To use this project, it would be best to fork it. For that, you will need a GitHub account; then, when logged in and on the project page, use the dedicated button named Fork on the upper-right-hand corner of the page.

This forked project will allow you to adapt, fix, or do whatever you want with it (which I really recommend to you!).

If you find some bugs and manage to fix them, I'll be grateful if you create a pull request on GitHub. This way I'll be able to integrate it and create the errata for the book.

The content of this project is quite simple, since it contains one folder for every chapter. In each folder, there are two folders named play-jbook and play-sbook . These folders are regular Play! 2 applications built on Java and Scala respectively.

I hope you'll enjoy using them and also enjoy Play! Framework 2 in general, and you'll soon be creating amazing web applications.