tclhttpd

Update of ”DirectOO”
Login

Update of ”DirectOO”

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

Overview

Artifact ID: 09c3ced2321dc073092199361bdfde70d621f325
Page Name:DirectOO
Date: 2015-04-02 02:34:14
Original User: hypnotoad
Mimetype:text/x-markdown
Parent: 4531df90d54528a091a8730c691a4fd8b9580e30 (diff)
Next 781955c29036a6039a8c7e0c44def5c17b44b195
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

oo::class create myurl {
   superclass httpd.url

   method /html args {
      my reset
      my puts {

<HTML> <BODY> Hello World! </BODY> </HTML> } }

myurl create WEBOBJ /test

For more details httpd.url