Zsite directory structure

2016-08-29 10:12:30    tengfei    10832

|--system                                                       Zsite system file. Can be put in the directory of www

|   |--bin                                                         executable files, scripts, such as calls by command lines

|   |--config                                                    system configuration files

|   |   |--config.php                                         default global configuration files. Can be overrode by other variables having the same name

|   |   |--admin.php admin                               user permission configuration

|   |   |--cache.php                                          cache configuration

|   |   |--domain.php                                        top level domains configuration

|   |   |--front.php                                            configuration of visitors and members permissions at the frontend

|   |   |--guarder.php                                       access configuration

|   |   |-- menu.php                                           backend menu configuration

|   |   |--router .php                                          SEO configuration

|   |   |--shop .php                                            Alipay configuration

|   |   |- - my.php                                                database connection configuration and install and debug configuration

|   |--db                                                           SQL fils for installation and update

|   |   |-- chanzhi.sql                                          install php

|   |   |--upgrade1.0.                                        sql 1.0 upgrade

|   |--doc                                                         documents, such as modification records, license release etc.

|   |--framework                                               ZentaoPHP and MVC framework

|   |   |--control.class.php                                request processing

|   |   |--helper.class.php                                 tools

|   |   |--model.class.php                                 data layer operation

|   |   |--router.class.php                                  data forwarding

|   |   |-- seo.class.php                                     SEO

|   |--lib                                                           lib tools, including third party lib。

|   |   |--dao                                                    database operation, SQL shield。

|   |   |--filter                                                    data filtering, format checkup, batch calls in DAO, such as check, batchcheck, autocheck

|   |   |--front                                                   HTML, JS, CSS output and unified html output format, such as a/script/img tabs

|   |   |--ip                                                        IP address port provided by IPIP.net

|   |   |--pager                                                 paging, page button, print and data query paging

|   |   |--pclzip                                                  compression tools

|   |   |--snoopy                                               http communication aids

|   |   |--zdb                                                     database backup and recover

|   |   |--zfile                                                     document functions

|   |--module                                                   Zsite all function modules

|   |   |--address                                              address management

|   |   |   |--config.php                                       module configuration, such as required, search criteria

|   |   |   | --control.php                                      module on each page

|   |   |   | --model.php                                       module data storage

|   |   |   | --lang                                                 language

|   |   |   |   | --zh-cn.php                                    Simplified Chinese

|   |   |   |   | --en .php                                         English

|   |   |   |   | --zh-tw.php                                     traditional Chinese

|   |   |   | --js                                                     js in this module

|   |   |   |   | --common.js                                   load js in each page of the module

|   |   |   |   | --index.js                                        js in all address-index

|   |   |   | --css                                                  css in this module

|   |   |   |   | --common.css                               load css in each page of the module

|   |   |   |   | -- index.css                                    oad css in each page of the module

|   |   |   | --ext                                                  extension directory (no such file in default settings)

|   |   |   |   | -- config                                         load all configuration file in this directory

|   |   |   |   |   | -- test.php                                   customized configuration

|   |   |   |   | --control                                          control/page extension (ref http://devel.cnezsoft.com/book/extension/extend-control-37.html)

|   |   |   |   |   | --index.php                                address-index page extension

|   |   |   |   | --model                                         module/data extension (ref http://devel.cnezsoft.com/book/extension/extend-control-38.html

|   |   |   |   |   | --foo.php                                   foo extension in address model

|   |   |   |   | --view                                            page extension in this module (ref http://devel.cnezsoft.com/book/extension/extend-control-39.html)

|   |   |   |   |   | --index.html.php                        content extension on index page

|   |   |   |   | --lang                                            language file extension (all files in this directory will be loaded)

|   |   |   |   |   | --en                                           English extension

|   |   |   |   |   |   | --index.php 

|   |   |   |   |   | --zh-cn                                       simplified Chinese extension

|   |   |   |   |   |   | -- index.php 

|   |   |   |   | --js                                                js extension

|   |   |   |   |   | --index                                       js extension on index page ( all js files in this directory will be printed on this page)

|   |   |   |   |   |   | --test.js 

|   |   |   |   | --css                                               css file extension

|   |   |   |   |   | --index                                        css extension on index page ( all css files in this directory will be printed on this page)

|   |   |   |   |   |   | --test.css

|   |   |--admin

|   |   |--......

|   |   |--block

|   |--tmp                                                         temporary files and logs

|   |   |-- backup                                               backup storage

|   |   |--cache                                                 system cache storage

|   |   |--model                                                 tempory merge extension files

|   |   |--package                                             temporary compress extension files

|   |   |--template                                             temporary backend template files

|   |   |--theme                                                 temporary theme files

|--www                                                           required webserver frontend access files, ususally set as DocumentRoot

|   |--data                                                       files generated after running Zsite, such as uploaded pictures/ attachment, slides (need to migrate those files to your new web server if migrating Zsite)

|   |   |--slides                                                 slide files

|   |   |--source                                               material files

|   |   |--upload                                               attachment and pictures

|   |--template                                                Zsite template ( can be modify in "design"->"edit template" at backend)

|   |   |--default                                               default template

|   |   |   |--_doc                                              template settings, version included

|   |   |   |--_lang                                             template language, block settings included

|   |   |   |--address                                         frontend template of address

|   |   |   |   |--js                                                js files

|   |   |   |   |--css                                             css files

|   |   |--mobile                                               mobile template

|   |--index.php                                              frontend entrance files

|   |--admin.php                                             backend entrance files

|   |--robots.txt                                               search engine rules

|   |--upgrade.php                                         Upgrade entrance files

|   |--install.php                                              Installation entrance files

|   |--loader.php                                             framework loading
ZSite8.0