Intro-to-SeaJS
Upcoming SlideShare
Loading in...5
×
 

Intro-to-SeaJS

on

  • 3,701 views

Introduction to SeaJS.

Introduction to SeaJS.

Statistics

Views

Total Views
3,701
Views on SlideShare
2,453
Embed Views
1,248

Actions

Likes
14
Downloads
117
Comments
0

8 Embeds 1,248

http://lifesinger.wordpress.com 1226
url_unknown 5
http://webcache.googleusercontent.com 5
http://www.slideshare.net 4
http://cncc.bingj.com 3
http://static.slideshare.net 2
http://www.sogou.com 2
http://local 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Apple Keynote

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n

Intro-to-SeaJS Intro-to-SeaJS Presentation Transcript

  • SeaJS - 仅仅 载
  • 1. 问题
  • 问题 码 长 维护
  • 问题
  • 问题 对 赖 验
  • 问题 YUI3
  • 问题 Apple 这
  • 问题 让 JavaScript 块 环 执
  • 2. CommonJS
  • JavaScript 实现 标 规 实现
  • 规ECMAScript,W3C JSON... 规Modules, Packages,JSGI, Promises...
  • 马 业CommonJS: 构 JavaScript 态
  • CommonJS Modules/1.1.1 Sample Code
  • CommonJS 浏览 时 变浏览⋯⋯
  • 执Wes Garland: Modules/2.0 - BravoJSJames Burke: Modules/AMD - RequireJSKevin H. Smith: Modules/Wrappings - FlyScript...
  • 还处 蓝 + 齐 阶
  • or
  • 3. SeaJS 尝试
  • 3.1 SeaJS 设计
  • Mustache 启 : KISS 则
  • via
  • W3C 启 :规
  • 规 处 via
  • DRY - Don’t Repeat Yourself SRP - Single Responsibility Principal CoC - Convention over Configuration SoC... http://www.iteye.com/news/20930
  • SeaJS 设计 简单 规职责单约
  • 3.2 SeaJS
  • SeaJS 简单 载
  • SeaJS块 载 CommonJSModules/Wrappings 规 define简单 http://seajs.com/docs/guide/hello-seajs.html
  • Module Authoring Formathttp://seajs.com/docs/api/module-authoring-format.html
  • Bootstrap http://seajs.com/docs/api/seajs-bootstrap.html
  • http://seajs.com/docs/
  • SeaJS 块 选
  • SeaJS 块 选
  • SeaJS 块 选 纳
  • via
  • SeaJS 还 实现 还 问题 google 页时
  • module loader+recommended modules+best practices=SeaJS
  • 3.3 SeaJS 实战
  • 头 问题
  • 头 问题问题 块 发习惯问题 动问题 约 + 动问题 变 彻 块问题 义+ 纳
  • Bonus: JSONM 约 办404 时
  • 4. NO-LIBRARY LIBRARY
  • FAQ http://lifesinger.org/ http://seajs.com/http://twitter.com/lifesinger