Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

seaJs—不仅仅是脚本加载器

5,759 views

Published on

懒懒芝士会分享话题

Published in: Technology, Design
  • Login to see the comments

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

×