Download on GitHub

PHPZevelop

PHPZevelop structure

The file structure for PHPZevelop is as follows:

site/
phpzevelop/
.htaccess
config.php
index.php

site/: For all the files regarding your website

phpzevelop/: Contains dependant PHPZevelop files

.htaccess: Is a set of rules for the working of the framework

config.php: Main configuration

index.php: Brings together the framework for usage

Site structure

The standard site structure is as follows, same is applied for additional MultiSites.

classes/
css/
scripts/
templates/
config.php
global.php
instantiate.php

classes/: All classes in this directory will be included by default from global.php

css/: .css files for site styling.

scripts/: A directory for JavaScript files, by default JQuery is instantiated and "scripts/main.js" is called from "inc/header.php"

templates/: Template files should be placed here. See more here.

config.php: You can override config properties here. All pages loaded in the containing site will have the same config applied.

global.php: For any site specific code. By default this file runs all specified include directories. See more here.

instantiate.php: Here you can instantiate included classes and set up their configuration.



© PHPZevelop 2017 - @_Zephni (Craig Dennis)