Building a Zend Modular CMS System – Part 1

This is the initial phase, planning, no you cannot just jump into the code you need to plan your way first.

What we are looking at is setting up a base system that will allow you as the webhost / developer to get a site up and running in the least amount of time (except for getting the base ready!).

The first thing we need to look at is what our requirements are and setup the base installation of the Zend Framework, now there are numerous tutorials and how-tos on setting up the Zend Framework, so i will not go into heavy detail on this, except that our structure is going to work slightly different to the norm, simply for the ease of re-use of basically every line of code that we setup.

This will not be a tutorial on how to use all areas of the Zend Framework, however we will most likely touch many areas of  it.

Requirements:
1) The Zend Framework -> http://www.framework.zend.com
We are using 1.8.x for now however as soon as versions are upgraded we will be upgrading, this will be a continuing growth process.

Phase 1 : Setup our directory structure, this is assuming a linux box


/var
/var/Library
/var/Library/Zend
/var/Library/ZendX
/var/Library/Application
/var/Library/Sites
/var/www/domain.ext/public_html (this will differ depending on your hosting configuration)
/var/www/domain.ext/public_html/index.php
/var/www/domain.ext/public_html/layouts
/var/www/domain.ext/public_html/scripts
/var/www/domain.ext/public_html/media

Download the Zend framework and copy the Zend and ZendX contents into the newly created folders

Next in Series: Our Bootstrapping process and Configuration file.

Related posts

Share this post


Comments (2)

 

  1. Michele says:

    absolultely what i was looking for, thanks!

  2. Jesse Taylor says:

    Thanks! When are you going to come out with part 2?

Leave a Reply