Follow the simple steps given below to integrate Zend framework with other applications like WordPress, Joomla and other such open source or custom web applications.
i) Setup your Zend framework application as usual.
ii) Set the document root of the Zend application to the public folder within Zend install
iii) Now setup a folder for your wordpress or joomla or custom application. Let us assume that we want to create a custom blog application. Create a folder “blog” within “public” folder. Inside blog folder, create two files – .htaccess and index.php. Code for the two files are given below
First, download the Zend framework and unzip the file contents to a location. At the time of the writing ZendFramework-1.11.12 was in use and we have used that version in this example. Key content of the download is the /library folder which has Zend libraries in it.
Then, go to the “conf” folder that was created when the site was created.
Inside the conf folder, create a new file and name it vhost.conf
Add the below contents to vhost.conf and save it. Continue Reading…
Action helpers in Zend controller helps in abstracting concepts that are in common use for the project without cluttering the code base.
Zend’s official website and Zend casts gives detailed easy to use examples.
Step 1: Decide where you want the helper class for the controllers to reside inside the application folder. For this example, let us create a folder hierarchy under “application” folder
Download the latest version of Zend framework from
At the time of writing it was 1.10.2 available at Zend 1.10.2
$ wget http://framework.zend.com/releases/ZendFramework-1.10.2/ZendFramework-1.10.2.tar.gz