Models, Resource Models And Collections In Magento


All Magento Models inherit from the Mage_Core_Model_Abstract.Magento splits the model layer up into two parts as you’ve recognized, with the Model handling the business-logic, and the Resource part only dealing with talking to the database .The Resource also has two different types one is Entity and other is Mysql4. We will discuss differences between Magento […]

Continue reading

Magento : How to Create Controller in Magento

php tutorial

In This article we will discuss how to create controller in magento module controller. Controller is used to communicate between Model and View, For example we want to create a new group of controller class under a mymodule controller folder. My Module folder structure is: mymodule/controllers/indexControler.php We will create new folder ‘render’ under mymodule controller […]

Continue reading