MVP Example Update

Hi Peter,

First of all thanks for putting this all together.

I must be a bit dense as I am not able to run it, i.e. I can run any of the modules but none of them puts up the display. I thought it would be presenters.py, but I am obviously still confused about the interaction of the different modules.

there should be an albums.pyw file in the archive.

BTW, shouldn't the "new" sort option be a method of the presenter, i.e. to hide how it is done, but also to allow for extension of the functionality, e.g. sort by column 1 or 2 etc if one would also show the composer in the list.

sorting is done in the presenter... it is a part of the refreshAlbumList method. For more sophisticated sorts I guess it could be a separate method but for the purpuse of the exercise it was simpler to just put it in refreshAlbumList.

Peter.

ยทยทยท

On Thu, 19 Jan 2006 14:14:34 +0200, Werner F. Bruhin <werner.bruhin@free.fr> wrote: