PHP

All languages should be a decent object-oriented programming. In PHP, it is too! This article requires the reader knowledge of the PLO, because there will be seen as making a class, not what the method, object, etc. All languages should be a decent object-oriented programming. In PHP, it is too! This article requires the reader knowledge of the PLO, because there will be seen as making a class, not what the method, object, etc. class dismantled.

I think you do not need to explain what inkapslulyatsiya and inheritance, etc. However, as implemented by inheritance, we need to consider. class sun extends NameOfClass / / inherits NameOfClass To refer to a method of parent class to write parent:: method (). The classes are very convenient thing, but fat! Try to use the classes as little as possible! They consume a lot of RAM! If you need to store only a given (without methods), then use the structures! Again I repeat: They consume a lot of RAM! If you need to store only a given (without methods), then use the structures! That's it! Good luck! Here is the article itself.