对于目录结构来说,程序与模版分离好不好

#1 redguan

一般程序下,都是
/根目录
/index.php
/tpl/images/
/ipl/css/
/tpl/js/

那么,有没有必要,将程序与模版分开目录。
/ 根
/pg/ 程序目录
/pg/index.php

/tpl/ 模版目录
/tpl/images/logo.gif
/tpl/css/global.css

2010-04-14 11:56:58

#2 jake

看看《大规模部署SP框架的目录结构建议》 http://speedphp.com/post/release-dirs.html

2010-04-14 15:00:30