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

Compare with Current View Page History

« Previous Version 5 Next »

SimpleOne can be described as a three-tier system, having 


SimpleOne comprises of the backend server and frontend server.

Backend 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 frontend server via API.

Backend and frontend interaction scheme

The frontend 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 backend server is sent to process the changes. The backend server processes this query and returns the answer in JSON format. After that, the changes are applied and displayed in the interface.

SPA finctionality scheme



Сипмл состоит из бэкенда и фронтенда. Они расположены на разных серверах. Бэкенд отвечает за взаимодействие с БД, т.е. с таблицами. Он формирует JSON-объект, который через API возвращает на фронтенд. Фронтент работает по принципу SPA, т.е. единожды загружает страницу, а далее, при любом изменении, при любом нажатии кнопки идёт запрос к бэкенд-серверу, который в JSON-виде возвращает ответ. Причем он возвращает только запрошенные данные, происходит экономичное взаимодействие, что экономит ресурсы (тут можно нарисовать простенькую схему). Фронтенд построен через React, эта библиотека позволяет удобно увязывать данные с версткой. 

  • No labels