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.

Recipes

Comments

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:

wxPython Patterns (last edited 2010-06-20 14:43:01 by 173-8-124-142-Minnesota)

NOTE: To edit pages in this wiki you must be a member of the TrustedEditorsGroup.