From: William.H.Duquette@jpl.nasa.gov (William H. Duquette) Subject: ANNOUNCE: Will's Guide to Creating Object Commands Date: 9 Feb 1999 23:13:19 -0800 Now available: Will's Guide to Creating Object Commands See: http://www.cogent.net/~duquette/tcl Overview: The warm acceptance of my guide to namespaces and packages (also available at the above URL) has lead me to attempt something similar on another topic. It's often nice to package some functionality as an object, even in pure Tcl. Tk widget commands are the obvious example. The question is, how does one do it? And how does one do it well? The answer is particularly complicated by the presence of namespaces. Tk widget commands necessarily live in the global namespace; other objects should live in the namespace in which the programmer creates them. This leads to a surprising number of issues. As with my previous guide, I submit this for comments and corrections. If you think I'm recommending something that's sub-optimal, let me know. If you think I'm making a serious mistake, let me know. If there are related techniques or issues that you think I should discuss, let me know. Will Duquette [[Send Tcl/Tk announcements to tcl-announce@mitchell.org Send administrivia to tcl-announce-request@mitchell.org Announcements archived at http://www.findmail.com/list/tcl_announce/ The primary Tcl/Tk archive is ftp://ftp.neosoft.com/pub/tcl/ ]]