Joke Collection Website - Public benefit messages - What is front-end separation?

What is front-end separation?

To put it bluntly, the front-end and back-end are divided into two projects, which are developed by different teams, so they are separated from the perspective of engineering and responsibility. In this way, the back end tends to provide simple API interfaces, and the front end calls API interfaces for presentation and business calls.

This not only separates the page rendering and business logic from the server, but also puts the page rendering on the front end and even on the browser; Putting business logic in the background to concentrate on business reduces the coupling between the two and clarifies the responsibilities, which is more suitable for the management and development of large projects and teams.