[PyCS-devel] Additional info on pycsAdmin
Status: Alpha
Brought to you by:
myelin
|
From: Georg B. <gb...@mu...> - 2002-11-13 13:47:53
|
Hi! One point I forgot: since it uses XML/RPC, one could write a GUI tool to administer PyCS using for example Python/TK or other GUI tools. So this might help in getting it up and running easier, especially if we pull more functionality into the pycsAdmin namespace. Functions currently return a dictionary with the following keys: flError: a flag that tells you wether it was an error message: a "Done!" message or the error message if it was an error columns: a list of column names table: a list of list of values (like a resultset from a database) columns and table are optional, but if they occur, they occur together. For example help has ['command', 'description'] in the columns value and [['help','show ...'],...] as the table value. As said, the interface might change, if others have better ideas how to do it. The main idea with this stuff is to enable using standard OS mechanisms to trigger administrative functionality in the server and to allow the server to define what functionality is available. And it solves the non-multiuser-ness of Metakit. bye, Georg |