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

  • 相关阅读:
    python可视化---plot()函数
    蜂鸣器的相关知识及简单应用
    将一个文件夹中多个视频的视频帧保存在多个文件夹下
    键盘按键控制程序的简单案例
    Tkinter模块的详细总结
    控制LED灯发光
    python socket 套接字编程 单进程服务器 实现多客户端访问
    python 报错RuntimeError: dictionary changed size during iteration
    HTTP请求行、请求头、请求体详解(转)
    python UDP套接字通信
  • 原文地址:https://www.cnblogs.com/luluping/p/1560770.html
Copyright © 2011-2022 走看看