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
Posted in Zend Framework| Tagged , | Leave a comment

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
Posted in Optimization| Tagged , | Leave a comment

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
Posted in Zend Framework| Tagged , | 1 Comment

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
Posted in SEO| Tagged | Leave a comment

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
Posted in Zend Framework| Tagged | Leave a comment

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
Posted in Windows| Tagged | Leave a comment