10/22/2003 Stefan Vogel
I just wanted to get familar with metakits. So I build up a very simply but still useful (at least for me) Webadministration-Interface for MetaKit.
This webadministration Metakit@Web works with Tclhttpd.
With Metakit@Web (Version 0.5) you can:
Installation is quite simple (as always with Tclhttpd):
Or you simply can run it with tclhttpd.kit (thanks to jcw for that info). Download tclhttpd.kit from http://mini.net/sdarchive/ .
mkdir htdocs mv mkweb.tcl htdocs date >htdocs/index.html # just to have an index file cp tclhttpd.kit >htdocs/try.mk # just to have a sample datafile tclkit tclhttpd.kit -docRoot `pwd`/htdocs -library `pwd`/htdocs
Attention
This Webadmin-interface was developed only for me and my local installation of Tclhttpd.
Next steps/Missing features:
You've been warned. But now ... have fun:
... Script removed ...
10/23/2003 Stefan Vogel O.k. even though the complete Webadministration of Metakits was only about 600 LoC, it's a little bit to much for the Wiki. You can download the script "mkweb.tcl" from:
http://www.freewebs.com/vogel-nest/tcl/
Wow! -jcw
[http://mini.net/pub/mkweb.png] - is a screenshot of version 0.4 showing a subview (not embedded).
And this is an actual one (although the Mac-Screendump looks a lot nicer!!!):
rmax - This looks very nice indeed!
But I keep getting the following error whenever I invoke a link, that changes anything (creating/deleting databases, modifying views, adding rows, etc.):
[Stack trace and further discussion deleted - because error is fixed]
This is a terrific tool. Thank you! I've found a problem with the script that causes the textareas for editing a row to be rendered incorrectly (at least in Mozilla), it's line 609 which should be changed from this:
[Error-description deleted because it is fixed]
- WJR
10/29/2003 Version 0.4 released
I've updated the screendump for OS X as well -jcw
11/4/2003 Version 0.5 released (only minor bug-fixes)
WJR It would be nice to have a button or link that will close the database connection that's currently open.
The connection should be opened and closed for each HTTP-Request, so you should be able to open the same database inbetween requests. Perhaps I forgot to close the database sometimes? Stefan Vogel