Magento Module Development Series – Part6- Module – Models

Part-6-MM
In this blog, we will learn about magento models, and how to perform basic sql operations.

Model are used to logical + data operations in MVC pattern. In magento, these are used for the same propose.
In this blog, we will continue on the previous blog created, will make these changes to the config.xml file. Continue reading

Magento Module Development Series – Part7 – Database and SQL Operations

Part-7-Magento-series
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

Magento Module Development Series – Part9 – Module – system.xml – Advanced

Part-9-MM
In this blog we will look at some advanced stuff that we can do through system.xml.

Specifically we will see how to

  • Create drop down in system.xml and show custom values in it, rather than using default magento classes only
  • How to create an import/export csv feature using system.xml

Continue reading