Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Artifact ID: | f34bb83668fecf086ec3cd0758c3ab7d7b716b1c |
---|---|
Page Name: | DirectOO |
Date: | 2015-04-02 01:20:49 |
Original User: | hypnotoad |
Mimetype: | text/x-markdown |
Parent: | 1fea85e457b8f0fb8a9ef8125c27765b0f4d23f1 (diff) |
Next | dafe65da4a0086ab838b191409e2235df3f2bde9 |
Content
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.