Scalatra in Action by Hrycyszyn, Dave; Ollinger, Stefan; Baker, Ross A., 9781617291296
Note: Supplemental materials are not guaranteed with Rental or Used book purchases.
  • ISBN: 9781617291296 | 1617291293
  • Cover: Paperback
  • Copyright: 5/23/2016

  • Rent

    (Recommended)

    $32.43
     
    Term
    Due
    Price
    *This item is part of an exclusive publisher rental program and requires an additional convenience fee. This fee will be reflected in the shopping cart.
  • Buy New

    Usually Ships in 3-5 Business Days

    $44.32

Summary

Scalatra in Actionintroduces the Scalatra framework and the Sinatra model. It covers the framework in its entirety, starting with concepts like request routing, input handling, actions, and HTTP responses, then proceeds to more advanced topics, such as data access, handling heavy load, asynchronicity, securing applications, designing and documenting RESTful APIs, and real-time web programming.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the Technology

Scalatra is a lightweight Scala web framework similar to the popular Ruby-based Sinatra. It’s perfect for running real-time applications on multicore servers, and is a fast way to spin up web apps and build HTTP APIs for mobile, Backbone.js, and AngularJS apps.

About the Book

Scalatra in Actioncovers the Scalatra framework in its entirety, starting with concepts such as request routing, input handling, actions, and HTTP responses. For readers who don’t already know Scala, the book introduces the Scala language and sbt, the Simple Build Tool. You’ll learn how to use Scalatra’s powerful templating engine, Scalate. It also covers advanced topics such as data access, handling heavy load, asynchronicity, securing your application, designing RESTful APIs, and real-time web programming.

What's Inside

  • Make clean templates using Scalate
  • Integrate with libraries that supplement Scalatra
  • Write tests using Specs2
  • Integrate Scalatra with databases

About the Reader

Readers should be familiar with the basics of HTTP, REST, and web applications. No experience with Scalatra, Sinatra, or Scala is required.

About the Authors

Dave Hrycyszyn is technical director for a London-based agency specializing in agile software design and development. Stefan Ollinger is an active Scalatra contributor. Ross A. Baker is a Senior Cloud Engineer, a Scalate commiter, and organizer of the Indy Scala meetup.

Table of Contents

    PART 1 INTRODUCTION TO SCALATRA

  1. Introduction
  2. A taste of Scalatra
  3. Routing
  4. Working with user input
  5. PART 2 COMMON DEVELOPMENT TASKS

  6. Handling JSON
  7. Handling files
  8. Server-side templating
  9. Testing
  10. Configuration, build, and deployment
  11. Working with a database
  12. PART 3 ADVANCED TOPICS

  13. Authentication
  14. Asynchronous programming
  15. Creating a RESTful JSON API with Swagger
    Loading Icon

    Please wait while the item is added to your bag...
    Continue Shopping Button
    Checkout Button
    Loading Icon
    Continue Shopping Button