TypeScript 4 Design Patterns and Best Practices: Discover effective techniques and design patterns for every programming task
暫譯: TypeScript 4 設計模式與最佳實踐:發現每個程式任務的有效技術與設計模式

Despoudis, Theo

  • 出版商: Packt Publishing
  • 出版日期: 2021-09-15
  • 售價: $1,600
  • 貴賓價: 9.5$1,520
  • 語言: 英文
  • 頁數: 350
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1800563426
  • ISBN-13: 9781800563421
  • 相關分類: JavaScriptTypeScriptDesign Pattern
  • 立即出貨 (庫存 < 3)

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

相關主題

商品描述

Key Features

  • Understand, analyze, and develop classical design patterns in TypeScript
  • Explore advanced design patterns taken from functional programming and reactive programming
  • Discover useful techniques and gotchas when developing large-scale TypeScript applications

Book Description

TypeScript is a superset language on top of JavaScript that introduces type safety and enhanced developer tooling. TypeScript 4 Design Patterns and Best Practices will assist with understanding design patterns and learning best practices for producing scalable TypeScript applications. It will also serve as handy documentation for future maintainers.

This book takes a hands-on approach to helping you get up and running with the implementation of TypeScript design patterns and associated methodologies for writing testable code. You'll start by exploring the practical aspects of TypeScript 4 and its new features. The book will then take you through traditional gang of four (GOF) design patterns, such as behavioral, creational, and structural in their classic and alternative forms, and show you how you can use them in real-world development projects. Once you've got to grips with traditional design patterns, you'll advance to learning about their functional programming and reactive programming counterparts and how they can be coupled to deliver better and more idiomatic TypeScript code.

By the end of this TypeScript book, you'll be able to efficiently recognize when and how to use the right design patterns in any practical use case and gain the confidence to work on scalable and maintainable TypeScript projects of any size.

What you will learn

  • Understand the role of design patterns and their significance
  • Explore all significant design patterns within the context of TypeScript
  • Find out how design patterns differ from design concepts
  • Understand how to put the principles of design patterns into practice
  • Discover additional patterns that stem from functional and reactive programming
  • Recognize common gotchas and antipatterns when developing TypeScript applications and understand how to avoid them

Who this book is for

If you're a developer looking to learn how to apply established design patterns to solve common programming problems instead of reinventing solutions, you'll find this book useful. You're not expected to have prior knowledge of design patterns. Basic TypeScript knowledge is all you need to get started with this book.

商品描述(中文翻譯)

#### 主要特點

- 理解、分析並開發 TypeScript 中的經典設計模式
- 探索來自函數式編程和反應式編程的進階設計模式
- 發現開發大型 TypeScript 應用程式時的有用技巧和注意事項

#### 書籍描述

TypeScript 是一種基於 JavaScript 的超集語言,提供類型安全和增強的開發工具。 《TypeScript 4 設計模式與最佳實踐》將幫助您理解設計模式並學習生產可擴展 TypeScript 應用程式的最佳實踐。它也將作為未來維護者的實用文檔。

本書採取實作導向的方法,幫助您快速上手 TypeScript 設計模式的實現及相關的可測試代碼編寫方法。您將從探索 TypeScript 4 的實用方面及其新特性開始。然後,本書將帶您了解傳統的四人幫(GOF)設計模式,例如行為型、創建型和結構型的經典及替代形式,並展示如何在實際開發項目中使用它們。一旦您掌握了傳統設計模式,您將進一步學習它們在函數式編程和反應式編程中的對應模式,以及如何將它們結合以提供更好且更符合語言習慣的 TypeScript 代碼。

在這本 TypeScript 書籍結束時,您將能夠有效識別在任何實際用例中何時以及如何使用正確的設計模式,並獲得信心,能夠在任何規模的可擴展和可維護的 TypeScript 項目上工作。

#### 您將學到的內容

- 理解設計模式的角色及其重要性
- 探索 TypeScript 中所有重要的設計模式
- 瞭解設計模式與設計概念的區別
- 理解如何將設計模式的原則付諸實踐
- 發現源自函數式和反應式編程的其他模式
- 認識在開發 TypeScript 應用程式時常見的注意事項和反模式,並理解如何避免它們

#### 本書適合誰

如果您是一位開發者,想學習如何應用既有的設計模式來解決常見的編程問題,而不是重新發明解決方案,您會發現這本書非常有用。您不需要具備設計模式的先前知識,基本的 TypeScript 知識即可讓您開始閱讀本書。

作者簡介

Theo Despoudis lives in Ireland, where he works as a Software Engineer for WP Engine and as a part-time tech practitioner for Fixate. He is the co-author of The React Workshop and Advanced Go Programming in 7 Days, Dzone Core Member, and maintains some open source projects on GitHub. Theo is available for conference talks, independent consulting, and corporate training services opportunities.

作者簡介(中文翻譯)

Theo Despoudis 住在愛爾蘭,擔任 WP Engine 的軟體工程師,並且是 Fixate 的兼職技術實踐者。他是《The React Workshop》和《Advanced Go Programming in 7 Days》的共同作者,Dzone 核心成員,並在 GitHub 上維護一些開源專案。Theo 可提供會議演講、獨立諮詢和企業培訓服務的機會。

目錄大綱

  1. Getting Started With Typescript 4
  2. Typescript Principles and Use Cases
  3. Creational Design Patterns
  4. Structural Design Patterns
  5. Behavioral Design Patterns
  6. Functional Programming Design Concepts
  7. Reactive Design Patterns
  8. Developing Robust and Modern Typescript Applications
  9. Anti Patterns and Workarounds

目錄大綱(中文翻譯)


  1. Getting Started With Typescript 4

  2. Typescript Principles and Use Cases

  3. Creational Design Patterns

  4. Structural Design Patterns

  5. Behavioral Design Patterns

  6. Functional Programming Design Concepts

  7. Reactive Design Patterns

  8. Developing Robust and Modern Typescript Applications

  9. Anti Patterns and Workarounds