Home  >  Article  >  Backend Development  >  How to implement core/plugin design in PHP

How to implement core/plugin design in PHP

WBOY
WBOYOriginal
2016-08-20 09:03:581042browse

Don’t oop

No design patterns

Don’t pursue beautiful code

I just want to be able to achieve a design architecture based on core/plugin similar to wordpress, Weimeng, discuz

ps: I think this kind of design is in line with the characteristics of php

Reply content:

Don’t oop

No design patterns

Don’t pursue beautiful code

I just want to be able to achieve a design architecture based on core/plugin similar to wordpress, Weimeng, discuz

ps: I think this kind of design is in line with the characteristics of php

http://justcoding.iteye.com/b...
This article should be used as a reference.

By the way, I am also planning to add plug-in functions to my project recently, but I plan to implement it in an OOP way and put it in a service container, which is exactly the opposite of the question.

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