The widget consists of a template (responsible for drawing the widget), client controller (responsible for client logic), server controller (responsible for server logic).
The widget sends, receives and processes events through the controllers (client and server)
Widgets can be interactive, allowing interaction with the user, and standalone, without direct interaction with the user. There can be several widgets on the page.
Widgets can interact within a single page.
It is possible to make a widget a part of another widget by embedding it.
You can set widget parameters for the widget instance placed on the widget's page, which determine the widget instance's behavior.
1. Forms: - форма записи(достаточно указать таблицу и представление формы) - произвольная форма (можно задать поля по типу аналогичные системным, задать клиентскую логику и действия) - ?форма опроса
2. List widget - таблица опционально с фильтром, с шапкой, определенным набором столбцов, количеством выводимых записей, действиями - список плитками с указанием количества столбцов и строк - просто список с действиями(списка)