Magento ORM文档 [英] Magento ORM Documentation
问题描述
在源代码之外,Magento ORM上是否有任何详尽的文档?我掌握了基础知识,通常可以深入研究Mage代码库,使用Mage :: Log调用将其乱扔,找出可行的方法,但是如果我对模型的运行方式有一个高层次的了解,我的效率将会提高. strong>打算使用.聚合方法的工作原理,最佳的联接方式,何时扩展模型,何时使用eav模型与非eav模型的最佳时间等.
类似于 Django模型文档,但适用于Magento.
自从回答了这个问题,便在magento知识库的ORM上创建了一些文档.
使用Varien集合(延迟加载,过滤等):Django Model Documentation, but for Magento.
Since this question was answered, some documentation has been created on the ORM at the magento knowledge base.
Introductory information: http://www.magentocommerce.com/knowledge-base/entry/magento-for-dev-part-5-magento-models-and-orm-basics
Advanced ORM usage and the EAV system: http://www.magentocommerce.com/knowledge-base/entry/magento-for-dev-part-7-advanced-orm-entity-attribute-value
Working with the Varien collections (lazy loading, filtering, etc...): http://www.magentocommerce.com/knowledge-base/entry/magento-for-dev-part-8-varien-data-collections
这篇关于Magento ORM文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!