Magento Themes and Magento Extensions


Posted on October 7th, 2014 | Posted by admin

Magento Enterprise Edition (Magento EE) have a lot of features. One of them is “Full Page Caching” (FPC), which increase store performance and makes store pages to load much faster.

By default Magento EE caching works for category, product, CMS pages. If you want to create your own controller the response will be dynamically generated for it, and FPC won’t be used. To add your own controller to FPC you need to add some modifications in your source code.

Lets see how it works. In the Mage_Core_Model_App::run() the following logic is responsible for FPC:

Creating Block from controller in Magento

Posted on December 25th, 2012 | Posted by admin

There are two types of blocks can be created in Magento

a) Structural Block: This block usually contains the attribute ‘as’ with block tag through which the application will communicate with designated area.

b) Content Block: These are the blocks that produces actual content inside each structural block. It seems like normal template file that are used to show particular data on the page.

Most of the time a programmer needs to create a structural block and need to show it into the content area of the page. Here are the code you need to write for it.

Rewrite / Edit Controller Magento

Posted on December 11th, 2012 | Posted by admin

There’s a long time that i must write the leçcon 10, this day is finally arrived! The next months i just abandoned the blog, because I do not have much time to post … It’s been a while since I’m talking about a project, i’m still working on and honnestly subscribe to the newsletter because it will provide you an access to my project ! it will be huge !

Finaly there is this famous lesson 10 .. why I have not writen it until now? Because when I did the first blog posts I just did not know how too and I founded it a bit complicated…Since that time now i’ve learned a lot and i’m now magento certified developper Plus…it has been a long road to be there.

ok so now how to make a rewrite of a controller ? Because your module will not khnow where to search for your extended class…you have to make a require in your controller.

Rewriting Or Rerouting A Controller

Posted on November 27th, 2012 | Posted by admin

Just as with models/blocks/helpers, there are times when we want to change the way a core Magento controller works. Since we DON’T EVER WANT TO CHANGE THE CORE, we need a way to tell a request to use OUR controller instead of Magento’s controller. We do this by changing the configurations that hold the routing instructions.

Many MVC frameworks use the concept of a route to tell the application how to map the URL to the correct controller/action. Magento has part of that mapping in the config.xml. Below is an example of a common route configuration for the frontend.


With that frontend route, a url that looks like this: will be routed to the NounController’s verbAction() inside the Super_Awesome module.