MasteringJavaScriptDesignPatterns-Second.epub
- 资料大王PDF
-
0 次阅读
-
0 次下载
-
2024-05-06 19:44:51
微信
赏
支付宝
文档简介:
Mastering JavaScript Design
Patterns Second Edition
Table of Contents
Mastering JavaScript Design Patterns Second Edition
Credits
About the Author
About the Reviewer
www.PacktPub.com
eBooks, discount offers, and more
Why subscribe?
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Designing for Fun and Profit
The road to JavaScript
The early days
A pause
The way of GMail
JavaScript everywhere
What is a design pattern?
Anti-patterns
Summary
I. Classical Design Patterns
2. Organizing Code
Chunks of code
What's the matter with global scope anyway?
Objects in JavaScript
Build me a prototype
Inheritance
Modules
ECMAScript 2015 classes and modules
Best practices and troubleshooting
Summary
3. Creational Patterns
Abstract factory
Implementation
Builder
Implementation
Factory method
Implementation
Singleton
Implementation
Disadvantages
Prototype
Implementation
Tips and tricks
Summary
4. Structural Patterns
Adapter
Implementation
Bridge
Implementation
Composite
Example
Implementation
Decor......
评论
发表评论