Blogger Information
Blog 48
fans 2
comment 3
visits 37441
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
5月21日作业—ThinkPHP第一课
黑猫警长的博客
Original
993 people have browsed it

一、Composer下载ThinkPHP5.1源码的方法与步骤

1)下载composer安装器。
https://getcomposer.org/Composer-Setup.exe

注意:安装时找到PHP.EXE所在位置

 2)修改 composer 的全局配置文件

在命令行窗口执行

composer config -g repo.packagist composer https://packagist.phpcomposer.com

3)命令行进入网站根目录执行

composer create-project topthink/think /thinkphp

总结:终于学会怎么用composer了!


二、谈谈你对ThinkPHP5.1框架的直观认识。

ThinkPHP是国内优秀的PHP框架。最早接触是2016年,那会普遍使用3.2版本,5.0处于测试。公司一个程序员,用3.2做了个留言板。留言页面是通过ajax请求,已经留言的用户不能再次留言,有IP地址,有电话号码归属地,有一个黑名单数据库表(比如填写13800138000,这是黑名单,不允许留言)。我入职后,他把这套程序也带走了,后台我没进去过,反正看上去很厉害。没办法,我只能用我会的方式做一个留言表。我用了织梦的自定义表单,但是很多数据不能过滤。

据说,5.0版本相当于颠覆了3.2版本,性能提升了数倍,所以报名学习

Correction status:Uncorrected

Teacher's comments:
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
1 comments
iamdov 2018-05-22 22:19:04
2)修改 composer 的全局配置文件 这项操作的意思是使用国内镜像。
1 floor
Author's latest blog post
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!