Thinkphp3.2.3 thinkphp5.0 TP3.2 tp5.1區別

1.入口文件地址  
TP3:  http://localhost/index.php/Index/Index/index  

TP5:  http://localhost/public/index.php/Index/index/test

2.支持php版本
TP3:  PHP5.3+
TP5:  PHP5.4+

3.命名規範
TP3:  Indexcontroller.class.php
TP5:  index.php

4:系統函數  
TP3:  I  U  D M S 
TP5:  input  {:url}  Model  

5.API接口支持

6.渲染模板  
TP3:  $this->display()
TP5:  return $this->fetch()

7.think\Db;
  think\Request;

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章