How can I deal with php object-oriented functions?

Source: Internet
Author: User
Php does not talk about this in terms of object-oriented usage? ------ solution -------------------- object-oriented is a way of thinking. object-oriented programming is a way of programming, the reason is that the author is afraid of making it unclear. In fact, before the emergence of object-oriented programming methods, the object-oriented thinking method is widely used in project planning, design, and testing ------ solution -------------------- of course it is used! Is Object-Oriented Programming php applicable?
Why don't I talk about this in books?
------ Solution --------------------
Object-oriented is a way of thinking
Object-oriented programming is a programming method.

I don't want to talk about it in the book because the author is afraid of making it unclear.
In fact, before the emergence of object-oriented programming methods, object-oriented thinking methods have been widely used in project planning, design, and testing.

------ Solution --------------------
Of course!
Object-oriented programming is an improvement in process-oriented programming
Unlike process-oriented programming, he does not need to understand every detail before he can start, so programming is very efficient.

Do not all open-source projects you can see adopt object-oriented programming?
------ Solution --------------------
Currently, PHP versions are generally above 5.3, because many open-source users are using namespaces, and programs earlier than 5.3 cannot run.
------ Solution --------------------
It is useful for similar programming methods.
------ Solution --------------------
Deep object-oriented programming
------ Solution --------------------
If you want to deepen the object-oriented concept, you can learn Ruby.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.