Home  >  Article  >  Backend Development  >  使用CI加载视图与直接访问页面有什么区别?

使用CI加载视图与直接访问页面有什么区别?

WBOY
WBOYOriginal
2016-06-06 20:46:421181browse

直接在页面里用AJAX与服务器交互就可以啊,加载视图有什么优势/弊端?

回复内容:

直接在页面里用AJAX与服务器交互就可以啊,加载视图有什么优势/弊端?

代码模板分离,适合PHP和前端协同开发,解耦合

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