Book Image

Learning Scala Web Development [Video]

By : Andriy Redko
Book Image

Learning Scala Web Development [Video]

By: Andriy Redko

Overview of this book

<p>The Scala programming language has gained a lot of traction in the last couple of years because of its functional orientation and conciseness. The industry has a strong interest in using Scala in modern production systems, and as such, the Spray framework and Akka toolkit became a natural choice for back-end Scala developers building highly-scalable, reliable, reactive REST(ful) web services and APIs.</p> <p>This video course will be an exciting journey into the universe of the web development using the Scala programming language and frameworks. It is a starting point from which you'll learn the basics of building REST(ful) web services and APIs using the non-blocking and asynchronous programming models that lie in the heart of the Spray framework. You’ll start off by learning about the REST architecture. After that, you will switch gears to the Akka toolkit and Spray framework, building the sample book catalog application along the way.</p> <p>Once you've learned about the REST architectural style and Actor Model, the foundations that the Spray framework is built upon, you’ll shape out your own REST(ful) web services by providing simple route definitions. Further on, we'll delve into authentication, authorization, secure transport, documentation, test cases, and caching support. Finally, you will learn how to develop the Spray client API.</p> <h1>Style and Approach</h1> <p>This easy-to-follow video course takes a systematic approach by starting with the big problem, dividing it into sub-problems, and then solving each one of them as we progress.</p>
Table of Contents (8 chapters)
Chapter 5
Documenting REST(ful) Web Services with Swagger
Content Locked
Section 3
Exploring REST(ful) Web Services in Swagger UI
In most cases, the Swagger API exposes REST(ful) web services and APIs’ documentation using JSON or XML formats. This is great but not very comfortable for a human to work with. - Get to learn one of the most useful tools around the Swagger project, namely Swagger UI - Understand how to use Swagger UI - Learn how to bundle Swagger UI along with your Spray REST(ful) web services and APIs