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
84
Notification 3
The Important about Convention Over Configuration
kaiye
May 04, 2011
Tweet
Share
More Decks by kaiye
See All by kaiye
大话前端黑客
kaiye
4
300
前端七年之路
kaiye
8
390
拍拍首页2012版前端技术应用
kaiye
2
250
后IE6时代
kaiye
1
1.4k
CSS3/JS/Flash版动画角标的实现与比较
kaiye
0
120
GDD 2011 in Guangzhou
kaiye
0
1.8k
拍首2011前端技术分享
kaiye
1
160
前端开发眼中的组件库
kaiye
3
310
Notification 2
kaiye
0
61
Other Decks in Technology
See All in Technology
「共通基盤」を超えよ! 今、Platform Engineeringに取り組むべき理由
jacopen
25
5.9k
Autonomous Database Cloud 技術詳細 / adb-s_technical_detail_jp
oracle4engineer
PRO
14
35k
複雑な構成要素を持つUIとの向き合い方 〜新・支出グラフでの実例〜 / B43 TECH TALK
nakamuuu
0
110
DevOpsDays History and my DevOps story
kawaguti
PRO
8
1.6k
インシデントレスポンスのライフサイクルを廻すポイントってなに / Pinpoints of Incidentresponse Lifecycle for Operation
sakaitakeshi
1
300
0→1開発における技術選定において一番大切なこと
bicstone
1
330
**強い**エンジニアのなり方 - フィードバックサイクルを勝ち取る / grow one day each day
soudai
62
18k
SREとその組織類型
tatsuo48
8
1.5k
開発生産性向上サービスを作るFindyが自分たちで開発生産性を爆上げした組織づくりの歩み / Findy's path to boosting its own development productivity 2024-04-17
ma3tk
3
350
入社後初めてのタスクでk8sアップグレードした話.pdf
kkato1
1
380
長期運用プロジェクトでのMySQLからTiDB移行の検証
colopl
2
700
プロデザ! BY リクルート vol.18_リクルートのリサーチ実践組織「リサーチブーストコミュニティ」
recruitengineers
PRO
3
240
Featured
See All Featured
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
5
1.5k
The Mythical Team-Month
searls
215
42k
Designing for humans not robots
tammielis
247
25k
StorybookのUI Testing Handbookを読んだ
zakiyama
11
4.6k
No one is an island. Learnings from fostering a developers community.
thoeni
14
2.1k
Code Review Best Practice
trishagee
54
15k
GitHub's CSS Performance
jonrohan
1023
450k
Building Effective Engineering Teams - LeadDev
addyosmani
27
1.8k
Product Roadmaps are Hard
iamctodd
43
9.7k
Fontdeck: Realign not Redesign
paulrobertlloyd
76
4.9k
WebSockets: Embracing the real-time Web
robhawkes
59
7k
Building an army of robots
kneath
300
41k
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:)