A
A
Alexander Bulatov2020-04-08 11:45:53
SOLID
Alexander Bulatov, 2020-04-08 11:45:53

What is SOLID and how can it be used in web development?

Good day!

Actually the question is sounded in a subject.
The only thing I will add is that the link and "professor's arrogance" from Wikipedia has already been considered, but I would like even a child to understand what it is and what it is eaten with, because I want to achieve a real understanding of this topic.

I would be very grateful for a full answer or a tip where you can look and reach an understanding.

Thanks in advance.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
R
Robur, 2020-04-08
@alexanderbulatov

If the child understands, then these are the rules invented by adult uncles, if you follow them, then your code will be good, you will be able to create a more complex system, less swearing and neighbor boys, depending on how their small projects, which were so cool yesterday, suddenly turn into chaos and the resident of evil, they will envy, looking at how you famously continue to sculpt your project all the same beautiful, and all the girls will want to be friends with you.
You can see in more detail what kind of rules and how to follow them in so many places on the Internet that reprinting here will be condemned in any decent society.
One point - not all principles are equally useful and applicable in web development, but knowing and understanding them all is beneficial in any case.

F
FanatPHP, 2020-04-08
@FanatPHP

The whole solid boils down to solving one problem:

made changes to one piece of code, and another one fell down, which, at first glance, is not related to the first one

Therefore, you can use it only if you are aware of the responsibility for the operation of your application.
In web development, the system "give it to the customer and forget it" is practically not used.
Understanding can be achieved by reading the book of Robert Martin

K
Karinyshka, 2020-04-17
@Karinyshka

Here I liked the video explanation:
https://youtu.be/xq13wiqvcTc

F
foogaz, 2020-05-19
@foogaz

useful

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question