发新话题
打印

SYMFONY 目录结构

SYMFONY 目录结构

SYMFONY 目录结构
batch/ 命令行与批处理
apps/ (777) 应用目录
cache/ (777) 缓存(CVS库排除)

frontend/ 应用根目录
log/ 日志(CVS库排除)


i18n/ 国际化
doc/ 文档


config/ 配置(应用)
model 模型


Y

M

L
view.yml 显示设置
SYMFONY



routing.yml URL地址“路由”
config/ 设置(项目


settings.yml (token) 应用主配置(通用设置)

apache.conf (tokens) Apache配置范例


databases.yml 数据库连接信息

properties.ini (tokens) pakefile参数


logging.yml 日志设置

propel.ini (tokens) propel参数


factories.yml 操作类设置
schema.xml[.sample] 数据Schema


cache.yml 缓存设置

config.php 项目通用配置


filters.yml 过滤设置

rsync_exclude.txt 同步排出目录


security.yml 安全设置
lib/ 类和库


i18n.yml 国际化设置

model/



app.yml 应用设置

plugins/

来自$pear_data_dir/ symfony/config/ autoload.yml

data/ 数据
core_compile.yml 启动应用引用类列表

model/

bootstrap_compile.yml 执行请求引用类列表

plugins/

config_handlers.yml 配置处理器

sql/

php.yml php.ini检查与设置
web/ 网站根目录

constants.php 目录结构配置

.htaccess




config.php 应用启动配置

error.php




tidy.conf HTML更正设置

robots.txt



lib/ 类和库

unavailable.html




myAction.class.php


images/ 图像文件



myConsoleController.class.php


Js/ Javascript文件



myConsoleRequest.class.php


css/ CSS文件



myFrontWebController.class.php



main.css 主CSS



myUser.class.php



layout.css 布局CSS



myView.class.php


uploads/




myWebRequest.class.php



assets (777)



templates/ 全局模版
Controller index.php (tokens) 产品首页(前台控制器



layout.php 全局模板
frontend_dev.php (tokens) 开发首页(前台控制器)



error.php 错误模版
test/ 测试文件



error.txt 错误模版(字符版)

frontend/




popuplayout.php 弹出模版


mymoduleActionsTest.php (tokens)




······ 其他自定义全局模版










modules/ 模块











mymodule













config 设置(模块)












Y M L module.yml 自定义模块参数












security.yml 行为限制












generator.yml 数据访问界面设置












view.yml 行为显示设置












lib/ 类和库












validate/ 表单验证













validate.yml 表单验证设置












actions/ 模块行为(action)








Controller actions.class.php (tokens) 所有模块行为












templates/ 行为模版








View indexSuccess.php (tokens)
努力为phpres做贡献
时刻准备着,当机会来临时你就成功了
打好基础,增加社会经验
资深技术工程师是我的梦想
承接各种团体网站外包服务和各种it技术培训
准备申请AJAX版大,希望大家支持~~

TOP

发新话题