Monday, February 20, 2012

Re: MVP and RPC: What makes sense?

> why should the View tell the Presenter "get the file" and the Presenter the tell the 
> view "show this file".

Because :

1) Error handling, this complicates the logic.
2) Display independence. Useful if you go mobile or more usual, while you create a new version of the interface, you can have a stable version to ship updates.
3) Testability. It is easy to test blind logic. Good luck testing a view.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/cZUvmRZ6_rIJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment