How to create Custom module in Magento

This tutorial help you to create magento custom module.Magento is very famous e-commerce CMS now days, which is used to create full flashed e-commerce website.Magento provides free version of his CMS,so if you want to create your custom module then you need to follow following things.In this tutorial I will let you know how to create banner management in magento site.

You can also check other tutorial of magento,

Here i am creating a sub module(banner) under a module.The sub module would have functionally adding new banner,edit new banner,delete banner and listing with Ajax pagination.

Step 1- First we have register action into the layout/module.xml file.

Step 2- Creating a class under jquery js file for listing with pagination and toggle of div.

Step 3- Creating a class pagination common in js file.

Step 4- Creating list.phtml file for listing

Step 6- Creating edit.phtml file.

Step 7- Creating controller for all action.

Step 8- Creating model for banner management.

Step 9- Creating edit.php block file.

step 10- finally You need to create list.php.This file would kept only banners() listing method.