Scala Design Patterns: Design modular, clean, and scalable applications by applying proven design patterns in Scala, 2nd Edition

Ivan Nikolov

  • 出版商: Packt Publishing
  • 出版日期: 2018-04-11
  • 售價: $1,950
  • 貴賓價: 9.5$1,853
  • 語言: 英文
  • 頁數: 396
  • 裝訂: Paperback
  • ISBN: 178847130X
  • ISBN-13: 9781788471305
  • 相關分類: JVM 語言Design Pattern
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Learn how to write efficient, clean, and reusable code with Scala

Key Features

  • Unleash the power of Scala and apply it in the real world to build scalable and robust applications.
  • Learn about using and implementing Creational, Structural, Behavioral, and Functional design patterns in Scala
  • Learn how to build scalable and extendable applications efficiently

Book Description

Design patterns make developers' lives easier by helping them write great software that is easy to maintain, runs efficiently, and is valuable to the company or people concerned. You'll learn about the various features of Scala and will be able to apply well-known, industry-proven design patterns in your work.

The book starts off by focusing on some of the most interesting and latest features of Scala while using practical real-world examples. We will be learning about IDE's and Aspect Oriented Programming. We will be looking into different components in Scala. We will also cover the popular "Gang of Four" design patterns and show you how to incorporate functional patterns effectively. The book ends with a practical example that demonstrates how the presented material can be combined in real-life applications. You'll learn the necessary concepts to build enterprise-grade applications.

By the end of this book, you'll have enough knowledge and understanding to quickly assess problems and come up with elegant solutions.

What you will learn

  • Immerse yourself in industry-standard design patterns-structural, creational, and behavioral-to create extraordinary applications
  • See the power of traits and their application in Scala
  • Implement abstract and self types and build clean design patterns
  • Build complex entity relationships using structural design patterns
  • Create applications faster by applying functional design patterns

Who This Book Is For

If you want to increase your understanding of Scala and apply design patterns to real-life application development, then this book is for you.Prior knowledge of Scala language is assumed/ expected.

Table of Contents

  1. The Design Patterns Out There and Setting Up Your Environment
  2. Traits and Mixin Compositions
  3. Unification
  4. Abstract and Self Types
  5. Aspect-Oriented Programming and Components
  6. Creational Design Patterns
  7. Structural Design Patterns
  8. Behavioral Design Patterns - Part one
  9. Behavioral Design Patterns - Part two
  10. Functional Design Patterns - the Deep Theory
  11. Applying What We HaveLearned
  12. Real-Life Applications

商品描述(中文翻譯)

學習如何使用 Scala 編寫高效、乾淨且可重用的程式碼

主要特點
- 釋放 Scala 的力量,並在現實世界中應用它來構建可擴展且穩健的應用程式。
- 學習在 Scala 中使用和實現創建型、結構型、行為型和函數型設計模式。
- 學習如何高效地構建可擴展和可延伸的應用程式。

書籍描述
設計模式使開發者的生活更輕鬆,幫助他們編寫易於維護、運行高效且對公司或相關人員有價值的優秀軟體。您將學習 Scala 的各種特性,並能在工作中應用知名的、業界驗證的設計模式。

本書首先專注於 Scala 中一些最有趣和最新的特性,並使用實際的現實世界範例。我們將學習 IDE 和面向方面的程式設計。我們將探討 Scala 中的不同組件。我們還將涵蓋流行的「四人幫」設計模式,並向您展示如何有效地結合函數型模式。本書以一個實際範例結束,展示如何將所呈現的材料結合在現實應用中。您將學習構建企業級應用程式所需的概念。

在本書結束時,您將擁有足夠的知識和理解,能夠快速評估問題並提出優雅的解決方案。

您將學習的內容
- 沉浸於行業標準的設計模式——結構型、創建型和行為型——以創建非凡的應用程式
- 了解 traits 的力量及其在 Scala 中的應用
- 實現抽象類型和自我類型,並構建乾淨的設計模式
- 使用結構型設計模式構建複雜的實體關係
- 通過應用函數型設計模式更快地創建應用程式

本書適合誰
如果您想增進對 Scala 的理解並將設計模式應用於現實應用程式開發,那麼這本書適合您。假設/預期您具備 Scala 語言的先前知識。

目錄
1. 現有的設計模式及環境設置
2. Traits 和 Mixin 組合
3. 統一
4. 抽象類型和自我類型
5. 面向方面的程式設計和組件
6. 創建型設計模式
7. 結構型設計模式
8. 行為型設計模式 - 第一部分
9. 行為型設計模式 - 第二部分
10. 函數型設計模式 - 深入理論
11. 應用我們所學的知識
12. 現實應用程式