SeaJS -          2011.04
1.
YUI3
Apple
JavaScript
2. CommonJS
JavaScript
ECMAScript, W3CJSON...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         ...
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: JSONM404
4. NO-LIBRARY    LIBRARY
FAQ    http://lifesinger.org/     http://seajs.com/http://twitter.com/lifesinger
seaJs—不仅仅是脚本加载器
seaJs—不仅仅是脚本加载器
seaJs—不仅仅是脚本加载器
seaJs—不仅仅是脚本加载器
seaJs—不仅仅是脚本加载器
seaJs—不仅仅是脚本加载器
seaJs—不仅仅是脚本加载器
Upcoming SlideShare
Loading in …5
×

seaJs—不仅仅是脚本加载器

5,682 views

Published on

懒懒芝士会分享话题

Published in: Technology, Design
0 Comments
12 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
5,682
On SlideShare
0
From Embeds
0
Number of Embeds
19
Actions
Shares
0
Downloads
145
Comments
0
Likes
12
Embeds 0
No embeds

No notes for slide

seaJs—不仅仅是脚本加载器

  1. 1. SeaJS - 2011.04
  2. 2. 1.
  3. 3. YUI3
  4. 4. Apple
  5. 5. JavaScript
  6. 6. 2. CommonJS
  7. 7. JavaScript
  8. 8. ECMAScript, W3CJSON...Modules, Packages,JSGI, Promises...
  9. 9. CommonJS: JavaScript
  10. 10. CommonJS Modules/1.1.1 Sample Code
  11. 11. CommonJS
  12. 12. Wes Garland: Modules/2.0 - BravoJSJames Burke: Modules/AMD - RequireJSKevin H. Smith: Modules/Wrappings - FlyScript...
  13. 13. +
  14. 14. or
  15. 15. 3. SeaJS
  16. 16. 3.1 SeaJS
  17. 17. Mustache : KISS
  18. 18. 最好的设计不是再也没有什么东西可以添加了,而是再也没有什么东西可以去掉。 via 《大教堂与集市》
  19. 19. W3C :
  20. 20. 有了约定好办事。 via 至理名言
  21. 21. DRY - Don’t Repeat Yourself SRP - Single Responsibility Principal CoC - Convention over Configuration SoC... http://www.iteye.com/news/20930
  22. 22. SeaJS
  23. 23. 3.2 SeaJS
  24. 24. SeaJS
  25. 25. SeaJS CommonJSModules/Wrappings define http://seajs.com/docs/guide/hello-seajs.html
  26. 26. Module Authoring Formathttp://seajs.com/docs/api/module-authoring-format.html
  27. 27. Bootstrap http://seajs.com/docs/api/seajs-bootstrap.html
  28. 28. http://seajs.com/docs/
  29. 29. SeaJS
  30. 30. SeaJS
  31. 31. SeaJS
  32. 32. 世界上有很多聪明人,很多事情已经做得非常棒。有太多更需要投入的地方,的确不应该在别人已经做得很好的地方浪费时间了。 via 《大教堂与集市》
  33. 33. SeaJS google
  34. 34. module loader+recommended modules+best practices=SeaJS
  35. 35. 3.3 SeaJS
  36. 36. ++
  37. 37. Bonus: JSONM404
  38. 38. 4. NO-LIBRARY LIBRARY
  39. 39. FAQ http://lifesinger.org/ http://seajs.com/http://twitter.com/lifesinger

×