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
Notification 3
Search
kaiye
May 04, 2011
Technology
110
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Notification 3
The Important about Convention Over Configuration
kaiye
May 04, 2011
More Decks by kaiye
See All by kaiye
大话前端黑客
kaiye
4
340
前端七年之路
kaiye
8
440
拍拍首页2012版前端技术应用
kaiye
2
310
后IE6时代
kaiye
1
1.4k
CSS3/JS/Flash版动画角标的实现与比较
kaiye
0
170
GDD 2011 in Guangzhou
kaiye
0
1.9k
拍首2011前端技术分享
kaiye
1
200
前端开发眼中的组件库
kaiye
3
510
Notification 2
kaiye
0
95
Other Decks in Technology
See All in Technology
システム監視を 「システムを監視するだけ」で 終わらせないために
seiud
0
160
ガバメントクラウドでのランサムウェア対策
techniczna
1
560
StepFunctionsとGraphRAGを活用した暗黙知活用のためのRAG基盤
yakumo
1
200
NYC Summit 2026 におけるAmazon Bedrock AgentCore のアップデート
ren8k
3
310
「待ち時間」の消滅と「自我消耗」の加速:生成AI時代のエンジニアを救うメンタル・リソース管理
poropinai1966
0
400
MIRU 2026 チュートリアル
keisuke198619
0
560
実践が先生だった— 新卒サーバーエンジニア1年目のリアル
mixi_engineers
PRO
0
230
[MIRU26] To What Extent Does MLLM-as-a-Judge Exhibit Cross-Model Preference Bias?
keio_smilab
PRO
0
160
plamo-3-translateの開発
pfn
PRO
0
250
AIは実装を速くする。では、私たちは何を今作るべきか?-立場を越えてリリースに向き合ったチーム開発の実践 / 20260801 Hiromi Nakaya and Naoki Takahashi
shift_evolve
PRO
3
250
AI工学特論: MLOps・継続的評価
asei
11
3.1k
AIで楽になるはずが、なぜ疲れる?
kinopeee
0
150
Featured
See All Featured
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
360
Are puppies a ranking factor?
jonoalderson
1
3.7k
First, design no harm
axbom
PRO
2
1.2k
Mind Mapping
helmedeiros
PRO
1
290
The Curse of the Amulet
leimatthew05
2
13k
Docker and Python
trallard
47
4k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
510
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6k
Building an army of robots
kneath
306
46k
Color Theory Basics | Prateek | Gurzu
gurzu
0
400
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
420
Transcript
Notification 3 / Sharing by Kaiye @ Paipai ISUX
[Constructor] interface Notification : EventTarget { void show (); void
cancel (); attribute Function onclick; attribute Function onshow; attribute Function onerror; attribute Function onclose; attribute DOMString replaceId; attribute DOMString dir; };
Web Socket
WHEN we need Notification?
IE Download Confirm Dialog
Chrome Download Confirm Dialog
Microsoft Windows vs Mac OSX
Convention Over Configuration
• Don't Repeat Yourself • Convention Over Configuration
“Rails 更喜欢清楚的代码而不是配置文 件,而 Ruby 语言的动态性质在运行时生成了 大部分管道代码。大多数 Rails 框架都是作为 独立项目创建的,而且应用程序开发能够从一 组同类组件受益。相比之下,典型的
J2EE 堆 栈倾向于构建在通常独立开发的最好的组件之 上,常常用 XML 进行配置并将组件组合在一 起。”
What is Convention?
None
Convention == 你懂的
What is OUR Convention?
.clear{} .clearfix{} .mod{} #header{} .hd{}.bd{}.ft{} NO CSS expression border:1px solid
#f00 …
JavaScript Debugger: alert()
Convention makes Draft become Specification
Reference • 《⼀一些软件设计的原则》 http://coolshell.cn/articles/4535.html • 《Wiki: Ruby on Rails》 http://zh.wikipedia.org/wiki/Ruby_on_Rails
• 《Ruby on Rails 和 J2EE:两者能否共存?》 http://www.ibm.com/developerworks/cn/java/wa-rubyonrails/
To be continued…
See you next time:)