#JavaScript Patterns ##Design Patterns
- Singleton 單體模式, Demo
- Factory 工廠模式, Demo
- Iterator 迭代器模式, Demo
- Decorator 裝飾者模式, Demo
- Strategy 策略模式, Demo 1, Demo 2
- Facade
- Proxy
- Mediator
- Observer
##DOM and Browser Patterns
- DOM Scripting
- Events
- Long-Running Scripts
- Remote Scripting
- XMLHttpRequest
- JSONP
- Frames and Image Beacons
 
- Deploying JavaScript
- Combining Scripts
- Minifying and Compressing
- gzip
 
- Expires Header
- Using a CDN
 
- Loading Strategies
- The Place of the <script>Element
- HTTP Chunking
- Dynamic <script>Element for Nonblocking Downloads
- Lazy-Loading
- Loading on Demand
- Preloading JavaScript
 
- The Place of the