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
100
Notification 3
The Important about Convention Over Configuration
kaiye
May 04, 2011
Tweet
Share
More Decks by kaiye
See All by kaiye
大话前端黑客
kaiye
4
330
前端七年之路
kaiye
8
420
拍拍首页2012版前端技术应用
kaiye
2
290
后IE6时代
kaiye
1
1.4k
CSS3/JS/Flash版动画角标的实现与比较
kaiye
0
160
GDD 2011 in Guangzhou
kaiye
0
1.8k
拍首2011前端技术分享
kaiye
1
190
前端开发眼中的组件库
kaiye
3
480
Notification 2
kaiye
0
85
Other Decks in Technology
See All in Technology
『君の名は』と聞く君の名は。 / Your name, you who asks for mine.
nttcom
1
140
「駆動」って言葉、なんかカッコイイ_Mitz
comucal
PRO
0
130
ルネサンス開発者を育てる 1on1支援AIエージェント
yusukeshimizu
0
130
スクラムを一度諦めたチームにアジャイルコーチが入ってどう変化したか
kyamashiro73
0
150
AI時代のアジャイルチームを目指して ー スクラムというコンフォートゾーンからの脱却 ー / Toward Agile Teams in the Age of AI
takaking22
9
3.5k
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.3k
Data Hubグループ 紹介資料
sansan33
PRO
0
2.5k
戰略轉變:從建構 AI 代理人到發展可擴展的技能生態系統
appleboy
0
180
re:Invent2025 セッションレポ ~Spec-driven development with Kiro~
nrinetcom
PRO
2
170
テストセンター受験、オンライン受験、どっちなんだい?
yama3133
0
200
Agentic AIが変革するAWSの開発・運用・セキュリティ ~Frontier Agentsを試してみた~ / Agentic AI transforms AWS development, operations, and security I tried Frontier Agents
yuj1osm
0
200
Scrum Guide Expansion Pack が示す現代プロダクト開発への補完的視点
sonjin
0
320
Featured
See All Featured
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
140
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
1
220
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
Into the Great Unknown - MozCon
thekraken
40
2.2k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
0
37
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
Deep Space Network (abreviated)
tonyrice
0
33
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.6k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.3k
Practical Orchestrator
shlominoach
190
11k
Agile that works and the tools we love
rasmusluckow
331
21k
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:)