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

Compare with Current View Page History

« Previous Version 16 Next »

Preface

SimpleOne 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. It is used for the most of the user purposes along with the lists.

The form view you can see in the interface is stored in the sys_ui_form table. Usually, the form consists of sections. Their configurations are stored in the sys_ui_form_section table. In turn, the sections are comprised of elements. Their settings can be found in the sys_ui_form_element table. All this form, including sections and elements, is configurable. You can create as many views as you need, for you business tasks and purposes. For examples, separate views for every role in the company can be created, with different sets of the fields, depending on the responsibilities.

When displaying the form, the security check performs. For this, the security tables are used (they have the sys_security prefix). After checking whether the user has or not a permission to operate with the form in accordance with the appropriate ACL rules, he is shown the form in line with his access level.

For more information about ACL, please refer ACL.

Form displaying scheme

  • No labels