Next Section: 对象的生成及使用1738 plays

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

A closer look at PHP Season 4

Introduction >
ChapterCourseware
Chapter1Declaration and use of classes and objects

Declaration and use of classes and objects

29 minutes26 seconds

Understand object-oriented

12 minutes23 seconds

Two important concepts in object-oriented

09 minutes19 seconds

The relationship between classes and objects

15 minutes50 seconds

Class declaration

21 minutes09 seconds

Generation and use of objects

29 minutes40 seconds

Work requirements

00 minutes32 seconds
Chapter2Object-oriented magic methods and properties

Constructor and Destructor

23 minutes54 seconds

Encapsulation characteristics and get magic method

24 minutes52 seconds

Other magic methods of encapsulation

17 minutes35 seconds

The second major feature of object-oriented inheritance

24 minutes46 seconds

Characteristics of inheritance

04 minutes27 seconds

Access type control

15 minutes27 seconds

Common keywords

33 minutes46 seconds

Work requirements

00 minutes57 seconds
Chapter3Object-oriented definition of common classes in practice

File upload class

42 minutes19 seconds

Magic method toString

07 minutes17 seconds

Implementation of verification code class

32 minutes49 seconds

Introduction to database operation classes

08 minutes24 seconds

magic method call

06 minutes05 seconds

Define initialization data and connect to the database in the database operation class

22 minutes40 seconds

Insert data method implementation

42 minutes09 seconds

How to delete data

20 minutes18 seconds

Implementation of methods to modify data

09 minutes35 seconds

Implementation of methods to query data

18 minutes38 seconds

Query single data method implementation

14 minutes12 seconds

Implementation of method to obtain total number of items

05 minutes11 seconds

Image processing class implementation of methods to obtain image-related information

18 minutes42 seconds

All methods of image scaling are implemented

25 minutes28 seconds

Image watermark function implementation

25 minutes59 seconds

Image cropping function implementation

11 minutes00 seconds

Introducing the paging class

07 minutes31 seconds

Practical combat of paging class

26 minutes50 seconds

Work requirements

02 minutes08 seconds
Chapter4Other applications of object-oriented

Object serialization operations

20 minutes24 seconds

Deserialization operations

10 minutes52 seconds

Magic method clone clone

09 minutes07 seconds

Abstract classes and abstract methods

16 minutes15 seconds

interface

24 minutes16 seconds

Polymorphism

10 minutes26 seconds

Singleton design pattern

06 minutes13 seconds

Trait usage

28 minutes08 seconds

anonymous class

07 minutes30 seconds

Customs clearance requirements

03 minutes29 seconds
Chapter5Dynamic loading, namespaces and MVC

Implement rectangular calculation

31 minutes43 seconds

Implement circle calculations and triangle calculations

18 minutes14 seconds

Automatic loading of classes

19 minutes26 seconds

Introduction and use of namespaces (Part 1)

34 minutes43 seconds

Namespace terms and aliases and imports

32 minutes44 seconds

Introduction to MVC design pattern

12 minutes11 seconds

MVC design pattern implements view and controller

32 minutes08 seconds

MVC design pattern m layer and extension library implementation

16 minutes22 seconds

Routing optimization and operation requirements

02 minutes30 seconds
Chapter6PDO

Homework explains MVC pattern creation and data addition, query and display

29 minutes50 seconds

Homework explains the MVC pattern to implement data modification and deletion

10 minutes50 seconds

Introduce how to open PDO

06 minutes01 seconds

Try...catch syntax introduction

07 minutes41 seconds

Introduction to PDO

11 minutes21 seconds

Use PDO to implement the functions of editing, deleting and modifying

18 minutes53 seconds

Use PDO to implement query function

08 minutes32 seconds

Use PDO preprocessing objects to add, delete, modify and query data

34 minutes49 seconds

Set and get properties

23 minutes54 seconds

Transaction operations

18 minutes52 seconds

big data storage

13 minutes17 seconds

Work requirements

00 minutes43 seconds
Chapter7session control

Learn about session controls

05 minutes09 seconds

Master the use of COOKIE

29 minutes49 seconds

View COOKIES in your browser

02 minutes51 seconds

Use of SESSION

30 minutes55 seconds

SESSION URL operation

23 minutes50 seconds
  • CancelreplySending
  • Cancelpost a noteSending