Configuring Zend Framework for Windows

What is Zend Framework

•Zend Framework is an open source framework for developing web applications and services with PHP 5. Zend Framework is implemented using 100% object-oriented code.
•We often call this a “use-at-will” design
what is

 Requirements for create a Zend project

•Aparche HTTP web server(2.2.3 or later) + PHP (5.2 or later ) + DB server (MySQL/Postgre SQL)
•the best choice is install WAMP/XAMPP on your computer its include all the above requirements
•Zend Framwork library
•Zend supported IDE (NetBeans IDE 7.1.2 or later, Zend studio, Eclips with PDT plug)
             Installation
•Download the latest stable release(you may need to unzip it).
          Setting up the environment variable for Zend frame work and PHP
Setup the environment variable for Zend frame work and PHP

 Setup the include path for in php.ini for zend framework

Setup the include path for in php.ini for zend framework

    Testing the Zend (just type zf and enter on you terminal)

Testing the Zend

Create your first project

Zend command : zf create project demo

It will generate the zend project folder structure as follows

Make sure to create your project in the web root directory

Ex :

•C:\wamp\www
zend project folder structure as follows

zend project folder structure

How to test it

–Make sure your server is up and running
–Go to the following URL
server is up and running

server is up and running

  Set up the development environment with Netbeans IDE

•Step 01,
Configuring for PHP
Set up the development environment with Netbeans IDE
•Configuration for Zend framework
Configuration for Zend framework
Create your first Zend project with Netbeans
Create your first Zend project with Netbeans
Set your server root as the source folder (ex :www/httpdoc)
Set your server root as the source folder
Set up Your Project URL
Set up Your Project URL
Select the PHP framework as Zend then finish
Select the PHP framework as Zend then finish
     Once you created a Zend project you can see the following folder structure as default
Zend project you can see the following folder structure as default

     Once you run the project can see the main folder structure on your default browser

your default browser

  How to debug a PHP project with Netbeans

   make sure to set following parameters
set following parameters
Do following changes for your php.ini file
Add these lines on [xdebug]  php

Leave a Reply

Your email address will not be published. Required fields are marked *

Current month ye@r day *