Tcl in AOLserver

Since the Tcl interpreter is embedded in the server, you can implement maany web applications without any CGI-like constructs.

  • AOLserver adds a nice API for writing web applications

  • Can register code to be executed for particular urls

  • Threads can be created to do work

  • Can schedule code to be executed at specified times

Some API highlights:

ns_quotehtml ns_urlencode ns_urldecode
ns_gifsize ns_jpegsize ns_httpget
ns_db ns_cache ns_crypt
ns_form ns_getcsv ns_thread
ns_sendmail ns_register_proc ns_schedule_proc

And on and on and on. The Tcl API reference can be found at http://aolserver.com/docs/devel/tcl/api/.

previous | next