$front = Zend_Controller_Front::getInstance();
/* Check in you project $front may be differ for Zend_Controller_Front::getInstance();
now suppose we have to convert path mysite.com/user/profile/of/gauravstomar
to mysite.com/users/gauravstomar
then you need to define a route here it is $route */
$route = new Zend_Controller_Router_Route('users/:of',array('controller'=>'user','action'=>'profile'));
// here :of represents the of parameter of the url
// and put it in
$front->getRouter()->addRoute('users', $route);
Proudly launching iVotings.com
~
PHP
this is one of my projects @ xevoke which i made as better as i can, we have a limited time frame for this but in my opinion this is one of my best project i ever built. a very user friendly and too much fast as we have lots of calculations and each calculation have heavy data base interaction.
iVotings.com take my most of time to make it faster to download... lots of stuff i used in it to make it possible like JSON, DB Cache and lots more.
i wish that this site will go much higher.
iVotings.com take my most of time to make it faster to download... lots of stuff i used in it to make it possible like JSON, DB Cache and lots more.
i wish that this site will go much higher.
Subscribe to:
Posts (Atom)