第二阶段
DOM操做+BOM操做+cookie操做+regExp正则表达式+ajaxjquery
第一章:DOM操做
- dom简介、dom结构、querySelector、querySelectorAll
- node节点类型 12种,重点介绍三种(元素、属性、文本)
- node属性经常使用操做 getAttribute、setAttribute、removeAttribute、getAtttibuteNode、childNodes、firstChild、lastChild、nextSibling、previousSibling、parentNode
- 经常使用的方法DOM元素建立以及节点追加 createElement、 appendChild、 createTextNode、insertBefore、removeChild
- offsetWidth,clientWidth,scrollWidth(height同理)
- offsetTop,offsetLeft,offsetParent
- 可视区大小滚动高度 clientWidth / clientHeight 、innerWidth /innerHeight 、scrollTop / scrollLeft
第二章:BOM操做
- BOM(Brower Object Model) 核心对象window
- 表单中的操做 onfocus()、onblur()、 onchange()
- event事件对象 每一个浏览器中的event 、event.pageX / event.pageY 、event.clientX / event.clientY
- 事件绑定 attachEvent、addEventListener 事件捕获、事件冒泡 、定义事件解绑 、定义on方法
- 滚轮事件 wheelDelta、detail 、nmousewheel 滚轮事件兼容
- 事件冒泡 onmouseover/onmouseout和onmouseenter/onmouseleave区别 表格操做点击、cancelBubble、stopPropagation()
- 键盘事件 keyCode、onkeydown、 onkeypress、onkeyup、altKey、ctrlKey、shiftKey、which等
- 阻止浏览器默认事件 preventDefault 、屏蔽浏览器的右键菜单、禁止选中复制
- window其余的补充 open()、close()、location.href/search/hash
第三章:cookie操做
- 什么是cookie 、存储/获取cookie 、 封装方法 getCookie(key)、 setCookie(key,value,time)、removeCookie(key)
第四章:正则表达式
- 什么是正则表达式
- 建立正则表达式经常使用方法 / /、 new RegExp()、test()、exec()
- String中正则表达式方法 match、replace、 search、 split
- 标识符 \n \r \t .\s \S \d \D \w \W ^a a$
- 量词 * + ? {m,n}
- 贪婪和惰性
- 子集 () |
- replace应用
第五章:ajax
- 什么是ajax
- 本地服务器环境的搭建
- Ajax工做流程及代码 、建立ajax对象 、open方法 、send方法、最终接受
- HTTP状态码 status属性返回值所表明的意思
- Ajax封装
- 简单实例运用
- jsonp
- 实例:跨域调用百度搜索数据
- jQuery里面的ajax
第三阶段
JavaScript精品学习视频
面向对象web
第一章:面向对象(上)
- 什么叫面向对象 面向过程、面向对象、二者区别
- 构造函数 什么叫构造函数 、什么是工厂模式
- 原型prototype
- 实例:面向对象写轮播
第二章:面向对象(中)
- 方法链
- 包装对象
- 原型链
- 原型的默认属性和方法
- 继承的多种方式 、 类继承 、 复制继承、对象继承、更多继承方式省
第三章:面向对象(下)
- 闭包 什么叫闭包 、闭包有什么特色
- 递归 什么是递归、哪些时候会用递归
- 如何开发插件
第四章:面向对象实战
- 开发相似jquery类库插件(8节课)
- 推箱子游戏(3节)
- 打飞机游戏(3节)
第四阶段
ECMAScript6ajax
ECMAScript6
- ECMAScript 和 JavaScript 的关系
- ES6 与 ECMAScript 2015 的关系
- ECMAScript 的历史
- 部署进度
- Babel 转码器
- Traceur 转码器
第一章:Let和const命令
- let 命令
- 块级做用域
- const 命令
- 顶层对象的属性
- global 对象
第二章:变量的解析赋值
- 数组的解构赋值
- 对象的解构赋值
- 字符串的解构赋值
- 数值和布尔值的解构赋值
- 函数参数的解构赋值
- 圆括号问题
- 用途
第三章:字符串的拓展
- 字符的 Unicode 表示法
- codePointAt()
- String.fromCodePoint()
- 字符串的遍历器接口
- at()
- normalize()
- includes(), startsWith(), endsWith()
- repeat()
- padStart(),padEnd()
- 模板字符串
- 实例:模板编译
- 标签模板
- String.raw()
- 模板字符串的限制
第四章:正则的拓展
- RegExp 构造函数
- 字符串的正则方法
- u 修饰符
- y 修饰符
- sticky 属性
- flags 属性
- s 修饰符:dotAll 模式
- 后行断言
- Unicode 属性类
- 具名组匹配
第五章:数值的拓展
- 二进制和八进制表示法
- Number.isFinite(), Number.isNaN()
- Number.parseInt(), Number.parseFloat()
- Number.isInteger()
- Number.EPSILON
- 安全整数和Number.isSafeInteger()
- Math对象的扩展
- Math.signbit()
- 指数运算符
- Integer 数据类型
第六章:函数的拓展
- 函数参数的默认值
- rest 参数
- 严格模式
- name 属性
- 箭头函数
- 绑定 this
- 尾调用优化
- 函数参数的尾逗号
第七章:对象的拓展
- 扩展运算符
- Array.from()
- Array.of()
- 数组实例的 copyWithin()
- 数组实例的 find() 和 findIndex()
- 数组实例的 fill()
- 数组实例的 entries(),keys() 和 values()
- 数组实例的 includes()
- 数组的空位
第八章:Symbol
- 概述
- 做为属性名的 Symbol
- 实例:消除魔术字符串
- 属性名的遍历
- Symbol.for(),Symbol.keyFor()
- 实例:模块的 Singleton 模式
- 内置的Symbol值
第九章:Set和Map数据结构
第十章:Proxy
- 概述
- Proxy 实例的方法
- Proxy.revocable()
- this 问题
- 实例:Web 服务的客户端
第十一章:Reflect
- 概述
- 静态方法
- 实例:使用 Proxy 实现观察者模式
第十二章:Promise对象
- Promise 的含义
- 基本用法
- Promise.prototype.then()
- Promise.prototype.catch()
- Promise.all()
- Promise.race()
- Promise.resolve()
- Promise.reject()
- 两个有用的附加方法
- 应用
- Promise.try()
第十三章:Lterator和for...of循环
- Iterator(遍历器)的概念
- 默认 Iterator 接口
- 调用 Iterator 接口的场合
- 字符串的 Iterator 接口
- Iterator接口与Generator函数
- 遍历器对象的return(),throw()
- for...of循环
第十四章:Generator函数的语法
- 简介
- next 方法的参数
- for...of 循环
- Generator.prototype.throw()
- Generator.prototype.return()
- yield* 表达式
- 做为对象属性的Generator函数
- Generator 函数的this
- 含义
- 应用
第十五章:Generator函数的异步应用
- 传统方法
- 基本概念
- Generator 函数
- Thunk 函数
- co 模块
第十六章:async函数
- 含义
- 基本用法
- 语法
- async 函数的实现原理
- 与其余异步处理方法的比较
- 实例:按顺序完成异步操做
- 异步遍历器
第十七章:class的基本用法
第十八章:class的继承
第十九章:Decorator
第五阶段
JavaScript设计模式正则表达式
第一章:学习设计模式的准备
- js面向对象回顾
- 什么是设计模式
- 为何咱们要学习设计模式?
- 设计模式的分类
第二章:建立型设计模式
- 单例模式
- 简单工厂模式
- 工厂方法模式
- 抽象工厂模式
- 原型模式
- 建立者模式
第三章:建立型设计模式
- 装饰者模式
- 外观模式
- 代理模式
- 适配器模式
- 亨元模式
第四章:行为型设计模式
- 迭代器模式
- 中介者模式
- 访问者模式
- 观察者模式
- 策略模式
- 命令模式
第五章:技巧性设计模式
- 委托模式
- 节流模式
- 数据访问对象模式
- 参与者模式
- 等待者模式
第六章:架构型设计模式
- 同步模块模式
- 异步模块模式
- MVC模式
- MVP模式
- MVVM模式