Home
Explore
Information
Event
License
Tool
软件代码质量检测云服务
持续集成与部署云服务
社区个性化内容推荐服务
贡献审阅人推荐服务
群体化学习服务
重睛鸟代码扫描工具
Sign in
Sign up
Fetch the repository succeeded.
Watch
8
Star
2
Fork
5
LeiHui
/
YouKangBao
PHP
MIT
Fork this repository
Loading
Cancel
Confirm
Code
Issues
2
Pull Requests
1
Wiki
1
Insights
Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Already have an account?
Sign in
master
Manage
Manage
Branches (1)
master
Clone or download
HTTPS
SSH
SVN
SVN+SSH
Copy
Download ZIP
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register
YouKangBao
/
README.md
Branches 1
Tags 0
README.md
1.10 KB
 # YouKangBao 幼儿园门禁系统 # 一、目录结构 * 后端 * back/dao :database access object,数据库访问接口 * back/ : api放这里。不同功能最好继续细分文件夹 * back/utils : 通用库、第三方库。如各种正则表达式,用于过滤输入。 * back/utils/ErrorCode.php :定义错误信息,比如define("ERROR_DB_CONNECTION",-1) 表示数据库连接失败 * 前端 * front/js * front/css * front/images :修饰网站的图片 * 脚本 * script:存放脚本,如sql脚本 * 配置文件(如数据库user/pass/port) * config * config.json * 上传的数据 * upload/image: 上传的图片 * upload/video: 上传的视频 * upload/face : 人脸图片 * docs 文档 * docs/架构图.jpg # 二、PHP使用7.0以上版本 # 三、统一用utf-8编码 * 代码文件编码 * 字符串编码 # 四、用户输入过滤额外设置一层,用于过滤 * 普通输入过滤:Regular Expression(正则表达式) * 富文本过滤(主要防xss): antisamy # 五、其他 * 性能不好时,可能需要试试连接池技术
Copy
Edit
Web IDE
Raw
Blame
History
陈剑峰
authored
2018-05-12 21:28
.
readme
YouKangBao
幼儿园门禁系统
一、目录结构
后端
back/dao :database access object,数据库访问接口
back/ : api放这里。不同功能最好继续细分文件夹
back/utils : 通用库、第三方库。如各种正则表达式,用于过滤输入。
back/utils/ErrorCode.php :定义错误信息,比如define("ERROR_DB_CONNECTION",-1) 表示数据库连接失败
前端
front/js
front/css
front/images :修饰网站的图片
脚本
script:存放脚本,如sql脚本
配置文件(如数据库user/pass/port)
config
config.json
上传的数据
upload/image: 上传的图片
upload/video: 上传的视频
upload/face : 人脸图片
docs 文档
docs/架构图.jpg
二、PHP使用7.0以上版本
三、统一用utf-8编码
代码文件编码
字符串编码
四、用户输入过滤额外设置一层,用于过滤
普通输入过滤:Regular Expression(正则表达式)
富文本过滤(主要防xss): antisamy
五、其他
性能不好时,可能需要试试连接池技术
Go
Comment (
0
)
Loading...
Sign in
for post a comment
Report
Report success
We will send you the feedback within 2 working days through the letter!
Please fill in the reason for the report carefully. Provide as detailed a description as possible.
Type
Please select a report type
Reason
Cancel
Send
About
No description
spread
retract
PHP
MIT
Use MIT
Save
Cancel
Releases
No release
Contributors
All
Activities
load more
can not load any more
Comment ( 0 )