search

Next Section: TP5路由简化技巧之:别名路由(白名单与黑名单设置)12444 plays

5 秒后自动播放下一节
  Watch Again

Dugu Jiujian (5)_ThinkPHP5 video tutorial

Introduction >
ChapterCourseware
Chapter1TP5 framework foundation, development specifications and directory structure

An introduction to the ThinkPHP5 framework: What is the framework? How is it different from CMS?

Choice of ThinkPHP framework version? It is recommended to choose ThinkPHP5.0 series

03 minutes07 seconds

Building the operating environment of ThinkPHP5 framework: Mac system and Win system

06 minutes34 seconds

Configure virtual host and domain name: say goodbye to localhost+ directory

05 minutes06 seconds

Download and installation of ThinkPHP5: The access directory is public

03 minutes25 seconds

ThinkPHP5 naming convention and directory structure: very important~

04 minutes52 seconds

Tips for using the front-end development artifact Emmet

20 minutes00 seconds
Chapter2TP5 framework architecture, life cycle, URL access, etc.

Overview of ThinkPHP5 framework: quickly enter the world of TP

13 minutes05 seconds

Life cycle of ThinkPHP5 framework: from request to response completion

09 minutes31 seconds

The content and function of ThinkPHP5 entry file: not just index.php

04 minutes24 seconds

ThinkPHP5 latest URL access: PATH_INFO and compatibility mode

10 minutes38 seconds
Chapter3An in-depth introduction to the types and techniques of TP5 framework configuration

TP5 framework Config class source code analysis: recommended viewing content for selected courses

05 minutes24 seconds

Types and setting techniques of TP5 framework configuration directories: default/custom/extended configuration

10 minutes17 seconds

Detailed explanation of the format of TP5 framework configuration file: php/ini/xml/json, etc.

07 minutes45 seconds

Scenario configuration of TP5 framework configuration: enable different configuration items in different environments

04 minutes46 seconds

Module configuration in the TP5 framework: note that it has higher priority than application configuration

04 minutes56 seconds

The ultimate method of TP5 framework configuration: load multiple types of configuration files from any location

05 minutes32 seconds

Correct reading of configuration items in the TP5 framework: the difference between class methods and helper functions

06 minutes56 seconds

ThinkPHP5 dynamic configuration skills: one-by-one configuration/batch configuration/secondary configuration

06 minutes15 seconds

Setting tips for ThinkPHP5 independent configuration/extended configuration: the difference and priority between customization and system default

05 minutes26 seconds

Priority of ThinkPHP5 configuration items: Convention<Application<Application Extension<Application Scenario<Module<Module Extension<Module Application<Dynamic

08 minutes02 seconds

Discussion on ThinkPHP5 configuration scope: visibility or effective scope of configuration items

04 minutes09 seconds
Chapter4URL routing rules and configuration skills of TP5 framework

First experience with TP5 routing: Getting started quickly in 10 minutes

10 minutes58 seconds

There are three major modes of TP5 routing: normal PATH_INFO mode/default mixed mode/forced mode

11 minutes16 seconds

Route registration method in TP5: dynamic method and routing configuration file

07 minutes34 seconds

Creation of routing rules in TP5: static rules and dynamic rules

06 minutes35 seconds

TP5 five commonly used routing address types: key points

17 minutes53 seconds

Discussion on TP5 routing parameters: you will know it at a glance with examples

13 minutes29 seconds

Tips for setting variable rules in TP5 routing rules: global/local/regular verification

10 minutes12 seconds

Full exposure to TP5 routing and packet technology: 20-minute key course

21 minutes32 seconds

TP5 routing simplification skills: Alias ​​routing (whitelist and blacklist settings)

14 minutes51 seconds

How to bind TP5 to module/controller/operation/namespace/class: This course is the most complete

15 minutes39 seconds
Chapter5Controller and request object of TP5 framework

Controller class source code interpretation [Config.php]: 5 attributes and 8 methods

