views:

175

answers:

2

Hello guys,

Could any of you guys give a good explanation of the MVP pattern with regards to use in a GWT application. any example i have viewed, i found it hard to understand the concept of implementing the pattern.

Questions such as what is it? what does it achieve, how is it implemented and how can it be extended for future modifications?

+2  A: 

http://code.google.com/webtoolkit/articles/mvp-architecture.html and http://code.google.com/webtoolkit/articles/mvp-architecture-2.html

Bob
Yup, all the info you need is there.
Zwik
+2  A: 

The primary goal of the MVP pattern is to separate the controlling of your UI from the implementation of your UI. You can think of these two concerns as a splitting of the traditional "view" in MVC.

One of the key benefits is that your presenters should be completely testable without any reference to UI widgets, etc. For GWT, this is particularly valuable since tests that use GWTTestCase can be particularly slow.

dty
i was wondering if i could get a break down , in some ones point of view on each section of the MVP, including sample code as most examples , can be very meaningless,at least if we discuss it here, we can ensure the of the correct implmentation
molleman
The links already posted by others provide some pretty solid grounding, IMHO.
dty