Beginning Scala, 2/e (Paperback)

Vishal Layka

  • 出版商: Apress
  • 出版日期: 2015-03-11
  • 售價: $1,810
  • 貴賓價: 9.5$1,720
  • 語言: 英文
  • 頁數: 260
  • 裝訂: Paperback
  • ISBN: 1484202333
  • ISBN-13: 9781484202333
  • 相關分類: JVM 語言
  • 無法訂購

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

商品描述

Beginning Scala, Second Edition takes a down-to-earth approach to teaching Scala that leads you through simple examples that can be combined to build complex, scalable systems and applications.

This book introduces you to the Scala programming language, its object-oriented and functional programming characteristics, and then guides you through Scala constructs and libraries that allow you to assemble small components into high-performance, scalable systems. You will learn why Scala is judiciously used for critical business applications by leading companies such as Twitter, LinkedIn, Foursquare, the Guardian, Morgan Stanley, Credit Suisse, UBS, and HSBC.

Scala is a multi-paradigm programming language that combines both functional and object-oriented features. Moreover, this highly scalable language lends itself well to building cloud-based/deliverable Software as a Service (SaaS) online applications.

What you’ll learn

• Understand the basic syntax and mechanisms for writing Scala programs

• Learn the object-oriented features of Scala

• Use Scala's functional programming features to define and manage concurrency

• Build parsers using Scala’s library of parser combinators

• Create and manipulate XML content using Scala

• Take advantage of Scala's standard annotations and even create your own

• Integrate and reuse an existing Java codebase

• Build projects that contain both Scala and Java code and dependencies

• Use Scala libraries and Scala web frameworks such as Play 2 to build web applications with Scala

Who this book is for

This book is for all programming enthusiasts and for Java developers looking to reduce boilerplate code, improve team performance, improve inter-team dynamics, and build more scalable and robust systems. Also, this book will appeal to Java developers looking to do cloud-based development. Lastly, Ruby, Python, Groovy and other programmers looking for a higher performance and a more robust language will benefit.

Table of Contents

1 : Getting started with Scala

2 : Basics of Scala

3 : OOP in Scala

4: Functional programming in Scala

5: Pattern matching

6: Scala Collections

7: Traits

8: Types and Implicits

9: Scala and Java Interoperability

10: SBT

11: Building web applications with Scala

12: DSL

13: Scala Best practices

商品描述(中文翻譯)

《Beginning Scala, Second Edition》以平易近人的方式教授Scala,通過簡單的示例引導讀者建立複雜且可擴展的系統和應用程序。

本書介紹了Scala編程語言,其面向對象和函數式編程特性,並指導讀者使用Scala的結構和庫將小組件組合成高性能、可擴展的系統。你將了解為什麼Twitter、LinkedIn、Foursquare、The Guardian、摩根士丹利、瑞士信貸、瑞銀和匯豐等領先公司會明智地選擇Scala用於關鍵業務應用。

Scala是一種多範式編程語言,結合了函數式和面向對象的特性。此外,這種高度可擴展的語言非常適合構建基於雲端的軟件即服務(SaaS)在線應用程序。

你將學習以下內容:
• 理解Scala程序的基本語法和機制
• 學習Scala的面向對象特性
• 使用Scala的函數式編程特性來定義和管理並發
• 使用Scala的解析器組合庫構建解析器
• 使用Scala創建和操作XML內容
• 利用Scala的標準註釋,甚至創建自己的註釋
• 整合和重用現有的Java代碼庫
• 構建包含Scala和Java代碼及依賴的項目
• 使用Scala庫和Scala Web框架(如Play 2)構建Scala Web應用程序

本書適合所有編程愛好者和希望減少樣板代碼、提高團隊績效、改善團隊間動態以及構建更可擴展和健壯系統的Java開發人員。同時,本書也適合希望進行基於雲端開發的Java開發人員。最後,Ruby、Python、Groovy和其他希望獲得更高性能和更健壯語言的程序員也會受益。

目錄:
1. 開始使用Scala
2. Scala基礎
3. Scala中的面向對象編程
4. Scala中的函數式編程
5. 模式匹配
6. Scala集合
7. 特徵
8. 類型和隱式
9. Scala和Java互操作性
10. SBT
11. 使用Scala構建Web應用程序
12. 領域特定語言(DSL)
13. Scala最佳實踐