A pc-side web site uses java as the backend. should the front-end use php to call the api and then use the template engine output? is it a dynamic call from a front-end framework like angularjs? A pc-side web site uses java as the backend. should the front-end use php to call the api and then use the template engine output? is it a dynamic call from a front-end framework like angularjs?
Reply content:
A pc-side web site uses java as the backend. should the front-end use php to call the api and then use the template engine output? is it a dynamic call from a front-end framework like angularjs?
I personally suggest using angularjs for front-end rendering.
Although I use vue. js without angularjs
This reduces the burden on the server and improves the performance of your server.
Now the frontend and backend separation is common, and there are many archives, such as the previous two mvvm frameworks.
In addition, it is relatively easy for system maintenance. if you miss the position of a php engineer, you can focus on front-end js and back-end java.