使用UIBinder爲UI實現MVC風格模式的最簡單最簡單的方法是什麼?GWT MVC + UIBinder
1
A
回答
1
Check out this blog post. 它討論了一起使用MVP和UIBinder,幷包括一個示例應用程序。我想你會發現GWT領域的大多數人都在談論模型 - 視圖 - 演示者(MVP)而不是MVC。
1
使用GWT,UiBinder完全處於「視圖」內。 XML和Java文件一起是一個視圖。所以UiBinder並沒有真正處理模型和控制器,它只是視圖。
這是否清楚了事情?
2
看到這個:http://www.google.com/events/io/2009/sessions/GoogleWebToolkitBestPractices.html U通常你使用MVC打意大利麪條,但事件總線管理是最受歡迎的GWT模式。
相關問題
- 1. GWT CellTable與UIBinder
- 2. GWT UiBinder I18n
- 3. GWT uibinder複合
- 4. GWT UiBinder TabPanel
- 5. GWT LazyPanel with UiBinder
- 6. UiBinder gwt pushButton
- 7. GWT ViewWithUiHandlers with DialogBox Uibinder
- 8. GWT UiBinder保證金
- 9. GWT中的LazyPanel(Uibinder)
- 10. GWT 1.4 TO 2.0 UiBinder
- 11. GWT UiBinder的自動更正過使用GWT UiBinder的方法
- 12. GWT UiBinder的CSS樣式
- 13. GWT處理UIBinder事件
- 14. GWT - UiBinder中的docklayout面板
- 15. GWT UiBinder的屬性字段
- 16. GWT UIBinder標籤面板
- 17. GWT UiBinder和圖像精靈
- 18. 設置CSS樣式Uibinder Gwt
- 19. 鏈接小部件GWT - uiBinder
- 20. 單獨的GWT UIBinder文件
- 21. ExtGWT與GWT UIBinder合作
- 22. 定義GWT CellTables用UiBinder的
- 23. 使用jQuery Mobile + GWT UIBinder
- 24. GWT UiBinder動態國際化
- 25. FlowPanel與GWT中的HTMLPanel UiBinder
- 26. GWT UiBinder的Eclipse自動完成(+ UiBinder文檔)
- 27. 使用uibinder推遲綁定失敗GWT
- 28. 在GWT中使用非CSS常量UiBinder
- 29. GWT DataGrid不可見(UIBinder和LazyPanel)
- 30. 通過UiBinder元素的GWT-RPC調用
這是一個非特定的答案。你在尋找關於MVC或UIBinder的教程嗎?如果你谷歌他們有很多。 – 2010-07-14 17:49:47
所有使用GWT的MVC示例都不使用UIBinder,我不太清楚如何做到這一點。 – 2010-07-14 17:52:51
推薦的模式是MVP,你確定這不是你指的? – 2010-07-14 18:13:54