Formal name of Magento’s Class Override Design Pattern?
- by Alan Storm
Magento is a newish (past 5 years) PHP based Ecommerce system with an architecture that's similar to the Java Spring framework (or so I've been told)
One of the features of the Framework is certain classes are not directly instantiated. Rather than do something like
$model = new Mage_Foo_Model_Name();
you pass an identifier into a static…