Answer the question
In order to leave comments, you need to log in
How to understand the structure of classes (objects) in CMS?
For example, there is OpenCart, it is clearly assembled according to MVC, you can see where the router is and so on, but how to figure out which class does what, what other classes it refers to, and so on? Are there any schemes or manuals of this kind, or is there only one way out - to read the code?
How do you understand other people's code? (on OOP)
Answer the question
In order to leave comments, you need to log in
It is important to set the target correctly.
You don't need to know exactly how OpenCart is written.
You just need to figure out how to work with it.
And for this, the code that many people use has manuals, articles, samples, and ready-made hautushki.
Open the project in phpstorm.
In some cases, it will be possible to build a class connection diagram.
Install xdebug extension for php.
Set up debugging in phpstorm.
For example, click on the button "Add to cart"
And away we go...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question