By Andy Petrella
Start constructing extraordinary internet purposes with this pleasant, sensible advisor to the Play! Framework
- While using in Java, initiatives also are offered in Scala – an effective way to be brought to this impressive language.
- Create a fully-fledged, collaborative internet software – ranging from flooring 0; all layers are awarded in a realistic way.
- Gain the benefits linked to constructing an absolutely built-in internet framework.
The studying Play! Framework 2 has been created for internet builders which are development internet purposes. The center thought is to target the HTTP gains and to let them via a simplification lens. construction an internet program now not calls for a configuration section, an atmosphere setup, or an extended improvement lifecycle - it really is integrated!.
Learning Play! Framework 2 will permit any internet builders to create outstanding internet purposes profiting from the good gains. it is the quickest approach to dive into Play!, targeting the features by utilizing them in a pattern program. even supposing basically Java dependent code, a Scala model is gifted in addition – giving a chance to work out a few Scala in action.
After constructing the laptop and studying a few Scala, you'll build an program which builds from static to dynamic, ahead of introducing a database.
Then we are going to specialize in how facts may be fed on and rendered in different methods. this can permit a few actual time communique via WebSocket and Server-Sent occasion – on either server and customer sides.
The publication will finish with trying out and deployment, which completes any internet improvement project.
What you are going to study from this book
- What's nice concerning the new framework and on which initiatives it really works best.
- Set up an entire deploy together with the framework itself but additionally the advance environment.
- Build an easy web site or perhaps a webapp utilizing the server-side and templating system.
- Store facts in a relational database, utilizing Ebean in Java and Anorm in Scala.
- Discover the reactive means of dealing with facts (back and forth with a client).
- Test all layers of your software utilizing the combination of Play! 2 with the main recognized trying out frameworks – even at the client-side.
- Deploy your software at the cloud, selecting Heroku for instance, but additionally on Cloudbees which allows a continuing integration.
A powerful concentration is put on clarification by means of instance; in spite of the volume of fantastic services of Play! 2, they are going to be collected in one program. on the finish of this publication, the reader could have a fully-fledged software utilizing the fundamental and complicated gains of Play! 2.
Who this e-book is written for
Readers needs to be attracted to the internet in most cases; in particular utilizing the HTTP among a browser and a server to create blazing tasks! Java talents are necessary yet now not precious when you consider that studying Play! Framework 2 isn't J2EE dependent yet introduces an easy, neat, and fully built-in model; the must haves are nearly none.