magento design patterns event php observer
See more