Learning Play! Framework 2

The Play Framework makes it easy to build web applications with Java & Scala, and this user-friendly tutorial makes it simpler still. Focusing on HTTP, everything is integrated so you need virtually no prior coding ability.
Preview in Mapt

Learning Play! Framework 2

Andy Petrella

1 customer reviews
The Play Framework makes it easy to build web applications with Java & Scala, and this user-friendly tutorial makes it simpler still. Focusing on HTTP, everything is integrated so you need virtually no prior coding ability.
Mapt Subscription
FREE
$29.99/m after trial
eBook
$21.00
RRP $29.99
Save 29%
Print + eBook
$49.99
RRP $49.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$21.00
$49.99
$29.99p/m after trial
RRP $29.99
RRP $49.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Learning Play! Framework 2 Book Cover
Learning Play! Framework 2
$ 29.99
$ 21.00
Play! Framework for Web Application Development [Video] Book Cover
Play! Framework for Web Application Development [Video]
$ 84.99
$ 72.25
Buy 2 for $35.00
Save $79.98
Add to Cart
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 

Book Details

ISBN 139781782160120
Paperback290 pages

Book Description

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!

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.

After setting up the machine and learning some Scala, you will construct an application which builds from static to dynamic, before introducing a database.

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.

The book will end with testing and deployment, which completes any web development project.

Table of Contents

Chapter 1: Getting Started with Play! Framework 2
Preparing your machine
Creating your first project
Keeping your habits
Simple Build Tool
It's alive and not empty!
Understanding the core pieces
Summary
Chapter 2: Scala – Taking the First Step
Introducing Scala
Generic types
Iterating over a sequence
Partial application
Summary
Chapter 3: Templating Easily with Scala
Shape it, compose it, re-use it
Playing around
Skinning with LESS pain
Summary
Chapter 4: Handling Data on the Server Side
Feeding some data
Ingesting data
Persisting them
Porting to Scala
Summary
Chapter 5: Dealing with Content
Body parsing for better reactivity
Creating a forum
Handling multipart content types
Rendering contents
Summary
Chapter 6: Moving to Real-time Web Applications
Ready, JSON, poll
Dynamic maintains form
Real time (advanced)
Summary
Chapter 7: Web Services – At Your Disposal
Accessing third parties
Interacting with Twitter
Long tasks won't block
Summary
Chapter 8: Smashing All Test Layers
Testing atomically
Writing applicative tests
Testing workflows
Summary
Chapter 9: Code Once, Deploy Everywhere
Continuous Integration (CloudBees)
Deployment (Heroku)
Monitoring (Typesafe Console)
Summary

What You Will Learn

  • What's great about the new framework and on which projects it works best
  • Set up a full installation including the framework itself but also the development environment
  • Build a simple site or even a webapp using the server-side and templating system
  • Store data in a relational database, using Ebean in Java and Anorm in Scala
  • Discover the reactive way of handling data (back and forth with a client)
  • Test all layers of your application using the integration of Play! 2 with the most famous testing frameworks – even on the client-side
  • Deploy your application on the cloud, choosing Heroku as an example, but also on Cloudbees which enables a continuous integration

 

Authors

Table of Contents

Chapter 1: Getting Started with Play! Framework 2
Preparing your machine
Creating your first project
Keeping your habits
Simple Build Tool
It's alive and not empty!
Understanding the core pieces
Summary
Chapter 2: Scala – Taking the First Step
Introducing Scala
Generic types
Iterating over a sequence
Partial application
Summary
Chapter 3: Templating Easily with Scala
Shape it, compose it, re-use it
Playing around
Skinning with LESS pain
Summary
Chapter 4: Handling Data on the Server Side
Feeding some data
Ingesting data
Persisting them
Porting to Scala
Summary
Chapter 5: Dealing with Content
Body parsing for better reactivity
Creating a forum
Handling multipart content types
Rendering contents
Summary
Chapter 6: Moving to Real-time Web Applications
Ready, JSON, poll
Dynamic maintains form
Real time (advanced)
Summary
Chapter 7: Web Services – At Your Disposal
Accessing third parties
Interacting with Twitter
Long tasks won't block
Summary
Chapter 8: Smashing All Test Layers
Testing atomically
Writing applicative tests
Testing workflows
Summary
Chapter 9: Code Once, Deploy Everywhere
Continuous Integration (CloudBees)
Deployment (Heroku)
Monitoring (Typesafe Console)
Summary

Book Details

ISBN 139781782160120
Paperback290 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Mastering Web Application Development with AngularJS Book Cover
Mastering Web Application Development with AngularJS
$ 26.99
$ 5.40
Responsive Web Design with HTML5 and CSS3 Book Cover
Responsive Web Design with HTML5 and CSS3
$ 23.99
$ 4.80
Learning Concurrent Programming in Scala Book Cover
Learning Concurrent Programming in Scala
$ 26.99
$ 18.90
AngularJS Web Application Development Blueprints Book Cover
AngularJS Web Application Development Blueprints
$ 29.99
$ 21.00
Scala for Machine Learning Book Cover
Scala for Machine Learning
$ 35.99
$ 25.20
Akka Essentials Book Cover
Akka Essentials
$ 29.99
$ 21.00