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
96
Notification 3
The Important about Convention Over Configuration
kaiye
May 04, 2011
Tweet
Share
More Decks by kaiye
See All by kaiye
大话前端黑客
kaiye
4
320
前端七年之路
kaiye
8
410
拍拍首页2012版前端技术应用
kaiye
2
280
后IE6时代
kaiye
1
1.4k
CSS3/JS/Flash版动画角标的实现与比较
kaiye
0
150
GDD 2011 in Guangzhou
kaiye
0
1.8k
拍首2011前端技术分享
kaiye
1
180
前端开发眼中的组件库
kaiye
3
420
Notification 2
kaiye
0
81
Other Decks in Technology
See All in Technology
Lufthansa ®️ USA Contact Numbers: Complete 2025 Support Guide
lufthanahelpsupport
0
220
ロールが細分化された組織でSREは何をするか?
tgidgd
1
140
TableauLangchainとは何か?
cielo1985
1
140
AWS CDKの仕組み / how-aws-cdk-works
gotok365
10
660
Delegating the chores of authenticating users to Keycloak
ahus1
0
170
マネジメントって難しい、けどおもしろい / Management is tough, but fun! #em_findy
ar_tama
7
1.2k
SREのためのeBPF活用ステップアップガイド
egmc
1
740
いつの間にか入れ替わってる!?新しいAWS Security Hubとは?
cmusudakeisuke
0
150
Claude Code に プロジェクト管理やらせたみた
unson
7
4.8k
成長し続けるアプリのためのテストと設計の関係、そして意思決定の記録。
sansantech
PRO
0
130
スタートアップに選択肢を 〜生成AIを活用したセカンダリー事業への挑戦〜
nstock
0
270
SEQUENCE object comparison - db tech showcase 2025 LT2
nori_shinoda
0
260
Featured
See All Featured
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Building a Modern Day E-commerce SEO Strategy
aleyda
42
7.4k
[RailsConf 2023] Rails as a piece of cake
palkan
55
5.7k
How to Ace a Technical Interview
jacobian
278
23k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.6k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
26k
What's in a price? How to price your products and services
michaelherold
246
12k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
A Modern Web Designer's Workflow
chriscoyier
695
190k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
32
2.4k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.7k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
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:)