Scalatra in Action Scalatra in Action

Scalatra in Action

Ross Baker and Others
    • $34.99
    • $34.99

Publisher Description

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
• Introduction
• A taste of Scalatra
• Routing
• Working with user input

PART 2 COMMON DEVELOPMENT TASKS
• Handling JSON
• Handling files
• Server-side templating
• Testing
• Configuration, build, and deployment
• Working with a database

PART 3 ADVANCED TOPICS
• Authentication
• Asynchronous programming
• Creating a RESTful JSON API with Swagger

GENRE
Computers & Internet
RELEASED
2016
May 4
LANGUAGE
EN
English
LENGTH
280
Pages
PUBLISHER
Manning
SELLER
Simon & Schuster Digital Sales LLC
SIZE
9.8
MB

More Books Like This

Play for Java Play for Java
2014
Play for Scala Play for Scala
2013
SPA Design and Architecture SPA Design and Architecture
2015
hapi.js in Action hapi.js in Action
2016
Lift in Action Lift in Action
2011
Grails in Action Grails in Action
2014