07 minutes58 seconds

First experience with TP5 controller: quickly enter the world of controller

15 minutes31 seconds

Introduction to advanced advanced knowledge of TP5 controller: the only way from novice to expert

18 minutes25 seconds

TP5_How to create public controllers and public operations: inheritance and sharing

12 minutes38 seconds

TP5_Pre-operation: Hire a nanny for your operation

12 minutes16 seconds

TP5_Page jump and redirection

15 minutes13 seconds

Request object and parameter binding: access variables by name and in order

19 minutes45 seconds

Request object attribute injection and method injection: extend object functions and realize data sharing across controllers and modules

13 minutes22 seconds

Dependency injection of request objects: Create request objects by operating the type constraints of parameters

12 minutes04 seconds
Chapter6Database and model operations of TP5 framework

The running process and working principle of TP5’s database connector and query builder

05 minutes38 seconds

How to correctly create a database connection in TP5: static and dynamic methods

11 minutes20 seconds

Native query implementation principle of TP5 database: query and execute methods

15 minutes10 seconds

TP5_The working principle of query constructor and chain operation: full diagram, easy to understand at a glance

09 minutes56 seconds

TP5_Three ways to generate query conditions: expression/array/closure (recommended)

14 minutes11 seconds

TP5_Database new and update operations: insert()/update()

12 minutes08 seconds

TP5_Database query and delete operations: find/select/value/column/delete

07 minutes49 seconds

TP5_Basic concepts of model and introduction to base class Model: Model.php

12 minutes32 seconds

TP5_Creation and use of models: instantiation and static creation

18 minutes25 seconds

TP5_Use the model to add data to the data table: save()/saveAll()/create() operations

11 minutes30 seconds

TP5_Use the model to update data in the data table: sava()/savaAll()/update() operations

13 minutes31 seconds

TP5_Model query operations: find()/select()/get()/all() operations

19 minutes13 seconds

TP5_Model deletion operation: delte() and destroy() methods

09 minutes14 seconds

TP5_Model readers and modifiers: getAttr() and setAttr()

17 minutes01 seconds

TP5_Model data type conversion: $type attribute setting skills

11 minutes37 seconds

TP5_Model data automatic completion setting: $insert/$update/$auto attribute configuration skills

19 minutes38 seconds
Chapter7Views and templates: the first stop for user inspection

TP5_Three methods of view instantiation: dynamic/static/helper function

12 minutes53 seconds

TP_Three methods to configure the template engine: confing file/class instantiation parameter passing/config method

06 minutes30 seconds

TP5_Five methods of template variable assignment: method/parameter/object/static/helper function

11 minutes33 seconds

TP5_Seven rendering methods of templates: default/across controllers and modules/anywhere/view directory/application entry

10 minutes03 seconds

TP5_Template content replacement: local and global configuration

08 minutes26 seconds

TP5_Output of template custom variables: scalar/array/object

08 minutes56 seconds

Output of system variables in TP5_template: variables starting with $Think

09 minutes03 seconds

Output of request variables in TP5_template: $Request.Method.Parameters

07 minutes00 seconds

TP5: Use functions to process variables in templates: the role of variable regulators

08 minutes18 seconds

TP5_Template default value and operator: no value can be output

12 minutes29 seconds

TP5_As-is output and template comments

05 minutes45 seconds

TP5_Template Layout: Global Configuration/Template Configuration/Controller Configuration

13 minutes35 seconds

TP5_Template inheritance: an enhanced version of template layout, the terminator of public templates

08 minutes07 seconds

TP5_Cycle Tag: Template Mass Data Output Tool

15 minutes17 seconds

TP5_Compare Tags: Simplify template design, intelligent processing requirements

06 minutes02 seconds

TP5_Conditional judgment label: double branch/multiple branches/range

13 minutes16 seconds

TP5_Native tags: the ultimate solution

06 minutes30 seconds
  • CancelreplySending
  • Cancelpost a noteSending