[pygtk] PyGTK code structure
Gabriele Lanaro
gabriele.lanaro at gmail.com
Sat May 16 16:44:01 WST 2009
Yes, It's exactly the same thing, sorry I didn't know about MVP, thank you for the explanation :).
On Sat, 16 May 2009 00:47:52 +0200
Jesus Rodriguez <foxandxss a gmail.com> wrote:
> Thanks you Gabriele Lanaro.
>
> I know about kiwi and pygtkmvc, but I trust people's opinions more.
>
> The way that you structure your code, is the MVP pattern, but PyGTK is
> different from WPF, so there are some differences.
>
> MVP is:
>
> The mainView with the mainPresenter (your MainController), the
> MainPresenter talks with the model. There are some UserControls (like your
> subviews) with their own Controllers that talk to the MainPresenter.
>
> It is the same thing :P
>
> Where did you learn that? The way you structure your code is better than the
> way that many friends of mine code :P
>
--
Gabriele Lanaro <gabriele.lanaro a gmail.com>
More information about the pygtk
mailing list