Mastering JavaScript Design Patterns - Second Edition
暫譯: 精通 JavaScript 設計模式 - 第二版

Simon Timms

  • 出版商: Packt Publishing
  • 出版日期: 2016-06-30
  • 售價: $1,830
  • 貴賓價: 9.5$1,739
  • 語言: 英文
  • 頁數: 290
  • 裝訂: Paperback
  • ISBN: 1785882163
  • ISBN-13: 9781785882166
  • 相關分類: 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 and advanced design patterns
  • Packed with easy-to-follow examples that can be used to create reusable code and extensible designs

Book Description

With the recent release of ES-2015, there are several new object-oriented features and functions introduced in JavaScript. These new features enhance the capabilities of JavaScript to utilize design patterns and software design methodologies to write powerful code.

Through this book, you will explore how design patterns can help you improve and organize your JavaScript code. You'll get to grips with creational, structural and behavioral patterns as you discover how to put them to work in different scenarios. Then, you'll get a deeper look at patterns used in functional programming, as well as model view patterns and patterns to build web applications.

This updated edition will also delve into reactive design patterns and microservices as they are a growing phenomenon in the world of web development. You will also find patterns to improve the testability of your code using mock objects, mocking frameworks, and monkey patching. We'll also show you some advanced patterns including dependency injection and live post processing.

By the end of the book, you'll be saved of a lot of trial and error and developmental headaches, and you will be on the road to becoming a JavaScript expert.

What you will learn

  • Harness the power of patterns for tasks ranging from application building to code testing
  • Rethink and revitalize your code with the use of functional patterns
  • Improve the way you organize your code
  • Build large-scale apps seamlessly with the help of reactive patterns
  • Identify the best use cases for microservices
  • Get to grips with creational, behavioral, and structural design patterns
  • Explore advanced design patterns including dependency injection

About the Author

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

He is the author of Social Data Visualization with HTML5 and JavaScript, Packt Publishing. He blogs on blog.simontimms.com, and he is also a frequent contributor to the Western Devs (http://westerndevs.com), which is a loose collaboration of developers mostly located in Canada. Twice a week, he participates in a videocast called The ASP.NET Monsters about the future of ASP.NET, which is one of the most popular series on Microsoft's Channel 9 video service (https://channel9.msdn.com/Series/aspnetmonsters).

Simon is the president of the Calgary .Net user group and a member of half a dozen other groups. He speaks on a variety of topics from DevOps to how the telephone system works. He works as a principal software developer for Clear-Measure located in Austin, Texas. He is currently working on a new title about ASP.NET Core.

Table of Contents

  1. Designing for Fun and Profit
  2. Organizing Code
  3. Creational Patterns
  4. Structural Patterns
  5. Behavioral Patterns
  6. Functional Programming
  7. Reactive Programming
  8. Application Patterns
  9. Web Patterns
  10. Messaging Patterns
  11. Microservices
  12. Patterns for Testing
  13. Advanced Patterns
  14. ECMAScript-2015/2016 Solutions Today

商品描述(中文翻譯)

#### 主要特點
- 學習如何使用經過驗證的軟體設計方法來增強您的 JavaScript 代碼
- 探索經典和先進設計模式的穩健 JavaScript 實現
- 充滿易於遵循的範例,可用於創建可重用的代碼和可擴展的設計

#### 書籍描述
隨著 ES-2015 的最近發布,JavaScript 引入了幾個新的物件導向特性和功能。這些新特性增強了 JavaScript 利用設計模式和軟體設計方法撰寫強大代碼的能力。

通過本書,您將探索設計模式如何幫助您改善和組織您的 JavaScript 代碼。您將掌握創建型、結構型和行為型模式,並發現如何在不同場景中運用它們。接著,您將深入了解在函數式編程中使用的模式,以及模型視圖模式和構建網頁應用程式的模式。

本更新版還將深入探討反應式設計模式和微服務,因為它們在網頁開發領域中正成為一種日益增長的現象。您還會找到使用模擬物件、模擬框架和猴子補丁來改善代碼可測試性的模式。我們還將向您展示一些先進的模式,包括依賴注入和即時後處理。

在書籍結束時,您將避免許多試錯和開發上的頭痛,並將踏上成為 JavaScript 專家的道路。

#### 您將學到的內容
- 利用模式的力量來處理從應用程式構建到代碼測試的任務
- 重新思考並振興您的代碼,使用函數式模式
- 改善您組織代碼的方式
- 在反應式模式的幫助下無縫構建大型應用程式
- 確定微服務的最佳使用案例
- 掌握創建型、行為型和結構型設計模式
- 探索包括依賴注入在內的先進設計模式

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

他是《使用 HTML5 和 JavaScript 的社交數據可視化》的作者,出版商為 Packt Publishing。他在 blog.simontimms.com 上撰寫部落格,並且是 Western Devs(http://westerndevs.com)的頻繁貢獻者,這是一個主要位於加拿大的開發者的鬆散合作組織。他每週參加兩次名為 The ASP.NET Monsters 的視頻播客,討論 ASP.NET 的未來,這是微軟 Channel 9 視頻服務(https://channel9.msdn.com/Series/aspnetmonsters)上最受歡迎的系列之一。

Simon 是卡爾加里 .Net 使用者小組的主席,也是其他六個小組的成員。他講授的主題範圍廣泛,從 DevOps 到電話系統的運作。他目前在德克薩斯州奧斯丁的 Clear-Measure 擔任首席軟體開發者,並正在撰寫一本關於 ASP.NET Core 的新書。

#### 目錄
1. 設計的樂趣與利潤
2. 組織代碼
3. 創建型模式
4. 結構型模式
5. 行為型模式
6. 函數式編程
7. 反應式編程
8. 應用模式
9. 網頁模式
10. 訊息模式
11. 微服務
12. 測試模式
13. 先進模式
14. ECMAScript-2015/2016 當前解決方案