Home  >  Article  >  Backend Development  >  javascript - Comparison of angular and php template engines

javascript - Comparison of angular and php template engines

WBOY
WBOYOriginal
2016-07-06 13:53:421088browse

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?

Reply content:

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

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn