From: Stephen D. <sd...@gm...> - 2008-05-23 21:24:18
|
On Wed, May 7, 2008 at 10:00 PM, Jeff Rogers <dv...@di...> wrote: > Andrew Piskorski wrote: >> On Wed, May 07, 2008 at 05:05:13PM +0200, Vasiljevic Zoran wrote: >> >>> Does anybody have any interest in making us being a >>> yet-another Tcl loadable extension? >> >> Yes. From his past comments on the AOLserver list, Jeff Hobbs would >> probably be interested too. > > Rather than the entire server being a loadable extension, what about > breaking out the major c-coded functional pieces into a group of > loadable extensions? The modules could include adp (a fast/extensible > template engine), urlspace (a trie oriented around urls), driver (a > threaded alternate to the standard tcl event loop, oriented around > creating events on one thread to be dispatched on others), and of > course, db for database access. It wouldn't be too hard to enable nsdbi as a Tcl package. It can already change config settings at runtime. It just needs to be taught to use those commands to load it's initial config when first loaded, and a couple of other bits and pieces. |