Your SlideShare is downloading. ×
0
KISSY Development Environment
KISSY Development Environment
KISSY Development Environment
KISSY Development Environment
KISSY Development Environment
KISSY Development Environment
KISSY Development Environment
KISSY Development Environment
KISSY Development Environment
KISSY Development Environment
KISSY Development Environment
KISSY Development Environment
KISSY Development Environment
KISSY Development Environment
KISSY Development Environment
KISSY Development Environment
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

KISSY Development Environment

155

Published on

KISSY Development Environment 2013

KISSY Development Environment 2013

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
155
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
5
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. KISSY Development 2013yiminghe@gmail.com
  • 2. • https://github.com/kissyteam/kissy/blob/master/CONTRIBUTING.md
  • 3. 整体目录结构
  • 4. 环境• nodejs– npm install• jdk7• tools/ant/bin
  • 5. 模块目录
  • 6. 模块简单介绍• README.md– 模块的简单介绍
  • 7. 模块版本更新历史• HISTORY.md– 指明在 KISSY 新版本发布期间的变化
  • 8. 模块源码目录• src– 源码目录– .tpl.html 组件模版• -tpl.js 组件模版代码
  • 9. 模块示例目录• demo– demo.html 入口– 示例目录– 注意代码引入
  • 10. 模块测试目录• tests– specs• 单元测试代码
  • 11. 模块测试目录• runner/test.html– 测试驱动– 注意代码引入
  • 12. 模块资源目录• assets– css (引用 cdn 图片)– jpg
  • 13. 模块构建文件• build.xml– 指定 component.name
  • 14. 子模块目录• sub-modules– 每个子模块同当前模块结构一致
  • 15. 模块 build• ant build– 构建• node tools/gen-package/gen-package.js– 调试依赖生成
  • 16. 运行• npm install• node tools/test/server• http://localhost:8888/kissy/src/

×