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

Compare with Current View Page History

« Previous Version 8 Next »

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.

The 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


Solution Structure

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 the new table is created



когда создается таблица, описание таблицы кладётся в sys_db_table, помимо описания, формируется сама таблица, её структура. А в sys_db_table будут какие-то её лейблы, настройки доступа и так далее. Аналогично, если добавляем колонки, описание сохраняется в sys_db_column (описание, как они называются, какие лейблы, являются ли они обязательными), и также каким типом колонки является (это - ссылкой на sys_db_column_type)



б

  • No labels