From the course: Software Architecture Foundations
Unlock the full course today
Join today to access over 22,500 courses taught by industry experts or purchase this course individually.
Design patterns
- Now let's move from the theoretical to the practical by talking about design patterns. The modern design pattern movement came out of Christopher Alexander's work on the architecture of buildings. He noticed that when you focus on a single aspect of several successful buildings that are designed by different people, even at different historical periods, certain patterns start to emerge. Patterns are discovered, not invented. For example, a room is more welcoming when there's light coming in from two adjacent walls. That's why corner offices are so desirable and a long dark room with a window at one end isn't. We could call this the Corner-Office Pattern. All spaces that allow light in from two adjacent walls are a realization of the pattern. It doesn't matter how the light gets in. It could be windows, it could be french doors, it could be a hole in the wall, could be a mirror reflecting a big window. As long as there's light coming in from two adjacent walls you have a realization…