PHP Object-Oriented Learning-class practices please share your PHP object-oriented learning experience. I have learned about the object-oriented theory. However, if you want to write a class, you cannot fully consider it. For the scalability and maintainability of the project, object-oriented programming is required. I would like to ask you what you should consider when writing a class. In addition, how can we improve the writing level? thank you very much. ------ Solution-PHP Object-Oriented Learning-class practice
Please share your PHP object-oriented learning experience.
I have learned about the object-oriented theory. However, if you want to write a class, you cannot fully consider it. For the scalability and maintainability of the project, object-oriented programming is required.
I would like to ask you what you should consider when writing a class.
In addition, how can we improve the writing level?
Thank you very much.
------ Solution --------------------
No way to fully considerThis is a process-oriented way of thinking.
In process-oriented programming, you cannot write programs without knowing the details.
In object-oriented programming, you do not need to know the details. When you need a method without knowing how to implement it, you only need to write an empty method. It does not affect the running of CEN, but the required methods have not been implemented yet.
------ Solution --------------------
For the process, the attacker's boxing photo was cut off and Shaolin's boxing 5
The target audience is the Inner's family.
Therefore, if you want to practice the Inner's boxing, you must first step by step and concentrate on it. To remain unchanged (the empty method mentioned by Xu ...)
...
Just as you did not say.