TypeScript 5 Design Patterns and Best Practices - Second Edition: Build clean and scalable apps with proven patterns and expert insights
暫譯: TypeScript 5 設計模式與最佳實踐 - 第二版:使用經驗法則與專家見解構建乾淨且可擴展的應用程式
Despoudis, Theofanis
- 出版商: Packt Publishing
- 出版日期: 2025-02-27
- 售價: $1,700
- 貴賓價: 9.5 折 $1,615
- 語言: 英文
- 頁數: 424
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1835883222
- ISBN-13: 9781835883228
-
相關分類:
JVM 語言、JavaScript、TypeScript、Design Pattern
海外代購書籍(需單獨結帳)
商品描述
Apply time-tested design patterns and techniques to build robust and maintainable applications using modern practices
Key Features:
- Identify and avoid common gotchas and anti-patterns in TypeScript app development
- Leverage functional and reactive paradigms for effective TypeScript development
- Discover how to improve your application's code reusability and testability
- Purchase of the print or Kindle book includes a free PDF eBook
Book Description:
Design patterns are the backbone of many world-renowned software applications, both commercial and open source. Written by a well-known author and accomplished software developer, this in-depth guide will empower you to build robust and scalable TypeScript apps with design patterns in TypeScript 5, making it your go-to resource for mastering TypeScript and leveraging design patterns effectively.
This second edition has been updated with TypeScript 5 features, such as improved type inference, union enums, and decorators to write clean and maintainable code that can adapt to future changes. The chapters teach you the classic Gang of Four design patterns, providing traditional and modern real-world implementations. You'll also get a clear understanding of the power of functional and reactive programming patterns that have been specifically designed for idiomatic TypeScript development.
By the end of this book, you'll be a design pattern pro, capable of confidently identifying and applying the right pattern for any scenario, as well as crafting well-structured, maintainable, and testable TypeScript code.
What You Will Learn:
- Comprehend the principles of design patterns and their role in TypeScript development
- Explore essential design patterns, including creational, structural, and behavioral patterns with TypeScript
- Differentiate between design patterns and design concepts and apply them effectively
- Develop practical expertise in implementing design patterns in TypeScript projects through in-depth insights
- Explore advanced patterns from functional and reactive programming paradigms
- Architect scalable and robust TypeScript apps using design patterns and best practices
Who this book is for:
If you're a TypeScript 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. Prior knowledge of design patterns is not necessary-all you need is basic TypeScript knowledge to get started with this book.
Table of Contents
- Getting Started with TypeScript 5
- TypeScript Core Principles
- Creational Design Patterns
- Structural Design Patterns
- Behavioral Design Patterns for Object Communication
- Behavioral Design Patterns for Managing State and Behavior
- Functional Programming with TypeScript
- Reactive and Asynchronous Programming
- Developing Modern and Robust TypeScript Applications
- Anti-Patterns and Workarounds
- Exploring Design Patterns in Open Source Architectures
商品描述(中文翻譯)
應用經典設計模式和技術,使用現代實踐構建穩健且可維護的應用程式
主要特點:
- 識別並避免 TypeScript 應用程式開發中的常見陷阱和反模式
- 利用函數式和反應式範式進行有效的 TypeScript 開發
- 探索如何提高應用程式的代碼重用性和可測試性
- 購買印刷版或 Kindle 書籍可獲得免費 PDF 電子書
書籍描述:
設計模式是許多世界知名的商業和開源軟體應用程式的基石。本書由一位知名作者和成功的軟體開發者撰寫,這本深入的指南將使您能夠使用 TypeScript 5 中的設計模式構建穩健且可擴展的 TypeScript 應用程式,成為您掌握 TypeScript 和有效利用設計模式的首選資源。
本第二版已更新 TypeScript 5 的新特性,如改進的類型推斷、聯合列舉和裝飾器,以編寫乾淨且可維護的代碼,能夠適應未來的變化。各章節教授經典的四人幫設計模式,提供傳統和現代的實際實現。您還將清楚理解專為慣用 TypeScript 開發設計的函數式和反應式編程模式的強大之處。
在本書結束時,您將成為設計模式的專家,能夠自信地識別並應用適合任何情境的模式,並編寫結構良好、可維護且可測試的 TypeScript 代碼。
您將學到什麼:
- 理解設計模式的原則及其在 TypeScript 開發中的角色
- 探索基本的設計模式,包括創建型、結構型和行為型模式與 TypeScript 的結合
- 區分設計模式和設計概念並有效應用
- 通過深入的見解發展在 TypeScript 專案中實施設計模式的實用專業知識
- 探索來自函數式和反應式編程範式的進階模式
- 使用設計模式和最佳實踐架構可擴展且穩健的 TypeScript 應用程式
本書適合誰:
如果您是一位 TypeScript 開發者,想學習如何應用既定的設計模式來解決常見的程式設計問題,而不是重新發明解決方案,您會發現這本書非常有用。對設計模式的先前知識並不是必需的——您只需具備基本的 TypeScript 知識即可開始閱讀本書。
目錄
- 開始使用 TypeScript 5
- TypeScript 核心原則
- 創建型設計模式
- 結構型設計模式
- 用於物件通信的行為型設計模式
- 用於管理狀態和行為的行為型設計模式
- 使用 TypeScript 的函數式編程
- 反應式和非同步編程
- 開發現代且穩健的 TypeScript 應用程式
- 反模式和變通方法
- 探索開源架構中的設計模式