Search This Blog

Sunday, May 20, 2012

Magento EAV Entity, Attribute Value in simple language for dummies....


What is EAV?

EAV stands for Entity, Attribute and Value. Let’s look at each part of that and try to understand them a little better.

Entity

The entity represents Magento data items such as products, categories, customers and orders. Each entity (product, category etc) will have its own entity record in the database.
e.g human being is an entity

Attribute

The attributes represent data items that belong to an entity. For example, the product entity has attributes such as name, price, status and many more.
e.g attributes of human being are like eyes, ears, nose, hair color etc…

Value

The value is the simplest to understand as it is simply a value linked to an attribute.
To better understand this, let us consider the product entity. Each product entity will have a series of attributes, one being the attribute name. Each product will then have a value for the attribute name (and all other attributes). This might not be clear yet but keep reading!
e.g value of attribute eyes of entity human being is black etc….

No comments:

Post a Comment