testchyproje/两种开发模式区别.txt

17 lines
688 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

简单描述两种开发模式的区别
前后端不分离:
 后端需要控制数据的展示
 前后端不分离,耦合严重
 返回的HTML页面实用性拓展性差
 只适用于浏览器,其他终端不适配
前后端分离:
 后端只对数据进行处理,只提供数据
 前端效率,页面好不好看,全部由前端负责,前后端完全独立
 解耦合
 前后端同时开发,缩小业务上线周期
 绝大多数情况下前端发送json格式的参数后端同样以json格式的数据返回
 适应性,拓展性非常好
 适合多终端运行同一套接口PC, APP, 小程序等)