Artifact
f34bb83668fecf086ec3cd0758c3ab7d7b716b1c:
Wiki page
[DirectOO] by
hypnotoad
2015-04-02 01:20:49.
D 2015-04-02T01:20:49.266
L DirectOO
N text/x-markdown
P 1fea85e457b8f0fb8a9ef8125c27765b0f4d23f1
U hypnotoad
W 686
# Getting Started
DirectOO is a new feature in Tclhttpd 4.0. It's goal is to allow applications to be built around TclOO, as well as to allow for more flexible handling of virtual paths.
To use DirectOO:
package require httpd::directoo
httpd.url create WEBOBJ /test
# The httpd.url class
*httpd.url* is a TclOO class. The first argument (after the name of the new object) is the virtual root for this object. For more complex classes, the second argument is a key/value list of configuration options. Any arguments after that are passed to *Url_PrefixInstall*
## Methods
### configurelist *keyvaluelist*
Pass configuration items as a key/value list.
Z 2b824fc1662758dec323dfe611b6ee92