You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

impleOne comprises of the back-end server and front-end server.

Back-end server responsibility is interaction with the database, it handles all the queries received from the frontend server. By results, it forms a JSON object and returns it to a front-end server via API.

Back-end and front-end interaction scheme

The front-end server works as a SPA (Single Page Application). It means that the page is loaded only once, and then, when changed, or when any button clicked, the query to the back-end server is sent to process the changes. The back-end server processes this query and returns the answer in JSON format. After that, the changes are applied and displayed in the interface.

SPA functionality scheme


Tables and Columns

As mentioned before, SimpleOne stores its data and business logic in tables. In fact, SimpleOne comprises of a lot of tables, which, in turn, are made up of columns.

When new table is created, the following happens:

  1. The table structure forms;
  2. The table description and properties (business-rules, access rules, and so on) are recorded into the sys_db_table table;
  3. Similarly, if a column added, it's description and properties are recorded into the sys_db_column and sys_db_column_type tables.

Table Creation Scheme


Interface Behaviour

One of the major concepts in SimpleOne interface is form. 

Форма лежит в sys_ui_form. Форма состоит из секций, секции лежат в sys_ui_form_section. Секции состоят из элементов, элементы лежат в sys_ui_form_element.

Всё это можно конфигурировать через интерфейс.

Есть ряд таблиц, sys_security_*, кому разрешен доступ, разноуровневые доступы или ограничения.

При отрисовке формы проводится проверка, есть ли у юзера необходимый доступ к тем или иным полям формы в соответствии с правилами ACL. По результатам проверки поля отображаются или не отображаются.

Всё это более подробно описано здесь: ACL Rule Types, на этой странице только указано, какие таблицы взаимодействуют.



на фронтенде формы

с форм мы переходим на acl

  • No labels