Skip to content
You are not logged in |Login  
     
Limit search to available items
Record:   Prev Next
Resources
More Information
Bestseller
BestsellerE-book
Author Richard-Foy, Julien, author.

Title Play framework essentials : an intuitive guide to creating easy-to-build scalable web applications using the Play framework / Julien Richard-Foy.

Publication Info. Birmingham : Packt Publishing, 2014.

Item Status

Description 1 online resource.
Physical Medium polychrome
Description text file
Series Community experience distilled
Community experience distilled.
Contents Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Building a Web Service; Play -- a framework used to write web applications; Bootstrapping a Play application; Play applications'' layout; URL routing; Route path parameters; Parameters type coercion; Parameters with fixed values; Query string parameters; Default values of query string parameters; Trying the routes; Building HTTP responses; Serializing application data in JSON; Reading JSON requests; Validating JSON data; Handling optional values and recursive types.
Using an in-memory database for testsSummary; Chapter 3: Turning a Web Service into a Web Application; Delta between a web service and a web application; Using the template engine to build web pages; Inserting dynamic values; Looping and branching; Reusing document fragments; Comments; Import statements; Generating HTML forms; Repeated and nested fields; Reading and validating HTML form data; Handling the HTML form submission; Validating the HTML form data; The Scala form validation API; The Java form validation API; Optional and mandatory fields.
Sharing JSON validation and HTML form validation rulesHandling content negotiation; Putting things together; Writing web user interface tests; Summary; Chapter 4: Integrating with Client-side Technologies; Philosophy of Play regarding client-side technologies; Serving static assets; Sprinkling some JavaScript and CSS; Using the JavaScript reverse router; Managing assets from the build system; Producing web assets; Pipelining web assets'' transformations; Concatenating and minifying JavaScript files; Gzipping assets; Fingerprinting assets; Managing JavaScript dependencies.
Running JavaScript testsSummary; Chapter 5: Reactively Handling Long-running Requests; Play application''s execution model; Scaling up your server; Embracing non-blocking APIs; Managing execution contexts; Writing incremental computations using iteratees; Streaming results using enumerators; Manipulating data streams by combining iteratees, enumerators, and enumeratees; Unidirectional streaming with server-sent events; Preparing the ground; Transforming streams of data using enumeratees; Implementing a publish/subscribe system using Akka; Bidirectional streaming with WebSockets.
Summary Chapter 2: Persisting Data and Testing; Testing your web service; Writing and running tests; Testing the HTTP layer; Using the reverse router to generate URLs; Running a fake Play application; Effectively writing HTTP tests; Persisting data; Using a relational database; Getting a reference to the currently running application; Using a database management library; Using Slick in Scala; Using JPA in Java; Integrating with other persistence technologies; Populating the database with fixtures; The application''s Global object; Managing database schema evolutions.
This book targets Java and Scala developers who already have some experience in web development and who want to master Play framework quickly and efficiently. This book assumes you have a good level of knowledge and understanding of efficient Java and Scala code.
Local Note eBooks on EBSCOhost EBSCO eBook Subscription Academic Collection - North America
Subject Application software -- Development.
Application software -- Development.
Internet programming.
Internet programming.
Open source software.
Open source software.
Genre/Form Electronic books.
Other Form: Print version: Richard-Foy, Julien. Play framework essentials : an intuitive guide to creating easy-to-build scalable web applications using the Play framework. Birmingham, [England] : Packt Publishing, ©2014 185 pages 9781783982400
ISBN 9781783982417 (electronic book)
1783982411 (electronic book)
9781322166148 (electronic book)
1322166145 (electronic book)
1783982403
9781783982400
9781783982400