Home  >  Article  >  Backend Development  >  Develop PHP according to an object-oriented architecture model similar to JAVA,

Develop PHP according to an object-oriented architecture model similar to JAVA,

WBOY
WBOYOriginal
2016-12-05 13:44:131081browse

It consists of N classes that inherit each other. What are the flaws of this?
The base class of JAVA can be Object and then there are button classes, window classes, and other classes. These classes are specifically responsible for their own fields, and then through a layer One level of inheritance

Reply content:

It consists of N classes that inherit each other. What are the flaws of this?
The base class of JAVA can be Object and then there are button classes, window classes, and other classes. These classes are specifically responsible for their own fields, and then through a layer One level of inheritance

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
Previous article:php http request problemNext article:php http request problem