所有的扩展不需要任何更改都可以运行在magento1.6上.并且magento可以运行在各种RDBMS(关系型数据库)上,不单单只支持mysql了.
题外话:Magento1.6已经不支持旧的演示数据
As far as Magento 1.6 adds support for more RDBMS (not only MySQL) and makes using DB more abstract, the ‘Mysql4′ resource models were renamed to the ‘Resource’ models. Same way Core modules renamed the nodes in config.xml, that they are using to resolve alias (e.g. ‘catalog/product’) to find out real class name (e.g. Mage_Catalog_Model_Resource_Product).

The usual place for resource models information in Magento 1.6 is ‘global/models/{module}_resource’, while in Magento 1.5 it was ‘global/models/{module}_mysql4′

The only possible problem there could be with customizations/extensions, that overwrite Core resource models by placing ‘‘ instructions into older ‘mysql4′ nodes. This issue was solved by leaving ‘‘ instruction in every Core module config, that stores old path, used in 1.5 for class name resolution.

Now Magento not only checks the resource model node, but also checks path in ‘‘, so that older extensions (that use ‘global/models/{module}_mysql4′ to overwrite Core resource models) and newer extensions (that use ‘global/models/{module}_resource’ to overwrite Core resource models) all will work.

Starting from Magento 1.6 the recommended practice is to use ‘global/models/{module}_resource’ nodes in config.xml to overwrite Core resource models. However extension developers are free to use old paths too, and Magento will find and correctly use that models. This change is backwards compatible and doesn’t require any modifications from extension developers.

P.S. The original conversation was about node paths. But more information about resource models is asked there. In fact, resource models are backwards compatible too. The newer abstraction engine allows to write cross-db compatible resource models. However, all old operations (methods) are left, and extensions, that do not care about cross-db-compatibility, can use them to issue direct SQL queries. So, older extensions are compatible with newer RDBMS scheme.
原文请见:http://www.magentocommerce.com/answers/What-do-I-Need-to-do-with-my-Model-Resources-for-the-Magento-1.6-Release/

关于作者

专注于电商,magentochina站长
shuai.zend一共有82篇博文

发表评论

电子邮件地址不会被公开。 必填项已被标记为 *

*

TOP Online Store
1.Girls' Generation, a Fantasy Jewelry online Store. Nobody Can Keep Away From the Beauty:tiffany ca 2.China Wholesale Electronics:China Wholesale Electronics 3.The android phone is best:Android sale.The Android Ice cream sandwich well be best Android OS. 4.R4 3DS for sale:R4 ds shops,and support Japanese R4:R4 販売. 5.fashion bag:armani watches and MBT shoes.
R4 V1.4.2 and your R4i Gold 1.4.2 and R4i GOLD 3DS card V1.4.2 can not work on it.
Please update your R4i Gold 1.4.2 and R4i GOLD 3DS card V1.4.2 card with this patch. Please read readme.txt attached firstly.Just do as the procedures listed in readme.