Model-view-presenter
外观
Model-view-presenter,簡稱MVP,是電腦軟體設計工程中一種對針對MVC模式,再審議後所延伸提出的一種軟體設計模式。
模式描述
- Model 一個模型包含著商業邏輯。
- View 視圖為呈現使用者介面的終端。
- Presenter 包含著元件的事件處理。
通常會加上 Controller 做為整個應用程序的後端程序處理工作。
實作
Google Web Toolkit - MVP
- Google Web Toolkit Architecture: Best Practices For Architecting Your GWT App[1]
- Large scale application development and MVP [2]
参考资料
維基條目
外部參考
- GWT: Model-View-Presenter Architecture Diagram, http://www.nieleyde.org/SkywayBlog/post.htm?postid=37782056-c4e1-4dfb-9caa-40ab9552ca3b