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
Modular programming is the organization of a program as a collection of small independent blocks called modules, the structure and behavior of which obey certain rules.[1] The use of modular programming makes it easier to test the program and find errors. Hardware-dependent subtasks can be strictly separated from other subtasks, which improves the portability of the created programs.
A module is a functionally complete fragment of a program. In many languages (but by no means necessarily) it is issued as a separate file with source code or a named continuous part of it. Some languages provide for combining modules into packages.
I think that the question here is not about the definition of modularity in general, but about modularity in the context of Yii.
In Yii, a module is a mini-application that has its own models, controllers, and views. A module cannot exist on its own, only in the context of an application. Modules inherit from yii\base\Module. An example of a module is the admin panel for the CMS.
Here it is well written about it
https://yiiframework.com.ua/en/doc/guide/2/structu...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question