Locked History Actions

Diff for "GWT/GWTP/EventBus"

Differences between revisions 1 and 2
Deletions are marked like this. Additions are marked like this.
Line 12: Line 12:
 * Easy rejiggering of the app<<bR>>アプリの改変がやりやすくなる  * Easy rejiggering of the app<<BR>>アプリの改変がやりやすくなる

イベントバス

目的

Google I/O 2009 - Best Practices for Architecting GWT Appの13:50あたり。ここでは、アプリケーションのdecoupling(依存性の除去)の方策として三つあげられている。

  • An event bus(イベントバス)
  • MVP pattern for your custom widgets(カスタムウィジェットについてMVPパターンを用いる)
  • Dependency injection of app-wide services(アプリケーション全体で用いるサービスを注入する)

これによって、

  • Easy rejiggering of the app
    アプリの改変がやりやすくなる

  • Easy to defer pokey DOM operations
    ?

  • Easy unit testing
    ユニットテストが簡単になる

  • Fast test execution
    テスト実行が素早くなる