php - Name for the Strings that Define Magento Class Names -
magento uses factory pattern instantiating objects classes
$model = mage::getmodel('catalog/product'); //mage_catalog_model_product default $helper = mage::helper('catalog/data'); //mage_catalog_helper_data default
these strings expanded classnames, , system can configured replace default values.
what are, or should, these strings called? i've been abusing term uri (sometimes tempering abuse phrase "uri-like"), that's not right. "class name" doesn't seem right either, cause confusion (are talking factory class name, or actual php class name?)
anyone have stabs @ authority on this?
this string called class (model, block, helper - depends usage context) alias. alias naming rule is: group/entity.
each module can define own group or define rewrites existing one.
Comments
Post a Comment