The tclhttpd code creates a lot of global variables and
procs in the global namespace. While this can be
acceptable in a standalone application it makes very
difficult embedding the httpd in an already existing
Tcl application. Think for example to the Config
variable which is very likely already used by the
application.
Good programming practice dictate that all procs and
variables in a package should be defined in the ::httpd
namespace and only those implementing the httpd API
be exported. Additionally access to the package
internal variables should be done only through the
official API.
Sean Woods
None
None
Public
|
Date: 2008-05-06 00:25
|
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Open | 2008-05-06 00:25 | eviltwinskippy |
| assigned_to | nobody | 2008-05-06 00:25 | eviltwinskippy |
| close_date | - | 2008-05-06 00:25 | eviltwinskippy |
| data_type | 362884 | 2008-05-06 00:25 | eviltwinskippy |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use