Traditional Culture Encyclopedia - Traditional virtues - How to correctly understand the front-end separation of software system architecture?

How to correctly understand the front-end separation of software system architecture?

First of all, the front-end separation of software system architecture is more due to the popularity of the Internet in recent years. In order to improve the response speed of front-end interaction and enhance user experience, the front-end separation architecture is derived. For example, the combination of Vue, NodeJS and microservice architecture. The front-end page renders the UI display effect, and the back-end is responsible for writing API services to provide data. NodeJS can also be introduced as a bridge to connect the JSON output of the back-end API and return to the front end for page display.

Secondly, based on the front-end separation architecture, on the one hand, the response speed is improved, and the data calculation process is processed in the middle layer and displayed in the front end; Avoid the pressure of the traditional large number of data request servers, and improve the performance based on the internal processing splicing of the middle layer; Parallel loading and display is realized by multi-components, segments and cards, which has more obvious advantages in the weak network environment without WiFI in 3G and 2G. Templates are loaded in parallel and displayed first, which improves the interactive experience of users.

Finally, from the classic mvc architecture to the spring MVC era of SSM and SSH, and then to the front-end frameworks such as AngularJS and Vue, although the technology and architecture Java have been evolving and improving, in essence, the front-end and back-end separation architecture is also a decoupling process, which is also in line with the concept of so a. Loose coupling of application system docking based on enterprise service bus. Through the plug-in mode, applications, documents and data are effectively connected and docked, and the information construction of foundry enterprises is supported by component construction, platform construction and architecture, so as to realize the work in its professional field with a more professional platform and help the development of enterprise information.