Book description
Scalatra in Action introduces 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.
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 Action covers 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.
Quotes
If you’re interested in Scala and RESTful APIs, just stop—you’ve found your bible!
- Alberto Quario, UniCredit, UniCredit
There are many ways to learn Scalatra, but the best one is with Scalatra in Action.
- Adam Słysz, Founder of Binary Horizon
An excellent way to become productive from day one.
- Ramsés Morales, VMware
Clear and thorough coverage of the Scalatra framework.
- Alain Couniot, STIB-MIVB
Table of contents
- Copyright
- Brief Table of Contents
- Table of Contents
- Preface
- Acknowledgments
- About this Book
- About the Cover Illustration
- Part 1. Introduction to Scalatra
- Part 2. Common development tasks
- Part 3. Advanced topics
- Appendix. Installation and development setup
- Index
- List of Figures
- List of Tables
- List of Listings
Product information
- Title: Scalatra in Action
- Author(s):
- Release date: May 2016
- Publisher(s): Manning Publications
- ISBN: 9781617291296
You might also like
book
Rails Crash Course
In Rails Crash Course, author Anthony Lewis shows you how to harness Rails to build web …
article
Reinventing the Organization for GenAI and LLMs
Previous technology breakthroughs did not upend organizational structure, but generative AI and LLMs will. We now …
article
Run Llama-2 Models
Llama is Meta’s answer to the growing demand for LLMs. Unlike its well-known technological relative, ChatGPT, …
book
Professional Scala
If your application source code is overly verbose, it can be a nightmare to maintain. Write …