TypeScript 4 Design Patterns and Best Practices: Discover effective techniques and design patterns for every programming task

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 4 設計模式與最佳實踐》

主要特點


  • 了解、分析和開發 TypeScript 中的經典設計模式

  • 探索來自函數式編程和反應式編程的高級設計模式

  • 在開發大型 TypeScript 應用程序時,發現有用的技巧和注意事項

書籍描述

TypeScript 是一種在 JavaScript 上的超集語言,引入了類型安全和增強的開發者工具。《TypeScript 4 設計模式與最佳實踐》將幫助您理解設計模式並學習製作可擴展的 TypeScript 應用程序的最佳實踐。它還將成為未來維護者的便捷文檔。

本書以實踐的方式幫助您開始實施 TypeScript 設計模式和相關方法,以編寫可測試的代碼。您將首先探索 TypeScript 4 的實際應用和新功能。然後,本書將帶您深入了解傳統的四人幫(GOF)設計模式,例如行為、創建和結構模式,以及它們的經典和替代形式,並向您展示如何在實際開發項目中使用它們。一旦您掌握了傳統設計模式,您將進一步學習它們的函數式編程和反應式編程對應方式,以及如何結合它們以提供更好和更符合慣用的 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

目錄大綱(中文翻譯)

- 開始使用 TypeScript 4
- TypeScript 的原則和使用案例
- 創建型設計模式
- 結構型設計模式
- 行為型設計模式
- 函數式程式設計概念
- 反應式設計模式
- 開發堅固且現代的 TypeScript 應用程式
- 反模式和解決方案

最後瀏覽商品 (1)