一个为现代浏览器而生的前端解决方案。
- 易使用,接口清晰,职责单一
- 易理解,模块化编程,颗粒化分解
- 易扩展,合理宏观
- 易推广,开源免费,人人参与
- 在线主页 http://alien.ydr.me/
- 在线文档 http://alien.ydr.me/docs/
- 在线演示 http://alien.ydr.me/examples/
- 本地演示 使用 https://www.npmjs.org/package/sts,根目录执行
sts 18081
即可。
- 生产环境:使用coolie(模块加载器)来加载模块。
- 开发环境:使用coolie builder来进行生产环境的模块构建。
- 模块书写约定
- core 核心库
- communication 通信
- jsonp
- upload
- xhr
- dom dom 操作
- animation
- attribute
- canvas
- modification
- selector
- event 事件
- base
- drag
- ready
- touch
- wheel
- navigator 浏览器操作
- compatible
- cookie
- hashbang
- querystring
- shell
- ua
- communication 通信
- libs 库函数,构造方法
- DDB Data DOM Binding
- Emitter
- Pagination
- Template
- Validate
- ui
- Banner
- Dialog
- Imgclip
- Msg
- Pagination
- Resize
- Scrollbar
- Tooltip
- util 工具库,静态方法
- canvas
- class
- data
- date
- easing
- hashbang
- howdo
- querystring
- random
- selection