Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
KISSY 5 Upgrade
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
yiminghe
October 16, 2014
Technology
460
1
Share
KISSY 5 Upgrade
KISSY 5 Upgrade
yiminghe
October 16, 2014
More Decks by yiminghe
See All by yiminghe
小程序终端技术架构
yiminghe
0
280
支付宝小程序的开放架构
yiminghe
0
210
gitc2016 react based architecture
yiminghe
1
180
antd at qcon2016
yiminghe
1
240
react-based architecture
yiminghe
2
180
React Ecosystem At Ant Financial
yiminghe
4
2.3k
ant design preview
yiminghe
1
330
react best practice
yiminghe
3
230
react at alipay
yiminghe
43
4.5k
Other Decks in Technology
See All in Technology
JTCでRedmine利用者2700人を実現した手法 第二部
nobuonakamura
0
110
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
15
100k
20260515 ログイン機能だけではないアカウント管理を全体で考える~サービス設計者向け~
oidfj
0
600
セキュリティ対策、何からはじめる? CloudNative環境の脅威モデリングと リスク評価実践入門 #cloudnativekaigi
varu3
5
920
AIのための特別なアーキテクチャはいらない 0→1開発で実践した設計原則とガードレール
kaminashi
0
130
サイボウズ、プラットフォームエンジニアリング始めるってよ ― プラットフォームチームの事業貢献と組織アラインメントの強化
ueokande
0
110
アプリブロック機能のつくりかたと、AIとHTMLの不合理な相性の良さについて
kumamotone
1
260
Swift Sequence の便利 API 再発見
treastrain
1
280
Claude Code で使える DuckDB Skills を試してみた / DuckDB Skills and Claude Code
masahirokawahara
1
170
カオナビに Suspenseを導入するまで / The Road to Suspense at kaonavi
kaonavi
1
450
エムスリーテクノロジーズ株式会社 エンジニア向け紹介資料 / M3 Technologies Company Deck
m3_engineering
0
110
20260513_生成AIを専属DSに_AI分析結果の検品テクニック_ハンズオン_交通事故データ
doradora09
PRO
0
230
Featured
See All Featured
The Language of Interfaces
destraynor
162
26k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
130
Reality Check: Gamification 10 Years Later
codingconduct
0
2.1k
The Curious Case for Waylosing
cassininazir
1
340
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
350
New Earth Scene 8
popppiees
3
2.2k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
61
44k
Mind Mapping
helmedeiros
PRO
1
190
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
23k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
280
The Limits of Empathy - UXLibs8
cassininazir
1
330
Producing Creativity
orderedlist
PRO
348
40k
Transcript
KISSY UP 秋知
主要内容 - Why ? - What ? - How ?
Why ?
效率
开发效率 模块规范 1. 模块格式统⼀一 • 添加模块 define • 引⽤用模块 require
• 让出控制权 modulex.noConflict() • 返回接⼝口统⼀一 modulex.use === requirejs (相 ⽐比1.4.x去掉返回的变量S) ⽆无缝接⼊入
开发效率 配套⼯工具 1. kmc & gulp-kmc -> 转成规范模块格式,⽣生成 依赖表 2.
kmd & gulp-kmd -> 去头 纯 node ⻛风格编写,舒⼼心
运⾏行效率 ⼤大瘦⾝身-拥抱⽆无线 1. seed.js 拆出util 44.kb -> 28kb 16.3kb(gzip)->10kb(gzip) 2.
模块细分,⾃自动识别,按需加载 如anim -> anim/timer + anim/transition
运⾏行效率 让代码回归⾃自然 •kclean, 让代码回归⾃自然 •去掉 modulex.add 头 •减少寻找模块,注册模块的时间,提⾼高模块加载 速度
拥抱社区
模块规范统⼀一 • ⽆无缝接⼊入 • 使⽤用舒⼼心
模块独⽴立成库 • npm包 • 共享 • 开发,⼤大家⼀一起来
舒爽的⽂文档
最强⼤大的模板xtemplate
xtemplate • 独⽴立 •
[email protected]
+ 通过gallery可⽤用 • 速度 • 语法增强
: 继承、else if … • …
What 1.模块拆分 • seed -> util • anim -> anim/timer
+ anim/transition • event -> event-dom + event-dom/gesture/* + event-custom • combobox -> combobox + combobox/multiword
What 2.新增模块/功能 • path • url • querystring • event-dom/gesture/edge-pan
• navigation-view • router • scroll-view ⽀支持 pull-up-to-refresh • …
What 3.详细升级⽂文档 •
[email protected]
官⺴⽹网 ! •
[email protected]
主要升级点
How
[email protected]
主要升级点 ⽂文档 2.1.4.x -> 5.0 兼容包 • deprecated.js •
兼容模块拆分 util、event • 兼容直接引⽤用 S.IO、S.all、S.one… 3.技术⽀支持 & 技术客服 4.⾃自动化升级⼯工具 @陶杰
Thank You!