String Cutting Helper in Zend Framework

It’s the string cutting helper which deal with both UTF8 and others encodings. Also it remove html tags by default.  

Posted in Zend Framework | Tagged , | Leave a comment

Cron Job Script in Zend Framework

To create a cron job script in Zend Framework, we just need 3 steps :   1. Create a new directory called “scripts” which is the storage of all the scripts(.sh, .php, etc.).   2. Copy public/index.php into “scripts” and rename it to your cron job name, for example “cron.php”.     3. Modify the […]

Posted in Zend Framework | Tagged , | 1 Comment

Setup ZFDebug for Debuging your Zend Framework Project

“ZFDebug is a plugin for the Zend Framework for PHP5, providing useful debug information displayed in a small bar at the bottom of every page.”   We just need two steps to setup ZFDebug:   1. Download it from https://github.com/jokkedk/ZFDebug, place it inside library just next to Zend Framework     2. Modify application/Bootstrap.php to add initialized […]

Posted in Zend Framework | Tagged , | Leave a comment

Create Multiple Websites with One Shared Library by Zend Framework

When we try to generate the project by Zend_Tool by command line like this:   We get a standard structure which is recommended by Zend Framework: It works very fine as “one” website project. But how about if we want to create multiple websites without rewriting too many code? The main idea is to share […]

Posted in Zend Framework | Tagged | 1 Comment