Infrastructure 2 - get the ZF and setup the file structure

November 14, 2006 on 2:53 pm | In Zend Framework |


On Windows XP,download Zend Framework from here . On linux command line,

  • $ wget hppt://framwork.zend.com/download/tgz
  • $ tar-zvxf ZendFramework-0.2.0.tar.gz

Note: use the right version to replace 0.2.0 if it is updated.

After unzip the package, there is folder called library, its structure like this

             /library
             /Zend
             Zend.php

This is the Zend Framework. I will change library to lib later in my project file structure. Because I call my project bookmark, the file structure looks like as below:

                   /bookmark
                  /app
                     /install
                     /include
                        /smarty_cache
                        /smarty_compile
                        /smarty_config
                  /lib
                    /Zend
                    /smarty/
                    Zend.php
                    .htaccess
                  /pub
                      /template
                      /simple
                         /css
                         /english
                         /
raw                               
                         /image
                        .htaccess
                  index.php
                  .htaccess

This idea of the file structure is from Jayson Minard’s article Blueprint for PHP Applications: Bootstrapping (part 2) and Ralf Eggert’s article Integrating Smarty with the Zend Framework

1 Comment »

RSS feed for comments on this post. TrackBack URI

  1. Tramadol….

    Tramadol abuse pharmacy discounter. Buy tramadol the lowest prices chtiblog com. Tramadol. What is tramadol….

    Trackback by Tramadol. — February 23, 2008 #

Leave a comment

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

Since May 6,2007 We have Visitors
dog ramps

Powered by WordPress with Pool theme design by Borja Fernandez.
Entries and comments feeds. Valid XHTML and CSS. ^Top^