Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Widget is a logically completed independent part of the interface. Widgets allow you to simplify your code, put it in a logical order, and reuse it. For example, a news list. You can place it on the main page of the site, as well as on the page of a product. If it is very conditional, then the widget is like a controller, the only action of which (run) renders some kind of view.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question