Read Play for Scala by PeterHilton Erik Bakker Francisco Canedo Online

play-for-scala

SummaryPlay for Scala shows you how to build Scala-based web applications using the Play 2 framework. This book starts by introducing Play through a comprehensive overview example. Then, you'll look at each facet of a typical Play application both by exploring simple code snippets and by adding to a larger running example. Along the way, you'll deepen your knowledge of ScaSummaryPlay for Scala shows you how to build Scala-based web applications using the Play 2 framework. This book starts by introducing Play through a comprehensive overview example. Then, you'll look at each facet of a typical Play application both by exploring simple code snippets and by adding to a larger running example. Along the way, you'll deepen your knowledge of Scala as a programming language and work with tools like Akka.About this BookPlay is a Scala web framework with built-in advantages: Scala's strong type system helps deliver bug-free code, and the Akka framework helps achieve hassle-free concurrency and peak performance. Play builds on the web's stateless nature for excellent scalability, and because it is event-based and nonblocking, you'll find it to be great for near real-time applications.Play for Scala teaches you to build Scala-based web applications using Play 2. It gets you going with a comprehensive overview example. It then explores each facet of a typical Play application by walking through sample code snippets and adding features to a running example. Along the way, you'll deepen your knowledge of Scala and learn to work with tools like Akka.Written for readers familiar with Scala and web-based application architectures. No knowledge of Play is assumed.Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.What's InsideIntro to Play 2 Play's MVC structure Mastering Scala templates and forms Persisting data and using web services Using Play's advanced featuresAbout the AuthorsPeter Hiltonv, Erik Bakker, and Francisco Canedo, are engineers at Lunatech, a consultancy with Scala and Play expertise. They are contributors to the Play framework.Table of ContentsPART 1: GETTING STARTED Introduction to Play Your first Play applicationPART 2: CORE FUNCTIONALITY Deconstructing Play application architectureDefining the application's HTTP interfaceStoring data—the persistence layerBuilding a user interface with view templatesValidating and processing input with the forms APIPART 3: ADVANCED CONCEPTS Building a single-page JavaScript application with JSONPlay and more Web services, iteratees, and WebSockets...

Title : Play for Scala
Author :
Rating :
ISBN : 9781617290794
Format Type : Paperback
Number of Pages : 330 Pages
Status : Available For Download
Last checked : 21 Minutes ago!

Play for Scala Reviews

  • Thomas
    2018-10-16 11:44

    Full disclosure: I was the technical proofreader for this book. Before you yell at me for anything I missed, please know that I was called on at the very last minute to help out. Nonetheless, I did the best I could in the time provided, hand-entering most of the examples directly to make sure they worked as expected. Also, while I will be getting compensated for my proofreading of this book, my earnings are not dependent on its success or failure.Having said all that, I highly recommend this book if you're looking for an introduction to the Play Framework from a Scala perspective (there is also a Java-based book with a similar purpose being published by Manning later this year). There are certainly things it leaves out, such as testing (a big oversight, as Debasish has pointed out in a recent tweet), embedding in existing SBT projects, etc. But for a mostly comprehensive understanding of the core functionality, this book is very useful. It's also well-written, providing clear explanations where things might not be entirely obvious. It does assume some familiarity with Scala and having exposure to Akka, which Play uses for various purposes and provides as a utility for the user of the framework, would be helpful, but one does not need to be an expert in either to find this book useful.

  • Frank Palardy
    2018-10-08 10:41

    Good for overview but out of date.

  • Sebastian Gebski
    2018-10-15 09:49

    I'm not 100% sure about the correctness of the rating - there's a thin border between rating a book and rating a technology this book describes and unfortunately my experience with Play 2.0 is still very limited. Let's try anyway:Pros:1.) I've got the basic idea about how Play works, what to do to create a Play application on my own, etc.2.) There are many code samples and they are are applicable to the theory described3.) Book is not limited to the most basic scenarios - for instance, you can find a chapter about creating a JSON WebAPI for SPAs and a chapter about persistence as wellCons:1.) This book is NOT ENOUGH if you want a full-blown information for creating production-ready application: some crucial aspects (like bundling or CSRF) are not described at all: even if Play doesn't support them at all (doesn't it?) - it should be stated very clearly.2.) Some code samples in Kindle version are totally unreadable - sometimes I had a feeling that every code sample is a separate screenshot in a fixed resolution.3.) Practical real-life scenarios based on experience with applications that grow up beyond the tutorial app scale would be welcome. For instance - within whole book there was not a single idea about how to automatically test Play applications. Security was barely mentioned as well.This book is fine if you want to learn some basics about what Play is and how does it work. But sadly, it's far from enough from being a complete resource for someone who wants to make a pro Play application in Scale. It's achievable, I know such books for ASP.NET MVC (which resembles Play a lot).

  • Garren
    2018-10-08 11:55

    From what I can gather, the authors wanted to include hands-on stuff early in the book to keep readers from losing interest. Chapter Two is therefore devoted to setting up a small application to show how things work. Good idea, but the sample application is presented too quickly all at once. I gave up on understanding what was going on in each step. I gave up on typing in the code manually. I even gave up on copy and pasting code because that became tedious. A better way to handle the sample application would have been to add a little code, show how this change affected the application, go back and add a little more code, show the effect again, etc. Instead, it feels like: "Do steps 1 through 30 then see the result. Now steps 31-50."While the book was ruined for me as a walkthrough, subsequent chapters do have a lot of careful, friendly explanations of how different parts of the Play framework operate. The authors are also very good at generating enthusiasm for the framework's design philosophy.

  • Ben
    2018-09-21 12:39

    A good high-level introduction, but a bit short. Not at all a comprehensive reference. Sadly, it focuses on Play 2.0, which is already out of date, and many of the code examples use now-deprecated APIs. At the rate Play is changing, it may not be possible to write a full treatment before it's out of date.

  • Decklyn
    2018-09-28 06:49

    A good way to get into play as a full stack framework. Made me realize play is a little bit too heavy for a lot of what I want to use a web framework for - it's a full stack framework so you may want to consider scalatra if you don't want the whole shebang.

  • Graeme Lockley
    2018-10-06 11:36

    Wonderful web framework - the same style as Rails and Grails but coupled with Scala's type system it feels like a maturity point better

  • Kirill Cherkashin
    2018-10-07 10:45

    Good overview of play framework basics

  • The Viet Nguyen
    2018-09-20 11:53

    It is little boring at the beginning, but things get much better later on.

  • Avi
    2018-10-10 07:59

    This is a well-written book, examples laid out nicely and easy to understand. Unfortunately, Play seems like a kind of crappy framework.

  • Theo Grip
    2018-09-17 07:49

    Good introduction, could have been a little more thorough

  • Joao Cerdeira
    2018-10-16 14:40

    Nice book to learn a little bit more about playframework.However it should cover more advanced aspect in more detail like reactive programming.