Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
淘宝1212扫货小分队项目分享
Search
d2forum
January 05, 2013
540
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
淘宝1212扫货小分队项目分享
d2forum
January 05, 2013
Transcript
19 slides
灵玉— SNS 前端团队 2012.12.25 1212 · 扫货小分队
项目背景
项目背景 在一起,淘不同 项目成员 @ 伯飞 @ 道璘 @ 堂主 @
伊泽 @ 灵玉 —— SNS 前端团队 共享宝贝,扫货清单,同享优惠,购物交流
项目管理 功能模块化分工 明确接口人 风险控制 快速迭代
项目背景 效 率
效 率 STEP 1 l 应对代码不断更新? l 应对需求不断变更? l 应对设计搞不断改版?
效 率 STEP 1 l 共享最新视觉图 l 共享最新 demo l
共享 css sprite 给设计师
效 率 STEP 2 约定接口 AJAX ( JSON , JSONP
) {"code":"0","msg":" 系统错误 "} {"code":"-1","msg":" 未登录 "} {"code":"1","msg":" 成功 "} 约定参数 AJAX , html5 自定义属性“ data-” <div id="invited" data-userid="123345" data-username="shuqi" data-client="332"> 邀请 </div>
效 率 STEP 2 Qz.dataset(node) 简化异步参数
效 率 STEP 3 l 前端规范统一 API(QZ) 简约原则 Qz.dataset(node) Qz.api.define({key:value})
Qz.api(define,dataset,callback) Qz.alert() Qz.buffer() Qz.popup() Qz.getToken() Qz.tooltip()
l 组件化开发,易于移植,布点 效 率 STEP 3
效 率 STEP 4 不支持 IE6 ,项目减少 40% 工作量
技术应用 l 无处不在的圆形头像 , 需要组件化
技术应用 Css3: 高浏览器 border-radius:30px; background-color:#8d9094; VML(Vector Markup Language):ie6/7/8 <html xmlns:v="urn:schemas-microsoft-com:vml">
VML - Oval 对象 ie6/7/8 实现圆形 v\:* { Behavior: url(#default#VML) }
技术应用 css3-transition 平滑( setInterval ) -ms-transition: opacity 0.1s ease-in-out; -webkit-transition:
opacity 0.1s ease-in-out; -moz-transition: opacity 0.1s ease-in-out; -o-transition: opacity 0.1s ease-in-out; transition: opacity 0.1s ease-in-out; css3-transform 速度提升 transform: scale(1.7,1.7); 低浏览器优雅降级方案
技术应用 SNS-Jssdk SNS.widget.wishlist SNS.dev.creategroup SNS.dev.sendinvite
技术应用 SNS.widget.wishlist
技术应用
T H X 新浪销售策略中心
More Decks by d2forum
See All by d2forum
TMS的PHP特性
d2forum
0
1.7k
Leap Motion体感实战
d2forum
0
1.3k
跨终端产品实践
d2forum
12
2k
Touching Future—s01-e01
d2forum
2
1k
KissyCake
d2forum
3
880
贡献标准.s01.e02
d2forum
3
1.4k
一淘响应式设计实践
d2forum
10
1.1k
响应式web设计与实现介绍
d2forum
8
910
定制版设计开发vs响应式设计开发
d2forum
0
280
Featured
See All Featured
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
2
4k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.6k
Being A Developer After 40
akosma
PRO
92
590k
Docker and Python
trallard
47
4.3k
WCS-LA-2024
lcolladotor
0
1k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.8k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
810
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
310
My Coaching Mixtape
mlcsv
0
390
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
530
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
Darren the Foodie - Storyboard
khoart
PRO
5
4.1k