Files
ClassContent/历届学生/罗朝/2019-05-05/笔记.txt
2024-09-27 02:06:13 +08:00

39 lines
855 B
Plaintext
Raw 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.

1:后端渲染开发网站
前端:20% (就是写页面,工作没有技术含量很low)
后端:80% (写功能 + 写页面)
问题:
1:页面中各种编程语言代码都杂烩在一起,导致项目升级的时候代码不容易修改
2:项目需要升级迭代的时候,前后端项目版本不统一导致各种问题,交流成本太高,改起来太难
2:前后端分离开发网站 (ajax + json)
前端:50% 60% (写页面 + 写功能)
后端:50% 40% (写数据)
ajax
概念:一种无刷新(局部刷新)更新网站的技术
主要作用:前端使用ajax技术和后端进行数据交互 (json 来描述数据(想法)) 前后端分离
ajax 跨域
1: 跨域 是谁导致的?
2: 为什么需要解决跨域,如何解决跨域?有几种方法解决?
win + r
cmd 回车