OO programming (Object Oriented programming, OOP, object-oriented programming) is a computer programming architecture, and one of the basic principles of OOP is that a computer program is composed of a single unit or object that can act as a subroutine, with OOP reaching three of the software engineering Goals: reusability, flexibility, and extensibility. To achieve the overall operation, each object can receive information, process data, and send information to other objects. Object-oriented has always been a hot topic in the field of software development, first of all, object-oriented conforms to the general law of human beings ' view of things. Secondly, the use of object-oriented method can make all parts of the system perform their duties and his ability. Opens the door for programmers to make their programming code simpler, easier to maintain, and more reusable. Some people say that PHP is not a true object-oriented language, which is true. PHP is a mixed language, you can use OOP, or you can use traditional procedural programming. However, for large projects, you might want to use pure OOP in PHP to declare classes, and use only objects and classes in your project. I'm not going to say much about this concept, because there are a lot of people friends away from object-oriented programming is the main reason is a contact with the object-oriented concept when the understanding is not up, so do not want to learn. After reading the whole content of the reader, then go to the concept to understand it.
This article is from the "Anping notes" blog, so be sure to keep this source http://anping.blog.51cto.com/10316899/1952677
"Getting Started with PHP object-oriented (OOP) programming" 1. What is object-oriented?