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
Notification 3
Search
kaiye
May 04, 2011
Technology
120
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
Transcript
20 slides
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:)
More Decks by kaiye
See All by kaiye
大话前端黑客
kaiye
4
340
前端七年之路
kaiye
8
460
拍拍首页2012版前端技术应用
kaiye
2
330
后IE6时代
kaiye
1
1.4k
CSS3/JS/Flash版动画角标的实现与比较
kaiye
0
200
GDD 2011 in Guangzhou
kaiye
0
1.9k
拍首2011前端技术分享
kaiye
1
220
前端开发眼中的组件库
kaiye
3
540
Notification 2
kaiye
0
120
Other Decks in Technology
See All in Technology
高品質と高スピードを支える品質のシフトレフトのアプローチ
goyoki
4
1.5k
目を覚ませ!僕らの認証情報が何者かに侵略されてるぞ
tkito
2
400
Kiro 入門 (1 つのエージェントを、どの画面からでも) | 目指せ Kiro マスター 01
inariku
PRO
6
1.9k
Context parameters で作る!はじめての型クラス
kworkdev
PRO
0
120
SSFの現在地 ― CAEP/RISCからAI Identityへ
oidfj
0
460
Go初心者のクラウドエンジニアが、デプロイを通して旨味を知っていく話
ryudai
1
230
お風呂場をサーバルームにしよう
yusuke427
0
270
個人ASを取得して、自宅Kubernetes上のVMをグローバルIPで公開した話
munenick
0
130
契約書SaaSにAIエージェントを組み込む
sansantech
PRO
0
170
AIで実装が加速したのに、 なぜ私は仕事の大半で人と話し続けていたのか?
say_no_w
0
160
パスワードのない鍵で、 データを手元に置く
ginjihayashi
0
190
「AIチャットからもできないの?」と言われたら ~業務アプリをMCP対応するときの認証・認可の勘所
oidfj
0
360
Featured
See All Featured
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.6k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.7k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
950
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
Intergalactic Javascript Robots from Outer Space
tanoku
273
28k
Color Theory Basics | Prateek | Gurzu
gurzu
1
520
Code Review Best Practice
trishagee
74
20k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
1
300
What the history of the web can teach us about the future of AI
inesmontani
PRO
3
810
Fireside Chat
paigeccino
43
4.1k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
330