404 and 500 errors in Zend Framework
First of all, I want to review the several mechanisms that Zend Framework provide to handle exceptions in it's MVC components. 1. Pass the exceptions to Zend_Controller_Plugin_ErrorHandler. 2. Using Z… Continue reading
Sending all css and js in one request
As we all know, one thing which mainly slow down our site is the plenty of css and js files. But very often we have to make them seperate from each other in order to facilitate management. The problem… Continue reading
htaccess in Zend Framework
How to setting up your .htaccess for your application is always become a question which hard to answer. In this note, we will take a look at it, fully and detail by detail. Hope it to be useful. The u… Continue reading
301 Redirect for Url SEO
Let's make the example of this site : 1. www.kimbs.cn 2. kimbs.cn/ 3. www.kimbs.cn/index.html 4. www.kimbs.cn/index.php 5. kimbs.cn/index.php They are all the same in fact. We now redirect all of them… Continue reading
Setting Up Zend Framework
How to setting up your Zend Framework environment? This is an old question since 1st version released at 1st July, 2007. Here I will show you some of my experience as much as possible. 1. php set up P… Continue reading
Cmd Fast for Windows Directory
1. Run cmd regedit 2. Modify [HKEY_CLASSES_ROOT\folder\shell\cmd] set value to : CMD fast [HKEY_CLASSES_ROOT\folder\shell\cmd\command] set value to : cmd.exe /k cd %1 3. Save and Exit Continue reading