Artifact
1fea85e457b8f0fb8a9ef8125c27765b0f4d23f1:
Wiki page
[DirectOO] by
hypnotoad
2015-04-02 01:16:19.
D 2015-04-02T01:16:19.632
L DirectOO
N text/x-markdown
P c8814760fb60fb790bf9eeabe760555db1130e5d
U hypnotoad
W 575
# 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 Basic
*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*
Z 2202dce9e6c0c648c87e296f81c5066a