tclhttpd

Update of "DirectOO"
Login

Update of "DirectOO"

EuroTcl/OpenACS 11 - 12 JULY 2024, VIENNA

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview

Artifact ID: 1fea85e457b8f0fb8a9ef8125c27765b0f4d23f1
Page Name:DirectOO
Date: 2015-04-02 01:16:19
Original User: hypnotoad
Mimetype:text/x-markdown
Parent: c8814760fb60fb790bf9eeabe760555db1130e5d (diff)
Next f34bb83668fecf086ec3cd0758c3ab7d7b716b1c
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 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