Understanding Magento Observers

Chimen, Magento Ecommerce Dev Team, Vietnam - Singapore

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.

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


Leave your comments

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s