Create Zend framework Application using wamp server

step 1 : Create virtual domain .
open C:\WINDOWS\system32\drivers\etc\host file
add this line 127.0.0.1 myalbum.com at the end .
myalbum is ur domain name u can change it.

2 : now open E:\wamp\bin\apache\apache2.2.8\conf\httpd-vhosts.conf
add line as below

# ur domain
NameVirtualHost myalbum.com

ServerName myalbum.com
ServerAlias myalbum.com
DocumentRoot C:/Sites/zf_tutorial

note: DocumentRoot is ur application root

3 : create app directory structure as i created

-zf_tutoria
-application
-controllers
-create All controller file here e.g IndexController.php
-forms
-create all forms file here e.g LoginForm.php
-models
-create all models here e.g User.php (for db handling)
-views
-scripts
-index
-create script file e,g index.phtml
-filters
-create filters here if need
-helpers
-create helpers file here if need
-data
-php
-create data php file e.g contact.php if need
-xml
-create data xml file e.g contact.xml if need
-text
-create data txt file e.g contact.txt if need
-library
-Zend
-copy from ZF\Zend\library\Zend folder here which contains all api and classes(download it from google)
-My
-Validate
-here u can put ur custom clas e.g class My_Validate_PasswordConfirmation
-public
-css
-js
-images

4 : write logic inside ur application and run url as we created above:myalbum.com on browser

note:yes there are some php and apche setting of wamp server we has to do here: you can refer the

Zend Installation setting with Snap Shots Article

added above...
`
Create Zend framework Application using wamp server Create Zend framework Application using wamp server Reviewed by Pranay Gondane on 12:53:00 AM Rating: 5

No comments

Free! Free!Free! Subscribe to Get Free PHP (Magento) tutorial Update in Your Inbox!!! Hurry Up!!!