1. There are two main types of front-end and back-end collaboration. One is the back-end writing interface, the front-end uses artTemplate or vue.js to render data, and the front-end and back-end are separated;
2. The other is that the project uses The back-end template engine, such as PHP's smarty or Java's freemarker, if the front-end and back-end are separated, the back-end is responsible for writing documents and performing functions, and the front-end needs to learn the usage of the back-end template engine and make modifications in the dynamic environment.
3. Mainly for the second type. In the past, the back-end was always responsible for configuring the pages. From time to time, there would be problems with the pages sent by the front-end. As a result, the front-end still needed to assemble the pages. Upgrading, the cost of joint debugging of front-end and back-end is relatively high
4. Will it be more troublesome to let the front-end integrate with the back-end template engine now? I would like to ask what the front-end and back-end collaboration is like in your company? Or a better way to collaborate
The front end is responsible for the page, and the back end is responsible for the interface. Both parties develop according to the interface document. The back end focuses on processing data, and the front end is responsible for view rendering
In general, it is nothing more than who should do this rendering data and who should coordinate it.
As far as Android and iOS personnel are concerned, they don’t need to write all the work except the interface, and they can participate in the whole process.
What about web front-end developers? If they don’t understand the back-end language, it is obviously unrealistic to call interfaces and render data on dynamic websites. So generally speaking, after the web front-end staff completes the page, someone who knows the back-end needs to call the interface and spread the data to the template developed by the front-end staff.
It is not difficult for the front-end to learn a template engine. It is left to the front-end to do it. When it comes to the pages made by the front-end, he can set it up very quickly