TODO 2021/6/1 9:43 周二
6.1.2
显示文章列表
6.1.3
分页查询
6.1.4
添加和修改文章
6.1.5
文件上传
6.1.6
删除文章
看板
Smarty官方中文文档
PS D:\STUDENT47\phpLearning2> tree /F /A
| .editorconfig [code的配置文件]
| composer.json [包管理器的配置文件]
| composer.lock [包管理器的配置文件]
| LICENSE [协议]
| Readme.md
|
+---.vscode
| settings.json [code的配置文件]
|
+---App [model&controller文件夹]
| \---Http
| \---Controllers
| TestController.php
|
+---myFrame [框架相关的基础文件]
| App.php [路由检测&请求分发]
| Request.php [获取&处理phpinfo]
|
+---public [公共入口文件夹]
| .htaccess [分布式配置文件]
| htaccessBackup [分布式配置文件备份]
| index.php [单一入口&路由配置]
|
\---vendor [composer的拓展包安装目录]
| autoload.php
|
+---composer 的 autoload 包
|
\--- [其他拓展包]
为DB类的各个方法添加注释,并且使用DB类操作数据库完成展示学生列表、编辑学生信息的功能。
- 封装fetch,fetchAll,execute 方法
- 使用config/db.php 初始化DB.php