zoukankan      html  css  js  c++  java
  • php网站目录结构

    方案1:
    root_dir
            –config
            –include
                                              news.php(基础处理类)
                                              member.php
                                              admin.php
            –lib(文件夹内放置smarty的相关文件)
            –templates
                    –news
                    –member
                    –admin
            –templates_c
                    –news
                    –member
                    –admin               
            –cache
                    –news
                    –member
                    –admin
            –images
                    –news
                    –member
                    –admin
            –js
            –css
                    news.css
                    member.css
                    admin.css
            –news(新闻模块的php处理,例news_list.php,news_detail.php,news_insert.php诸如此类)
            –member(用户模块的php处理)
            –admin(管理模块的php处理)
            index.php

    ——————————————————-分割线————– ———————————————————–
    方案2:
    root_dir
            –config
            –include
                                              news.php(基础处理类)
                                              member.php
                                              admin.php
            –lib(文件夹内放置smarty的相关文件)
            –news(新闻模块)
                    –templates
                    –templates_c
                    –cache
                    –images
                    –js
                    –css
            –member(用户模块)
                    –templates
                    –templates_c
                    –cache
                    –images
                    –js
                    –css
            –admin(管理模块)
                    –templates
                    –templates_c
                    –cache
                    –images
                    –js
                    –css
            index.php

  • 相关阅读:
    第一个独立开发的游戏 怪斯特:零 已经上线APP STORE!
    Cocos2d 利用继承Draw方法制作可显示三维数据(宠物三维等)的三角形显示面板
    java 实现 多态的 三要素
    mysql 基础语法掌握~ This is just the beginning.
    rem ~~ 你懂了吗?
    两个css之间的切换
    JavaScript高级程序设计(第3版)
    保持底部~~永远在底部
    文字要对齐!!!
    改变this不要怕!!!
  • 原文地址:https://www.cnblogs.com/luluping/p/1560770.html
Copyright © 2011-2022 走看看