- jQuery Design Patterns
- Thodoris Greasidis
- 110字
- 2021-07-16 12:52:26
Chapter 2. The Observer Pattern
In this chapter, we will showcase the Observer Pattern and the convenient way in which we can utilize it in our pages using jQuery. Later on, we will also explain the Delegated Event Observer Pattern variant, which when properly applied to web pages can lead to code simplifications and also lessen the memory consumption that a page requires.
In this chapter, we will:
- Introduce the Observer Pattern
- See how the Observer Pattern is used by jQuery
- Compare the Observer Pattern with using the event attributes
- Learn how to avoid memory leaks from observers
- Introduce the Delegated Event Observer Pattern and showcasing its benefits
推薦閱讀
- MySQL數據庫應用與管理 第2版
- Leap Motion Development Essentials
- 算法基礎:打開程序設計之門
- Flash CS6中文版應用教程(第三版)
- Python完全自學教程
- Linux Device Drivers Development
- Learning Hunk
- UML 基礎與 Rose 建模案例(第3版)
- 利用Python進行數據分析
- PHP編程基礎與實例教程
- Swift 4 Protocol-Oriented Programming(Third Edition)
- Django 3.0入門與實踐
- Elasticsearch Essentials
- 并行編程方法與優化實踐
- UI設計基礎培訓教程(全彩版)