Home  >  Article  >  2017 Develop your own PHP framework video tutorial PHP framework development video tutorial

2017 Develop your own PHP framework video tutorial PHP framework development video tutorial

PHP中文网
PHP中文网Original
2017-10-10 09:32:234016browse

php Chinese website original video tutorial, teach you how to develop your own PHP framework, come and learn! ! !

Copy link: http://www.php.cn/course/665.html

Or click on the original text link in the lower left corner of the article to learn...

Basics :MVC and singleton mode

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

Course Introduction and Framework Case Demonstration

A script allows you to Thoroughly understand MVC

See through the singleton pattern at a glance, and ensure you learn it


## Model Chapter: Database and Model

Encapsulate database operation class Db[PDO implementation]

Test database operation class Db

Create public model class Model

Create user-defined model


Controller: Implementing the functions of the module


##Basic principles and techniques for creating custom controllers

Create a front-end controller to implement request distribution


View: User experience first

Basic principles of creating a view

Create a view template that displays all data

Create a view template that displays a single record

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