如题,小弟想学习PHP,求教如何安排网站文件结构

解决方案 »

  1.   

    学一下smarty,再者就是看看国内的康盛、phpwind的产品结构,对新学有帮助。
    我也是这么过来的。
      

  2.   

    织梦CMS  看看吧!基本上都是用到模板!三层MVC模型。
      

  3.   

    织梦CMS 帝国cms phpwind这些程序目录结构都比较乱. 框加的结构不错. 
      

  4.   

    新手还是学一下mvc思想吧
    文件结构并不代表着什么
      

  5.   

    康盛的 discuz、ecshop、uchome、织梦的CMS都可以 简单些的先看echsop吧 个人建议
      

  6.   

    这个是某个千万级hits的项目结构
      

  7.   

    ├─.settings
    ├─admin
    │  └─themes
    │      └─default
    │          ├─css
    │          ├─images
    │          └─js
    │              └─calendar
    ├─application
    │  ├─controllers
    │  │  ├─admin
    │  │  ├─install
    │  │  └─web
    │  └─models
    │      ├─bo
    │      └─dao
    ├─cache
    │  ├─data
    │  ├─sqldata
    │  ├─templates_c
    │  │  ├─admin
    │  │  ├─install
    │  │  └─web
    │  └─upload
    │      ├─images
    │      │  ├─file
    │      │  ├─flash
    │      │  ├─goodscat
    │      │  ├─image
    │      └─product
    ├─conf
    │  └─css
    ├─languages
    │  └─zh_cn
    ├─library
    │  ├─Smarty
    │  └─Zend
    └─web
        └─themes
            └─default
                ├─css
                ├─images
                └─js
      

  8.   

    这个是某个千万级hits的项目结构