[wxPython-users] Application design

Robin Dunn robin at alldunn.com
Tue Jun 19 11:02:59 PDT 2007


Saketh wrote:
> I've written a small application, but I'm not very happy with the
> code. Debugging is hampered by bad design, the structure is inelegant,
> and there is no exception handling/assertion/logging.
> 
> I want to refactor and add debug code to the application, but I have
> no experience with good code design. Basically, I want to know the
> following:
> 
> * Key elements that make a robust, small-scale Python application
> * How to abstract the GUI from the functionality
> * Any tips on good Python design!

There is lots in the wiki that can help with these.  For example:

http://wiki.wxpython.org/wxPython_Style_Guide
http://wiki.wxpython.org/PubSub
http://wiki.wxpython.org/wxPython_Patterns

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wxpython-users mailing list