Magento Module Development Series – Part7 – Database and SQL Operations

In this blog we will see advanced operations in model and collection, to execute complex sql queries. We will look into collections and details of resource models.

First let’s look at model and collection architecture in magento. If you look at a magento model class it extends Mage_Core_Model_Abstract which intern extends Varien_Object. Continue reading