search

Next Section: 课程简介与框架案例演示14739 plays

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

Dugu Jiujian (8)_php develops its own PHP framework from scratch

Introduction >
ChapterCourseware
Chapter1Basics: MVC and singleton pattern

What is the PHP development framework? What is it used for?

03 minutes45 seconds

Course Introduction and Framework Case Demonstration

05 minutes21 seconds

A script that allows you to thoroughly understand MVC

12 minutes19 seconds

See through the singleton pattern at a glance, and you’re guaranteed to learn it

12 minutes14 seconds
Chapter2Model: Database and Model

Encapsulated database operation class Db [PDO implementation]

21 minutes06 seconds

Test database operation class Db

11 minutes33 seconds

Create a public model class Model

07 minutes33 seconds

Create user-defined models

02 minutes04 seconds
Chapter3Controller: Implementing the functions of the module

Basic principles and techniques for creating custom controllers

06 minutes47 seconds

Create a front-end controller to implement request distribution

08 minutes51 seconds
Chapter4View: User experience comes first

Basic principles for creating views

01 minutes54 seconds

Create a view template that displays all data

05 minutes47 seconds

Create a view template that displays a single record

08 minutes48 seconds
Chapter5Optimization: Transform into a practical framework

Standardize the directory structure of the project

07 minutes49 seconds

Create your app’s public configuration file

02 minutes52 seconds

Create framework basic classes [Key points]

17 minutes24 seconds

Create framework entry file

04 minutes17 seconds
  • CancelreplySending
  • Cancelpost a noteSending