Call-back icon  Sales: Call 877.832.5289 (N America)|310.295.4144 (International)

Magento

eCommerce Software for Online Growth

Magento Forum

   
What is an Entity in Magento? 
 
yusufnb
Jr. Member
 
Total Posts:  1
Joined:  2008-03-19
 

Hi,

Could you please explain what is an entity for magento? How is a product related to an entity?

Thanks,

 
Magento Community Magento Community
Magento Community
Magento Community
 
Mark_Kimsal
Sr. Member
 
Total Posts:  186
Joined:  2007-09-12
Michigan, USA
 

An “entity” is a core thing that is being modeled.  In Magento, a product might be an entity, but the product’s SKU is not an entity, it is too simple.  It’s like the difference between objects and object properties.  Objects == Entities, and Object Properties == Attributes.

Entities extend Resources and resources are simply connections to the database (actually they manage the different read/write connections and automatically figure out table names based on convention().

So, basically, Entities are “core” things that pair up to some Models and help them save to the database.

 Signature 

There’s info on lots of custom modules in my Magento Group
http://www.magentocommerce.com/group/view/174
Need Upgrade help from 0.6, 0.7, and 0.8 available?  P.M. me for details on CMS integration.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
Sales: Call 877.832.5289 (North America) 310.295.4144 (International)
© Copyright 2008 Varien. Magento, eCommerce software, is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
53276 users|805 users currently online|107375 forum posts