How to Create a Project With Zend Framework 1
2
ow to create a project with Zend Framework 1.x? The Zend Framework is installed in the "frameworks" folder in your installation directory. If you are using the Native installer, to start a project with Zend Framework, it is necessary to start the itNami !onsole. If you are using a irtual # ppliance or #$I, you can run the commands %elow directly. To %e a%le to create a new Zend project, you should use the "&f" tool. $ zf create project demo 'n (indows, the &f tool is called "&f.%at". )o u can see something similar to this* Creating project at /path/to/demo Note: hi! command created a we" project# for more information !etting p %or &H'(# p)ea!e !ee doc!/*+,-+ e!ting Note: H0nit wa! not fond in %or inc)de1path# therefore no te!ting action! wi)) "e created. If you want to use ++-nit for creating tests, you can install it using the following command* $ pear in!ta)) phpnit This command will create a new directory called "demo" with the following schema* $ app)ication doc! )i"rar% p")ic te!t! Into the application folder there are the main directories for your applicaion* 2oot!tr ap.php config! contro))er! mode)! 3iew! Now it is necessary configure create the configuration file for t he #pache server or another we% server/. In this guide we are going to use two approaches. The first one is using the #lias approach and let you have your application in "http*00e1ample.com0demo ". demo/demo.conf ,)ia! /demo 4 /path/to/demo /p")ic4 (et+n3 ,56C,6'N1+N& 4de3e)opment4 7-irector% 4 /path/to/demo /p")ic48 'ption! 6ndexe! )ti&iew! ,))ow'3erride None 76f&er!ion 7 9. 8
-
Upload
innocent-j-blac -
Category
Documents
-
view
221 -
download
0
Transcript of How to Create a Project With Zend Framework 1
8/11/2019 How to Create a Project With Zend Framework 1
http://slidepdf.com/reader/full/how-to-create-a-project-with-zend-framework-1 1/2
8/11/2019 How to Create a Project With Zend Framework 1
http://slidepdf.com/reader/full/how-to-create-a-project-with-zend-framework-1 2/2