# TookPHP——简洁高效的PHP开发框架
> #### 相关资源
* <b>官方网站 : [永久网络](http://www.19www.com) </b> :point_left:
* <b>在线文档 : [TookPHP开发手册](http://www.kancloud.cn/lajox/tookphp) </b> :point_left:
> #### 学习交流
* 框架交流群:![](https://raw.githubusercontent.com/JackJiang2011/MobileIMSDK/master/preview/more_screenshots/others/qq_group_icon_16-16.png) `41161311` :point_left:
* bug/建议发送至邮箱:`lajox@19www.com`
* 技术支持/合作/咨询请联系作者QQ:`517544292`
# 一、框架特点
* 提供强大的、完整的类库包,满足开发中的项目需求。
* 按需加载运行速度快,高效的核心编译处理机制让系统运行更快。
* 提供丰富的的错误解决方案,让修正代码变得更快速。
* #### TookPHP只为让程序员而生,简单快速上手,简单快速开发应用
# 二、使用方法
> #### 只需要在页首引入该文件,如:
```php
//开启调试模式
define('DEBUG',TRUE);
//显示DEBUG面板
define('DEBUG_TOOL',TRUE);
//模块列表
define('MODULE_LIST','Home,Admin');
//应用目录
define('APP_PATH','./Application/');
//引入框架
require 'tookphp/TookPHP.php';
```
# 三、框架目录结构
应用部署目录
├─index.php
├─htaccess.txt
├─Application 应用目录(可设置)
│ ├─Addons 插件目录
│ ├─Common 公共模块目录
│ │ ├─Config 配置文件目录
│ │ ├─Controller 控制器目录
│ │ ├─Function自定义函数目录
│ │ │ └─function.php 默认加载的自定义函数文件
│ │ ├─Hook钩子目录
│ │ ├─Lang语言包目录
│ │ │ └─zh-cn.php 语言配置文件
│ │ ├─Model 模型文件目录
│ │ ├─Library 库文件目录
│ │ └─Tag 拓展标签目录
│ ├─Home 默认模块目录
│ │ ├─Config 配置文件目录
│ │ ├─Controller 控制器目录
│ │ ├─Function自定义函数目录
│ │ │ └─function.php 默认加载的自定义函数文件
│ │ ├─Hook钩子目录
│ │ ├─Lang语言包目录
│ │ │ └─zh-cn.php 语言配置文件
│ │ ├─Model 模型文件目录
│ │ ├─Library 库文件目录
│ │ └─Tag 拓展标签目录
│ ├─Temp 临时文件目录
│ │ ├─Cache 缓存文件目录
│ │ ├─Compile 编译文件目录
│ │ ├─Log 日志文件目录
│ │ └─Table 表字段文件目录
├─Static静态文件目录(可设置)
├─tookphp 框架核心文件目录
│ ├─Library框架类库目录
│ │ ├─DataData
│ │ ├─Function框架函数目录
│ │ ├─Took框架核心目录
│ │ ├─Tool工具包
│ │ └─Vendor 第三方类库目录
│ ├─Config 配置文件目录
│ ├─Data 数据目录
│ ├─Lang 语言包目录
│ ├─Tpl框架Tpl目录
│ └─TookPHP.php框架入口文件
└─Uploads 上传文件目录
没有合适的资源?快使用搜索试试~ 我知道了~
TookPHP-简洁高效的PHP开发框架.zip
共291个文件
php:262个
html:22个
txt:2个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 67 浏览量
2024-05-16
06:42:54
上传
评论
收藏 574KB ZIP 举报
温馨提示
hook插件 一、什么是 hooks 函数 简单来说,在 pytest 的代码中,预留出了一些函数供我们修改,以便来改变pytest工作方式,这些函数就是hooks函数,我们可以直接重写函数里的内容。 比如,在 pytest代码路径\Lib\site-packages\_pytest\hookspec.py中,可以看到 pytest 定义好的 hook 规范,方便我们在开发插件的时候参考规范来调用对应的hooks函数。 二、hooks 函数的分类 从hooks函数的职责分类来看,大概如下几类: Bootstrapping hooks:引导类钩子,用来调用已经早就注册好的内部插件和第三方插件。 Collection hooks:集合类钩子,pytest 调用集合钩子来收集文件和目录。 Test running (runtest) hooks:测试运行相关的钩子,所有与测试运行相关的钩子都接收一个pytest.Item对象。 Reporting hooks:与Session 会话相关的钩子。
资源推荐
资源详情
资源评论
收起资源包目录
TookPHP-简洁高效的PHP开发框架.zip (291个子文件)
css.css 2KB
debug.html 15KB
_error.html 2KB
_404.html 2KB
halt.html 2KB
view.html 1005B
notice.html 658B
error.html 655B
success.html 655B
index.html 398B
index.html 143B
index.html 143B
index.html 143B
index.html 143B
index.html 143B
index.html 143B
index.html 143B
index.html 143B
index.html 143B
index.html 143B
index.html 143B
index.html 143B
index.html 143B
ico.jpg 10KB
README.md 3KB
smarty_internal_templateparser.php 153KB
FirePHP.class.php 60KB
Functions.php 56KB
bcs.class.php 48KB
smarty_internal_templatecompilerbase.php 46KB
Db.class.php 40KB
Smarty.class.php 39KB
smarty_internal_templatelexer.php 34KB
smarty_internal_testinstall.php 33KB
smarty_internal_configfileparser.php 33KB
requestcore.class.php 29KB
Tk.class.php 26KB
TookPHP.class.php 24KB
smarty_security.php 23KB
smarty_internal_configfilelexer.php 22KB
Route.class.php 18KB
Model.class.php 18KB
smarty_cacheresource_keyvaluestore.php 17KB
smarty_internal_compile_section.php 17KB
smarty_internal_compile_include.php 16KB
Upload.class.php 15KB
smarty_internal_debug.php 15KB
function.html_select_date.php 14KB
smarty_internal_compile_block.php 13KB
UpYun.class.php 13KB
function.html_select_time.php 13KB
smarty_internal_template.php 12KB
Page.class.php 12KB
SmartyBC.class.php 12KB
smarty_internal_compile_foreach.php 12KB
View.class.php 12KB
Image.class.php 12KB
config.php 12KB
smarty_internal_templatebase.php 11KB
smarty_internal_compile_if.php 11KB
smarty_internal_compile_function.php 11KB
smarty_template_compiled.php 10KB
String.class.php 10KB
smarty_cacheresource_custom.php 10KB
smarty_internal_compile_private_php.php 10KB
QiniuStorage.class.php 9KB
smarty_resource.php 9KB
Rbac.class.php 9KB
Controller.class.php 9KB
smarty_internal_runtime_subtemplate.php 8KB
smarty_internal_data.php 8KB
RelationModel.class.php 8KB
smarty_internal_compile_private_modifier.php 8KB
function.fetch.php 8KB
function.html_checkboxes.php 8KB
smarty_internal_cacheresource_file.php 8KB
smarty_template_source.php 8KB
smarty_template_cached.php 7KB
fb.php 7KB
smarty_internal_runtime_inheritance.php 7KB
modifier.escape.php 7KB
Bcs.class.php 7KB
smarty_internal_method_configload.php 7KB
smarty_internal_compile_private_print_expression.php 7KB
Upyun.class.php 7KB
function.html_options.php 7KB
function.html_radios.php 7KB
smarty_internal_compile_private_foreachsection.php 7KB
mimetypes.class.php 7KB
Data.class.php 7KB
smarty_cacheresource.php 7KB
smarty_internal_resource_file.php 6KB
smarty_internal_runtime_updatecache.php 6KB
smarty_internal_compile_for.php 6KB
smarty_internal_compilebase.php 6KB
smarty_internal_config_file_compiler.php 6KB
smarty_internal_extension_handler.php 6KB
smarty_internal_compile_private_registered_block.php 6KB
Dir.class.php 6KB
smarty_internal_compile_insert.php 6KB
共 291 条
- 1
- 2
- 3
资源评论
野生的狒狒
- 粉丝: 2722
- 资源: 2219
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 计算机视觉(CV)open CV 人脸识别程序.docx
- python 端午节游戏,选择三个传统的端午节活动之一:包粽子、赛龙舟或挂艾草 根据玩家的选择,游戏会描述相应的情节,并在完成后
- C语言各版块实验题库、实验汇报以及实验教学案例资源
- 数据库连接(MySQL与VS2022)_vs2022 mysql-CSDN博客 (2024_6_1 19_11_34).html
- Flappy bird小游戏
- 数电实验五:555单稳态触发电路、555单稳态触发电路、555构成的施密特触发器
- MySQLTuner,一个用Perl编写的脚本,它允许你快速审查MySQL安装情况,并进行调整以提高性能和稳定性
- 冒泡排序 基础排序 插入排序 快速排序 双路快速排序 三路快速排序 堆排序.zip
- 数电实验四:加法计数器、减法计数器、加法器、建议数字钟、74LS192功能测试
- JSP基于网络超市商品销售管理系统的设计与实现(源代码+lw).zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功