OOP Methodology
The OOP or Object-oriented programming methodology is designed to write any computer program or system as a set of objects, each of which belongs to a certain class and performs certain functions. And all classes obey the principles of inheritance.
Basic principles of OOP:
- Abstraction allows you to highlight in the model important aspects for solving a specific problem, which are formed in the form of a class.
- Encapsulation organizes a fast and safe hierarchy of objects within the system. With encapsulation, one simple command is enough to control the process, without unnecessary clarifications.
- Inheritance defines the relationship between objects in a program so that changes made to a parent are not duplicated in a child element.
- Polymorphism determines in which situations processes should be parallelized and which should be combined.
See also
-
PHP tutorial,
which talks about working with OOP in PHP -
JavaScript tutorial,
which talks about working with OOP in JavaScript -
modeling language
UML,
which describes processes using diagrams and charts -
a set of concepts Programming Paradigm,
which defines the approach to programming