Mastering JavaScript Design Patterns
暫譯: 精通 JavaScript 設計模式

Simon Timms

  • 出版商: Packt Publishing
  • 出版日期: 2014-11-22
  • 售價: $2,000
  • 貴賓價: 9.5$1,900
  • 語言: 英文
  • 頁數: 290
  • 裝訂: Paperback
  • ISBN: 1783987987
  • ISBN-13: 9781783987986
  • 相關分類: JavaScriptDesign Pattern
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Key Features

  • Learn how to use tried and true software design methodologies to enhance your Javascript code
  • Discover robust JavaScript implementations of classic as well as advanced design patterns
  • Packed with easy-to-follow examples that can be used to create reusable code and extensible designs

Book Description

Enhance your JavaScript code with this essential collection of design patterns. Discover an extensive range of techniques and strategies to successfully tackle complex JavaScript development problems and put them into practice by following detailed examples that demonstrate each design pattern at its most effective. Dive deeper into JavaScript and master these powerful design patterns for an innovative and cutting-edge approach to JavaScript that meets the demands of modern web development.

Explore how design patterns can help you improve your JavaScript code and get to grips with creational, structural behavioral patterns, as you discover how to put them to work in different scenarios. Then look deeper at patterns used in functional programming, as well as model view patterns, and patterns to build web applications. You will also find patterns to improve the testability of your code using mock objects, mocking frameworks and monkey patching along with some advanced patterns including dependency injection and live post processing.

Taking a complete and journey through the most valuable design patterns, and providing clear guidance on how to effectively use them in JavaScript, this JavaScript book gives you access to one of the best ways to learn JavaScript and use it to meet the demands of web development today.

What you will learn

  • Discover and use tried and tested design patterns for a more effective approach to JavaScript
  • Learn simple strategies for improving your code organization
  • Get to grips with creational, behavioural and structural design patterns
  • Rethink and revitalize your code with the use of functional patterns
  • Harness the power of design patterns for a range of development tasks from building an application to code testing
  • Explore advanced JavaScript design patterns including dependency injection

About the Author

Simon Timms is a developer who loves to write code. He writes in a variety of languages using a number of tools. For the most part, he develops web applications with .NET backends. He is very interested in data visualization and cloud computing. A background in build and system administration keeps him on the straight and narrow when it comes to DevOps.

Table of Contents

  1. Organizing Code
  2. Creational Patterns
  3. Structural Patterns
  4. Behavioral Patterns
  5. Functional Programming
  6. Model View Patterns
  7. Web Patterns
  8. Messaging Patterns
  9. Patterns For Testing
  10. Advanced Patterns
  11. ES6 Solutions Today

商品描述(中文翻譯)

**主要特點**
- 學習如何使用經過驗證的軟體設計方法來增強您的 JavaScript 代碼
- 發現經典及進階設計模式的穩健 JavaScript 實作
- 充滿易於跟隨的範例,可用於創建可重用的代碼和可擴展的設計

**書籍描述**
透過這本必備的設計模式合集,增強您的 JavaScript 代碼。發現一系列廣泛的技術和策略,以成功解決複雜的 JavaScript 開發問題,並通過詳細的範例將其付諸實踐,這些範例展示了每個設計模式的最佳效果。深入了解 JavaScript,掌握這些強大的設計模式,為滿足現代網頁開發需求提供創新和前沿的方法。

探索設計模式如何幫助您改善 JavaScript 代碼,並掌握創建型、結構型和行為型模式,了解如何在不同情境中運用它們。然後深入研究功能性程式設計中使用的模式,以及模型視圖模式和構建網頁應用程式的模式。您還會發現使用模擬物件、模擬框架和猴子補丁來提高代碼可測試性的模式,以及一些進階模式,包括依賴注入和即時後處理。

這本 JavaScript 書籍全面介紹了最有價值的設計模式,並提供了如何在 JavaScript 中有效使用它們的清晰指導,讓您能夠學習 JavaScript 的最佳方法,並用它來滿足當今網頁開發的需求。

**您將學到的內容**
- 發現並使用經過驗證的設計模式,以更有效的方式處理 JavaScript
- 學習改善代碼組織的簡單策略
- 掌握創建型、行為型和結構型設計模式
- 重新思考並振興您的代碼,使用功能性模式
- 利用設計模式的力量來處理從構建應用程式到代碼測試的一系列開發任務
- 探索包括依賴注入在內的進階 JavaScript 設計模式

**關於作者**
**Simon Timms** 是一位熱愛編寫代碼的開發者。他使用多種語言和工具進行編程。大部分時間,他開發具有 .NET 後端的網頁應用程式。他對數據可視化和雲計算非常感興趣。擁有建置和系統管理的背景,使他在 DevOps 方面保持正道。

**目錄**
1. 組織代碼
2. 創建型模式
3. 結構型模式
4. 行為型模式
5. 功能性程式設計
6. 模型視圖模式
7. 網頁模式
8. 訊息模式
9. 測試模式
10. 進階模式
11. 今日的 ES6 解決方案