Revision 1 as of 2011-11-27 00:55:07

Clear message
Locked History Actions

GWT/GWTP/EventBus

イベントバス

目的

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<<bR>>アプリの改変がやりやすくなる

  • Easy to defer pokey DOM operations
    ?

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

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