straw-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Straw-devel] MVP: events should be connected in Presenter?


From: Jan Alonzo
Subject: [Straw-devel] MVP: events should be connected in Presenter?
Date: Wed, 06 Oct 2004 18:09:21 +1000
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux)


Hi,

Looking at Martin Fowler's article on Model-View-Presenter[1], seems that the
presenter should handle the events instead of the view (as straw MVP does).
This makes sense since if an event occurs, both view and model has to be
updated, if necessary. This also removes the presenter's visibility to the
view, making both view and presenter more testable[2].

Comments?

[1] http://www.martinfowler.com/eaaDev/ModelViewPresenter.html
[2] Is that even a word?

-- 
Jan Alonzo                          <address@hidden>

Attachment: pgp5hRcCzMsPQ.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]