## core 核心目錄
├─init 框架初始化所需文件目錄
│ ├─config.php //框架初始化用到的配置文件
│ ├─functions.php //框架初始化用到的函數
│ └─mapping.php //框架初始化用到的映射文件
├──lib 核心類庫
│ ├───z 基本類庫目錄
│ │ ├─controller.class.php //控制器類
│ │ ├─debug.class.php //調試信息類
│ │ ├─sql.class.php //數據模型抽象類
│ │ ├─db.class.php //PDO模型
│ │ ├─view.class.php //視圖類
│ │ ├─rote.class.php //路由類
│ │ └─z.class.php //框架核心類
│ └──ext 核心擴展類庫
│ ├─ttfs 驗證碼用的字體文件目錄
│ ├─verimg.class.php //驗證碼類
│ ├─upload.class.php //文件上傳類
│ └─verify.class.php //自動驗證類
├──tpl 核心模板文件目錄
│ ├─debug.tpl
│ └─mess.tpl
└─core.php //核心文件
## 建議的項目目錄結構
項目根目錄
├─core 框架核心目錄
├─common 公共程序文件目錄
│ ├─lib 公共類庫目錄
│ ├─model 公共模型目錄
│ ├─config.php 公共配置文件
│ ├─functions.php //公共函數
│ └─mapping.php //公共映射文件
├──home 應用目錄
│ ├─controller 控制器目錄
│ ├─model 模型目錄
│ ├─common 公共目錄
│ │ ├─config.php 配置文件
│ │ ├─functions.php 函數文件
│ │ └─mapping.php 映射文件
│ └─view 視圖目錄
│ └─default 模板目錄
├─public_html 網站根目錄
│ ├─public 公共目錄
│ │ └─uploads 文件上傳目錄
│ ├──res 網站資源文件目錄
│ │ ├─home 對應的應用目錄
│ │ │ ├─default 對應的模板目錄
│ │ │ ├─css
│ │ │ ├─js
│ │ └─images
│ └─index.php 入口文件
└─rundir 運行目錄/臨時文件