Skip to content
#Patterns

Object-oriented design patterns (Design Patterns: Elements of Reusable Object-Oriented Software)

#Patterns #Software #SoftwareArchitecture #SoftwareDevelopment #Architecture #SystemDesign

Almost. 30 The classic book "Design Patterns" from the Gang of Four (Gamma E., Vlissides J., Johnson R., Helm R.). I read it for the first time ever. 2006 I have read it several times since then. I like the structure of the pattern itself. repeatable architectural design in which the fix design within the framework of some frequently occurring context. Plus, the taxonomy of patterns by category was interesting. n

  • Creational patterns generating patterns, how convenient and safe to create objects, groups of objects. Examples of templates: abstract factory, factory method, prototype, singleton, ...
  • Structural patterns Structural patterns, how to build supportive class structures. Examples of templates: adapter, bridge, decorator, proxy, facade, ...
  • Behavioral patterns Behavioral patterns, how to organize effective interaction between objects. Examples of templates: team, strategy, template method, visitor, iterator, observer, state, ... In fact, this set of templates has become a kind of ubiquitous language for developers when thinking about designing applications. Now this book is relevant from the point of view of concept, but the examples with code on Smalltalk are clearly very outdated:) But I still recommend reading it:)

P.S. If you make a lyrical digression, then the approach itself was born in the 1970s, when Christopher Alexander wrote a book about architectural patterns, The Language of Templates. Cities. Buildings. Construction”. Well, in IT everything went flying after the Gang of Four wrote the book we remember now:)

#Patterns #Software #SoftwareArchitecture #SoftwareDevelopment #Architecture #SystemDesign