Home > Article > Backend Development > javascript - Comparison of angular and php template engines
A PC-side web site uses Java as the backend. Should the front-end use PHP to call the API and then output it from the template engine, or should it be dynamically called by 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 output it from the template engine, or should it be dynamically called by a front-end framework like AngularJS?
I personally recommend using angularjs for front-end rendering
Although I personally don’t use angularjs but vue.js
For the server, it reduces its burden and can improve the performance of your server
And now it is relatively common to separate the front and back ends, and there are more files, such as the previous two mvvm frameworks
And for system maintenance, it is relatively easy, and there is no PHP engineer position. You can concentrate on front-end js and back-end java