Learning Play! Framework 2 (Anglais) Broché – 26 mars 2013
|Neuf à partir de||Occasion à partir de|
- Choisissez parmi 17 000 points de collecte en France
- Les membres du programme Amazon Prime bénéficient de livraison gratuites illimitées
- Trouvez votre point de collecte et ajoutez-le à votre carnet d’adresses
- Sélectionnez cette adresse lors de votre commande
Description du produit
Présentation de l'éditeur
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.
- While driving in Java, tasks are also presented in Scala a great way to be introduced to this amazing language.
- Create a fully-fledged, collaborative web application starting from ground zero; all layers are presented in a pragmatic way.
- Gain the advantages associated with developing a fully integrated web framework.
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.
What you will learn from this book
- 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.
A strong focus is placed on explanation by example; even with the amount of amazing capabilities of Play! 2, they will be gathered in a single application. At the end of this book, the reader will have a fully-fledged application using the basic and advanced features of Play! 2.
Who this book is written for
Readers must be interested in the Web in general; specifically using the HTTP between a browser and a server to create blazing projects! Java skills are beneficial but not necessary since Learning Play! Framework 2 is not J2EE based but introduces a simple, neat, and completely integrated version; the prerequisites are almost none.
Biographie de l'auteur
Andy Petrella is first and foremost a Belgian mathematician who tried to find a way to apply his skills to the concrete world. One of them was programming. So, after graduating in Mathematics, he continued his study in Informatics at the University of Liège.
He quickly became interested in Geomatics because of the heterogeneous needs of this discipline, which led him to mainly work in the GIS field. Over there, he got the opportunity to sharpen his skills on distributed architecture for interoperable solutions.
Having found a new way to enjoy mathematics along with programming, he joined one of his friends and they decided to create NextLab (http://www.nextlab.be/), a company that offers the perfect context to push Play! 2 and Scala to the foreground through projects and customers.
Andy also loves to share his experiences, his enjoyment, and his discoveries through the co-creation of a user group called WAJUG (http://wajug.be/) dedicated to help Walloons to meet together and share ideas about information technology. In order to ensure a constant flow of information, he also writes his thoughts on his blog, SKA LA (http://ska-la.blogspot.be/).
Aucun appareil Kindle n'est requis. Téléchargez l'une des applis Kindle gratuites et commencez à lire les livres Kindle sur votre smartphone, tablette ou ordinateur.
Pour obtenir l'appli gratuite, saisissez votre numéro de téléphone mobile.
Détails sur le produit
Si vous vendez ce produit, souhaitez-vous suggérer des mises à jour par l'intermédiaire du support vendeur ?
|5 étoiles (0%)|
|4 étoiles (0%)|
|3 étoiles (0%)|
|2 étoiles (0%)|
|1 étoile (0%)|
Commentaires client les plus utiles sur Amazon.com
Also, I got the Kindle edition so I can't speak for the other formats, but at least in the one I have the grammar is horrendous. It seems every other paragraph begins or ends with an exclamation such as "It's that trivial!" or "Its AJAX!" or something to that effect. Misplaced and overused enthusiasm, horrible grammar, misspellings galore and just poor use of the English language on every page lead me to doubt the editors and reviewers spent much, if any, time looking over this book before putting it up for sale. There are a lot of awkward phrases in the book as well which don't make a whole lot of sense. Very poor quality for a $40+ book, not what I'd expect. Obviously the author is not a native English speaker, but I can't fault him - I fault the reviewers who let these issues pass to the final version unchecked.
If you really want to learn Play! Framework, stick to the documentation and do some experimentation with the examples the core team provides which are great. This book may give you a high-level overview of some very basic functionality, but a lot of it will be outdated by the time you read it and/or just wrong from the get-go (which I found a couple times in the examples). Unfortunately, there isn't a lot of literature out there for Play! 2.x and it seems the documentation that is out there, like this book, isn't very good.
The book follows the well-known chat-like applications (in the book Forum + Chat + Twitter Feed), but I must say, the approach used here was different from the ones I was used to. The book is centered in the Java API, but the code provided with the book contains examples for both Java and Scala. You can download the code from http://www.packtpub.com/learning-play-framework-2/book
* Good Introductory Book
* Incremental complexity
* Includes Testing
* Explains how to bring the app live
* Some noise introduced when explaining outsider frameworks or languages (CoffeeScript, Less)
* Asynchronous should be explained in more depth
I'll try to give my 5 cents chapter by Chapter:
1) Getting Started
This chapter is skip-able if you are familiar with Play. Nothing new under the sun here.
2) Taking the First Step
Another introduction, now it is Scala's turn. This is needed for the Templates used in Play! Framework. Again, nothing new if you are familiar with Scala.
3) Templating Easily with Scala
Here it's when the tutorial really begins. It's a nice introduction to Templates in Play! Framework, nothing exhaustive though. In this chapter, there is a tiny introduction to Less, as I said before, in my opinion, this only adds some noise to the picture.
4) Handling Data on the Server Side
Our tiny example grows in this chapter as we provide it with a Database. This chapter contains a quick introduction to ORM's and how we can validate the input data easily in Play Framework.
5) Dealing with Content
Nice explanation on how the content is being parsed and which parses already exist in Play. Well explained.
6) Moving to Real-time Web Applications
The most interesting part of this chapter is the Websockets introduction, very basic though. In this chapter our little app becomes dynamic as we push data from the server to the Browser. Again, there is some noise due to the (unneeded?) introduction to CoffeeScript.
7) Web Services
Easy introduction to REST and problems derived from interacting with 3rd-party services like Twitter. Our little app becomes asynchronous. I think the author doesn't manage to explain the complexity of asynchronicity and how it works behind the scenes.
8) Smashing All Test Layers
I find it very good that the author decided to include this chapter. Testing is usually the forgotten part of all this introduction books. It explains the different types of testing and how this can be accomplished with Specs2.
9) Code Once, Deploy Everywhere
This chapter was a complete surprise. The author decided to spend some time explaining how we can bring our little application to a Live environment. It describes briefly which services can be used and are compatible with Play Framework. Nice chapter! I hope the author keeps it up to date in further editions.