Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Notification 3

Notification 3

The Important about Convention Over Configuration

Dabcc157b09c806f53a61102f47554e6?s=128

kaiye

May 04, 2011
Tweet

More Decks by kaiye

Other Decks in Technology

Transcript

  1. Notification 3 / Sharing by Kaiye @ Paipai ISUX

  2. [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; };
  3. Web Socket

  4. WHEN we need Notification?

  5. IE Download Confirm Dialog

  6. Chrome Download Confirm Dialog

  7. Microsoft Windows vs Mac OSX

  8. Convention Over Configuration

  9. • Don't Repeat Yourself • Convention Over Configuration

  10. “Rails 更喜欢清楚的代码而不是配置文 件,而 Ruby 语言的动态性质在运行时生成了 大部分管道代码。大多数 Rails 框架都是作为 独立项目创建的,而且应用程序开发能够从一 组同类组件受益。相比之下,典型的

    J2EE 堆 栈倾向于构建在通常独立开发的最好的组件之 上,常常用 XML 进行配置并将组件组合在一 起。”
  11. What is Convention?

  12. None
  13. Convention == 你懂的

  14. What is OUR Convention?

  15. .clear{} .clearfix{} .mod{} #header{} .hd{}.bd{}.ft{} NO CSS expression border:1px solid

    #f00 …
  16. JavaScript Debugger: alert()

  17. Convention makes Draft become Specification

  18. 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/
  19. To be continued…

  20. See you next time:)