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
0
89
Notification 3
The Important about Convention Over Configuration
kaiye
May 04, 2011
Tweet
Share
More Decks by kaiye
See All by kaiye
大话前端黑客
kaiye
4
310
前端七年之路
kaiye
8
400
拍拍首页2012版前端技术应用
kaiye
2
280
后IE6时代
kaiye
1
1.4k
CSS3/JS/Flash版动画角标的实现与比较
kaiye
0
130
GDD 2011 in Guangzhou
kaiye
0
1.8k
拍首2011前端技术分享
kaiye
1
180
前端开发眼中的组件库
kaiye
3
380
Notification 2
kaiye
0
73
Other Decks in Technology
See All in Technology
EMConf JP 2025 懇親会LT / EMConf JP 2025 social gathering
sugamasao
2
200
Aurora PostgreSQLがCloudWatch Logsに 出力するログの課金を削減してみる #jawsdays2025
non97
1
230
AIエージェント開発のノウハウと課題
pharma_x_tech
6
4k
4th place solution Eedi - Mining Misconceptions in Mathematics
rist
0
150
DeepSeekとは?何がいいの? - Databricksと学ぶDeepSeek! 〜これからのLLMに備えよ!〜
taka_aki
1
150
役員・マネージャー・著者・エンジニアそれぞれの立場から見たAWS認定資格
nrinetcom
PRO
4
6.4k
IAMポリシーのAllow/Denyについて、改めて理解する
smt7174
2
210
AI Agent時代なのでAWSのLLMs.txtが欲しい!
watany
3
280
遷移の高速化 ヤフートップの試行錯誤
narirou
6
1.8k
ExaDB-XSで利用されているExadata Exascaleについて
oracle4engineer
PRO
3
270
AIエージェント時代のエンジニアになろう #jawsug #jawsdays2025 / 20250301 Agentic AI Engineering
yoshidashingo
8
3.9k
日経のデータベース事業とElasticsearch
hinatades
PRO
0
250
Featured
See All Featured
The Invisible Side of Design
smashingmag
299
50k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
10
1.3k
Making Projects Easy
brettharned
116
6k
Measuring & Analyzing Core Web Vitals
bluesmoon
6
260
Being A Developer After 40
akosma
89
590k
Build The Right Thing And Hit Your Dates
maggiecrowley
34
2.5k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
46
2.3k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.3k
Docker and Python
trallard
44
3.3k
BBQ
matthewcrist
87
9.5k
Bootstrapping a Software Product
garrettdimon
PRO
306
110k
How GitHub (no longer) Works
holman
314
140k
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:)