Magento has a pretty well implemented Event/Observer system, but before we dive into the specifics, let’s make sure that we have a clear understanding of the design patterns that are in play in the Magento application.
Specifically, lets’ talk about the concept of the event system, how it works and what it is. Though we’ve covered certain design patterns in other articles on Tuts+, we haven’t done so within the context of Magento.
To that end, let’s take a look at the pattern in order to gain a clear understanding of how it is, how it works, and how it’s beneficial.
Design Patterns as a Whole
Over the years a wide array of design patterns have been dveloped. But what is a design pattern exactly?
To quote Wikpedia:
“In software engineering, a design pattern is a general reusable solution to a commonly occurring problem within a given context in software…
View original post 711 more words