Besides inheritance, in real-time web development, do other OO functions have any important role?

In web development, we use java.net or php5. All this is OO. and have all the features of OO.

But on real-time sites, these OO functions play an important role other than inheritance.

Can someone list some real-time examples.

In application development, there can be huge use of OO. But in the case of websites, does the OS play a major role? How?

+5
source share
4 answers

In 1995, Design Patterns was able to produce this phenomenal insight on page 20:

Use object composition over class inheritance

, . , SOLID , , . , .

-, .

+6

. , ( ) , . , , , - .

, JDBC .. , , -, , . , , , , beans, .

: , @zod, , , , (, HTML , ), OO . ?

+3

, OO . , , MVC; , User, , , , , . . , , . , .

0

To give a simple example, we as a company actively use it to ensure security. We have plugins for various frameworks that control who is trying to reach that class and method. In addition to this, we can avoid user access to this class and method without adding additional lines to the class.

In addition, we use them to refine the code.

Besides all those who do OOP, this is a good way to create a large project with a large team.

0
source

All Articles