Home  >  Article  >  Backend Development  >  Resource sharing about TP5.0 MVC introductory video

Resource sharing about TP5.0 MVC introductory video

黄舟
黄舟Original
2017-08-31 10:36:561619browse

The latest ThinkPHP5.0 is the best among many domestic PHP development frameworks. 1. ThinkPHP5 runs based on MVC process; 2. MVC is a scientific and advanced project development model that can greatly improve development efficiency; 3. It makes sense for the ThinkPHP5 series of courses produced by Lida Classroom to take MVC as the first lesson. The course has been completely revised in 2017. Each video should be no longer than 10 minutes as much as possible, so that everyone can make full use of the fragmented time to study.

Resource sharing about TP5.0 MVC introductory video

Course playback address: //m.sbmmt.com/course/363.html

The teacher’s teaching style:

The teacher teaches in simple terms, Clear organization, layer-by-layer analysis, interlocking links, rigorous argumentation, and rigorous structure. Use the logical power of thinking to attract students' attention, and use reason to control the classroom teaching process. The teaching skills are full of wit. Various teaching methods and techniques are readily available and can be used freely and appropriately without any trace of polishing.

The more difficult part in this video should be: mvc creates the entry file:

1. Writing the entry file

1)首先要创建一个入口文件 例如:index.PHP

   2 ) 要确定入口文件将要做什么
 

3) Create the core file of the project and then create the function library. Then create a file

4) Load the function library

include CORE. '/Function library name/file name';

5) Create a core file and load the core file

6) When calling the core file, you need to use the namespace core. Since there are many classes called, We can set it as a static method

The above is the detailed content of Resource sharing about TP5.0 MVC introductory video. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn