Beginning Scala, 2/e (Paperback)
暫譯: Scala 程式設計入門 (第二版)

Vishal Layka

  • 出版商: Apress
  • 出版日期: 2015-03-11
  • 售價: $1,930
  • 貴賓價: 9.5$1,834
  • 語言: 英文
  • 頁數: 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 的結構和庫,讓您能夠將小組件組合成高效能、可擴展的系統。您將學習為什麼 Scala 被 Twitter、LinkedIn、Foursquare、The Guardian、摩根士丹利、瑞士信貸、瑞銀和匯豐等領先公司明智地用於關鍵商業應用。

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

### 您將學到什麼
• 理解編寫 Scala 程式的基本語法和機制
• 學習 Scala 的物件導向特性
• 使用 Scala 的函數式編程特性來定義和管理併發
• 使用 Scala 的解析器組合器庫構建解析器
• 使用 Scala 創建和操作 XML 內容
• 利用 Scala 的標準註解,甚至創建您自己的註解
• 整合和重用現有的 Java 代碼庫
• 構建包含 Scala 和 Java 代碼及依賴的專案
• 使用 Scala 庫和 Scala 網頁框架(如 Play 2)來構建網頁應用程式

### 本書適合誰
本書適合所有程式設計愛好者以及希望減少樣板代碼、提高團隊效能、改善團隊間動態並構建更可擴展和穩健系統的 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 構建網頁應用程式
12 : DSL
13 : Scala 最佳實踐