Andy Petrella's Learning Play! Framework 2 PDF

By Andy Petrella

ISBN-10: 1782160124

ISBN-13: 9781782160120

Start constructing striking internet functions with this pleasant, useful advisor to the Play! Framework


  • While using in Java, initiatives also are offered in Scala – a good way to be brought to this striking language.
  • Create a fully-fledged, collaborative net program – ranging from flooring 0; all layers are provided in a realistic way.
  • Gain the benefits linked to constructing a completely built-in internet framework.

In Detail

The studying Play! Framework 2 has been created for internet builders which are construction internet functions. The middle concept is to target the HTTP good points and to let them via a simplification lens. development an online software now not calls for a configuration part, an atmosphere setup, or a protracted improvement lifecycle - it really is integrated!.

Learning Play! Framework 2 will let any net builders to create remarkable internet purposes profiting from the best positive factors. it is the quickest approach to dive into Play!, targeting the functions by utilizing them in a pattern software. even if primarily Java established code, a Scala model is gifted to boot – giving a chance to determine a few Scala in action.

After developing the laptop and studying a few Scala, you are going to build an program which builds from static to dynamic, prior to introducing a database.

Then we are going to specialise in how information could be ate up and rendered in numerous methods. it will allow a few actual time verbal exchange via WebSocket and Server-Sent occasion – on either server and customer sides.

The ebook will finish with trying out and deployment, which completes any internet improvement project.

What you are going to research from this book

  • What's nice concerning the new framework and on which initiatives it really works best.
  • Set up a whole deploy together with the framework itself but in addition the improvement environment.
  • Build an easy website or perhaps a webapp utilizing the server-side and templating system.
  • Store information in a relational database, utilizing Ebean in Java and Anorm in Scala.
  • Discover the reactive manner of dealing with facts (back and forth with a client).
  • Test all layers of your program utilizing the combination of Play! 2 with the main well-known checking out frameworks – even at the client-side.
  • Deploy your software at the cloud, deciding on Heroku to illustrate, but additionally on Cloudbees which allows a continual integration.


A powerful concentration is put on rationalization by means of instance; inspite of the quantity of wonderful functions of Play! 2, they are going to be accrued in one software. on the finish of this ebook, the reader can have a fully-fledged software utilizing the fundamental and complex positive aspects of Play! 2.

Who this ebook is written for

Readers has to be drawn to the internet generally; in particular utilizing the HTTP among a browser and a server to create blazing tasks! Java talents are necessary yet now not worthy in view that studying Play! Framework 2 isn't really J2EE dependent yet introduces an easy, neat, and entirely built-in model; the necessities are nearly none.

Show description

Read Online or Download Learning Play! Framework 2 PDF

Similar java books

Download e-book for iPad: Pro Spring 2.5 by Anirvan Chakraborty, Jessica Ditt, Aleksa Vukotic, Jan

The Spring Framework 2. five unlock displays the cutting-edge in either the Spring Framework and firm Java frameworks as a complete. A guidebook to this severe software is critical interpreting for any conscientious Java developer. — Rob Harrop, writer of professional Spring The movement from so–called heavyweight architectures, corresponding to company JavaBeans, towards light-weight frameworks, like Spring, has no longer stopped on the grounds that professional Spring was once released through Rob Harrop and Jan Machacek in 2005; in reality, it’s picked up speed.

Pro Spring 2.5 (Books for Professionals by Professionals) by Anirvan Chakraborty, Jessica Ditt, Aleksa Vukotic, Jan PDF

The open resource agile light-weight Spring (meta) Framework 2. five is through a ways the best leading edge strength and “lightning rod” that’s using today’s Java undefined. Spring has time and time back confirmed itself in real-world hugely scalable company settings corresponding to banks and different monetary associations.

Download e-book for iPad: Restlet in Action Developing RESTful web APIs in Java by Jerome Louvel

Restlet in motion will get you began with the Restlet Framework and the remaining structure type. Youll create and install purposes in checklist time whereas studying to exploit renowned RESTful net APIs successfully. This ebook appears on the many features of internet improvement, on either the server and shopper aspect, in addition to cloud computing, cellular Android units, and Semantic internet purposes.

Extra info for Learning Play! Framework 2

Example text

So we can access the current Play! version's documentation directly from our application (at development time only, not in production). The second item is the API and is discussed in the next section. Browsing the Java API Before entering into any details, we must have noted that the menu has the word Java in its name. That's because Play! has detected (we'll see how later) that we're running a Java application. On entering this menu, we'll see the following web page: As expected, we obtained the well-known Javadoc website.

So do the features including syntax coloring for the Scala code, code browsing, contextual documentation, and so on. IntelliJ IDEA IDEA is a great and well-known IDE despite the fact that it isn't open source or totally free. At least, we can choose between the free version (Community)—which has less features—and the other one (Ultimate). Note At the time of writing this book, a Play! 2 plugin is on its way for the paid version, however we will try to stick with the free only IDE. pr=&pluginId=7080.

In the new window, click on the Environment Variables... In the user variables panel, we can now add/edit the PATH variable with the path to the Play! installation. The following screenshot summarizes what we just did: Mac OS X Open a terminal using the word terminal in Spotlight. bash_profile Ubuntu Open a terminal using Ctrl + Alt + T. profile The Typesafe Stack As you may know, Play! Framework is now part of a more general stack provided by Typesafe, which redefines almost all the layers of the modern applications built on top of the JVM: the Typesafe Stack 2.

Download PDF sample

Learning Play! Framework 2 by Andy Petrella

by Jeff

Rated 4.76 of 5 – based on 31 votes