官术网_书友最值得收藏!

Behavioral Design Patterns

In the previous chapter, we explored Object-Oriented Programming (OOP) and accepted it as the preferred programming approach for this and the remaining chapters in the book. We learned the key OOP principles—concise objects, encapsulation to protect, and purposeful inheritance—and we will see evidence of those principles in the design patterns and source code presented throughout this book.

In this chapter, we will explore the behavioral design pattern category and its individual design patterns listed as follows. We will examine programming challenges and the behavioral design patterns that solve them:

  • Introducing behavioral design patterns
  • Chain of responsibility pattern
  • Command pattern
  • Interpreter pattern
  • Iterator pattern
  • Mediator pattern
  • Memento pattern
  • Null object pattern
  • Observer pattern
  • State pattern
  • Strategy pattern
  • Template method pattern
  • Visitor pattern

主站蜘蛛池模板: 达尔| 金坛市| 建阳市| 富源县| 伊宁县| 那坡县| 陆河县| 博乐市| 贡嘎县| 德兴市| 临洮县| 苏州市| 讷河市| 荆门市| 务川| 商水县| 章丘市| 怀柔区| 察雅县| 青铜峡市| 沙洋县| 江孜县| 米林县| 鸡西市| 石门县| 荃湾区| 乌拉特后旗| 阿巴嘎旗| 河曲县| 无极县| 香格里拉县| 安化县| 抚远县| 凤翔县| 常宁市| 江源县| 马关县| 禹城市| 策勒县| 松阳县| 永平县|