Recipes and documents about Design Patterns
This section of the wxPython Cookbook contains recipes about how to implement various software design patterns in Python that are usful in wxPython applications. See also The Pattern Index. Feel free to add documents describing any standardized pattern here, or any homegrown patterns you have developed that are wxPython specific.
If you can't find what you're looking for then please consider figuring it out and then writing a recipe for the Cookbook so others won't have to go through the same pain you did.
You can use a copy of this CookbookTemplate as a starting point for the recipes you add.
PureMVC - A 3rd party MVC framework that can be used with wxPython.
Here are some MVP/MVC links related to wxPy:
Chapter 5 of wxPython in Action (now available for download) contains some nice MVC examples:
This shows an implementation of MVP that can be adapted to wxPy (and is here ModelViewPresenter):
Here are some modules that help to separate UI code from logic:
wx.lib.pubsub: An implemetation of the Publish/Subscribe pattern, which works basically the same as Observer.
wx.lib.evtmgr: Some classes that make it possible to subscribe (using pubsub) to wx events.
wx.py.dispatcher: This module is used by the other wx.py modules and implements another Observer-like pattern.