Categories of design patterns [closed]

浪子不回头ぞ 提交于 2019-12-04 14:33:51

CategoryPatterns on Ward's wiki contains a categorized list of patterns.

The first three are the GoF patterns

  • Creational
  • Structural
  • Behavioural

Then there are problem specific problems

  • Security
  • Concurrency
  • RealTime

Fowler's pattern are Enterprise Application Patterns. There are also Enterprise Integration Patterns. UI patterns also exist.. and so on...

I'm just adding an answer since I had this question answered somewhat differently. According to POSA (the Pattern Oriented Software Architecture series of books), there are three levels of patterns :

  • Architectural Patterns (e.g. Layers, MVC, P2P )
  • Design Patterns (e.g. GoF patterns)
  • Idioms (e.g. language specific patterns like Pimpl, RAII in C++)

The GoF patterns are also strictly applicable to code only. Fowler's patterns are not just for code but also for how data and system components are arranged and interconnected.

Also, some patterns are not necessary if they're already baked in the programming language. In some languages they are simply idioms. One has actually made the argument that design patterns are signs of programming language deficiency.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!