The Front Controller

September 14, 2009 at 10:48 am Leave a comment

From here, the responsibility transfers to the front controller. The front controller has an array of “routers” that it uses to decide which module the URL should trigger. This correlation between URL and module name is defined in the config.xml files. The available routers are:
• Standard
• Admin
• Default (only used for 404s)
The definition of a match between a router and amodule looks like this for the Customer module:

<routers>
<customer>
<use>standard</use>

<args>
<module>Mage_Customer</module>
<frontName>customer</frontName>
</args>
</customer>
</routers>

Advertisement

Entry filed under: Magento Basic. Tags: .

The AppModel Routers

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed


Recent Posts

Categories

Archives

Top Rated

Blog Stats

  • 5,828 hits

 

September 2009
M T W T F S S
     
 123456
78910111213
14151617181920
21222324252627
282930  

Follow

Get every new post delivered to your Inbox.