Description |
1 online resource (1 volume) : illustrations |
|
text file |
Series |
Community experience distilled |
|
Community experience distilled.
|
Note |
Includes index. |
Contents |
Cover; Copyright; Credits; About the Author; Acknowledgments; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Getting Started with Play; Venturing into the world of Play; A sample Play app; Building a Play application using Activator; Creating a TaskTracker application; Adding a new task; Deleting a task; Summary; Chapter 2: Defining Actions; A dummy Artist model; Defining Actions; Actions with parameters; Request body parsers; Extending a parser; Exploring results; Asynchronous Actions; Content negotiation; Filters; Action composition |
|
Need for an Action compositionDifferentiating between action composition and filters; Customized requests; Need for a user object; Troubleshooting; Summary; Chapter 3: Building Routes; Introduction to Play routes; Automatic generation of routes_routing.scala; Reverse routing; JavaScript reverse routing; Assets; Client-side libraries; Configuring route definitions; Dynamic paths; Static paths; Configuring request parameters; Troubleshooting; Summary; Chapter 4: Exploring Views; Diving into Scala templates; Building a view; Generating forms; Adding constraints on data; Handling errors |
|
Form-field helpersInternationalization; Supporting views in multiple languages; Understanding internationalization; Scala templating in Play; Understanding the working of Twirl; Troubleshooting; Summary; Chapter 5: Working with Data; Introducing models; JDBC; Anorm; Slick; ReactiveMongo; The Cache API; Troubleshooting; Summary; Chapter 6: Reactive Data Streams; Basics of handling data streams; Iteratee; Enumerator; Using the Concurrent object; Unicast; Broadcast; Enumeratee; Binding Enumeratee to an Enumerator; Binding an Enumeratee to an Iteratee; Summary; Chapter 7: Playing with Globals |
|
GlobalSettingsThe life cycle of an application; Meddling with the application's life cycle; The request-response life cycle; Fiddling with the request-response life cycle; Manipulating requests and their responses; Tackling errors/exceptions; Summary; Chapter 8: WebSockets and Actors; An introduction to WebSockets; WebSockets in Play; Actor Model; Introducing Akka Actors; WebSocket using Iteratee; WebSocket using Actors without Iteratees; Closing a WebSocket; Using FrameFormatter; Troubleshooting; Summary; Chapter 9: Testing; Setup for writing tests; Unit testing; Dissecting PlaySpecification |
|
Unit testing a controllerUsing traits for controllers; Using dependency injection; Functional testing; Using Specs2; Using ScalaTest; Summary; Chapter 10: Debugging and Logging; Debugging a Play application; Configuring an IDE for debugging; Experimenting in a Scala console; Logging; Play's logging API; Log configuration in Play; Log levels; Summary; Chapter 11: Web Services and Authentication; Calling web services; OpenID; OAuth; Summary; Chapter 12: Play in Production; Deploying a Play application; Using the start command; Using a distribution; Universal distribution; Debian distribution |
Summary |
This book is intended for those developers who are keen to master the internal workings of Play Framework to effectively build and deploy web-related apps. |
Language |
English. |
Subject |
Web applications.
|
|
Application software -- Development.
|
|
Scala (Computer program language)
|
|
Java (Computer program language)
|
|
Applications Web. |
|
Logiciels d'application -- Développement. |
|
Scala (Langage de programmation) |
|
Java (Langage de programmation) |
|
Application software -- Development |
|
Java (Computer program language) |
|
Scala (Computer program language) |
|
Web applications |
Added Title |
Leverage the awesome features of Play Framework to build scalable, resilient, and responsive applications |
Other Form: |
Print version: Saxena, Shiti. Mastering play framework for scala : leverage the awesome features of play framework to build scalable, resilient, and responsive applications. Birmingham, [England] ; Mumbai, [India] : Packt Publishing, ©2015 251 pages Community experience distilled. 9781783983803 |
ISBN |
9781783983810 (electronic bk.) |
|
1783983817 (electronic bk.) |