RESTful Web Services with Scala (Paperback)

Jos Dirksen

  • 出版商: Packt Publishing
  • 出版日期: 2015-11-27
  • 售價: $1,500
  • 貴賓價: 9.5$1,425
  • 語言: 英文
  • 頁數: 168
  • 裝訂: Paperback
  • ISBN: 1785289403
  • ISBN-13: 9781785289408
  • 相關分類: JVM 語言
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

相關主題

商品描述

Learn the art of creating scalable RESTful web services with Scala

About This Book

  • This is the only book on the market that will help you create scalable RESTful web services using five popular Scala-based REST frameworks
  • Quickly identify the best framework for a specific problem and select the most appropriate solution to suit your requirements
  • This practical guide will help you implement a complete REST-based API from scratch

Who This Book Is For

If you are a Scala developer with some Scala experience and you want to get an overview of the frameworks that are available in the Scala world, then this book is perfect for you. You need to have a general knowledge of REST and Scala. This book is great for senior Scala (or other language) developers who are looking for a good REST framework to use together with Scala.

What You Will Learn

  • Set up a development environment to easily develop and test REST services
  • Discover the different ways in which you can create REST services with Scala
  • See and explore the different approaches taken by popular REST frameworks
  • Get to know more about a variety of available Scala frameworks such as Finch, Unfiltered, Scalatra, Akka-HTTP, and Play
  • Discover how to create a REST service on top of each framework discussed in this book
  • Create HTTP clients using the frameworks in this book
  • Make an informed decision about which framework to use in a specific situation
  • Set up authentication for your REST services

In Detail

RESTful web services are built to work best on the web. Scala provides a rich set of language constructs and advanced frameworks that you can use to create REST services. However, using Scala and these tools can be a complex task. There are many frameworks available and choosing the wrong framework or approach can cost a lot of time and lead to much frustration. By exploring the most popular Scala REST frameworks, you can make sure you choose the right tool.

RESTful Web Services with Scala begins with a brief explanation of the REST architecture and its implementation in Scala, as well as the impact that REST architecture has on Scala applications. You will understand the advantages of building Scala web services and how existing Scala applications can take advantage of REST. This book will teach developers about the different programming paradigms available in the Scala world to create RESTful services by exploring the most popular Scala-oriented REST frameworks. It discusses the various facets of RESTful web services such as building scalable APIs, working with standards like HTTP and MIME, designing the architecture, securing the web service, and more.

With this book, you will be able to build RESTful web services with various Scala frameworks such as Finch, Unfiltered, Scalatra, Akka-HTTP, and Play. You will create basic REST services using frameworks and then extend the REST services with custom functionality. By the end of the book, you'll be able to decide which framework is best suited for your requirements. We finish by looking at how we can use a number of advanced features provided by these frameworks, such as security, creating HTTP clients, working with HATEOAS, and more.

商品描述(中文翻譯)

學習使用Scala創建可擴展的RESTful網絡服務的藝術

關於本書
這是市場上唯一一本能幫助您使用五種流行的基於Scala的REST框架創建可擴展的RESTful網絡服務的書籍。
快速確定特定問題的最佳框架,並選擇最適合您需求的解決方案。
這本實用指南將幫助您從頭開始實現完整的基於REST的API。

本書適合對Scala有一定經驗的Scala開發人員,並希望瞭解Scala世界中可用框架的概述。您需要對REST和Scala有一般的了解。這本書非常適合尋找與Scala一起使用的優秀REST框架的高級Scala(或其他語言)開發人員。

您將學到什麼
建立開發環境以便輕鬆開發和測試REST服務
發現使用Scala創建REST服務的不同方法
了解流行的REST框架採取的不同方法
更多了解各種可用的Scala框架,如Finch,Unfiltered,Scalatra,Akka-HTTP和Play
瞭解如何在本書中討論的每個框架之上創建REST服務
使用本書中的框架創建HTTP客戶端
在特定情況下做出明智的框架選擇
為您的REST服務設置身份驗證

詳細內容
RESTful網絡服務是為在網絡上最佳運行而構建的。Scala提供了一套豐富的語言結構和先進的框架,您可以使用它們來創建REST服務。然而,使用Scala和這些工具可能是一項復雜的任務。有許多可用的框架,選擇錯誤的框架或方法可能會浪費很多時間並導致很大的挫折。通過探索最受歡迎的Scala REST框架,您可以確保選擇正確的工具。

《Scala RESTful Web Services》首先簡要解釋了REST架構及其在Scala中的實現,以及REST架構對Scala應用程序的影響。您將了解構建Scala網絡服務的優勢,以及現有Scala應用程序如何利用REST。本書將通過探索最受歡迎的Scala導向REST框架,向開發人員介紹Scala世界中可用的不同編程範式,以創建RESTful服務。它討論了RESTful網絡服務的各個方面,如構建可擴展的API,使用HTTP和MIME等標準,設計架構,保護網絡服務等。

通過本書,您將能夠使用Finch,Unfiltered,Scalatra,Akka-HTTP和Play等各種Scala框架構建RESTful網絡服務。您將使用框架創建基本的REST服務,然後通過自定義功能擴展REST服務。在本書結束時,您將能夠決定哪個框架最適合您的需求。我們最後將介紹如何使用這些框架提供的一些高級功能,例如安全性,創建HTTP客戶端,使用HATEOAS等。