Magento ORM文档 [英] Magento ORM Documentation

查看:56
本文介绍了Magento ORM文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在源代码之外,Magento ORM上是否有任何详尽的文档?我掌握了基础知识,通常可以深入研究Mage代码库,使用Mage :: Log调用将其乱扔,找出可行的方法,但是如果我对模型的运行方式有一个高层次的了解,我的效率将会提高. strong>打算使用.聚合方法的工作原理,最佳的联接方式,何时扩展模型,何时使用eav模型与非eav模型的最佳时间等.

类似于 Django模型文档,但适用于Magento.

解决方案

自从回答了这个问题,便在magento知识库的ORM上创建了一些文档.

简介信息: http://www.magentocommerce.com/knowledge-base/entry/magento-for-dev-part-7-advanced-orm-entity-attribute-value

使用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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