|
|||||||||||
|
Re: Protocols and Plans
From: Maj Justin Seiferth <seifertj(at)www.disa.mil>
Date: Fri Aug 15 1997 - 19:58:57 EDT > We first have to choose wether the applet send commands which are
SET GLOBAL ServerType Standalone It would be up to the server to parse this and verify that:
This message would be captured, parsed and handled by an event loop. The error checking has to be done on the server end to accomodate people sending scripted commands to it. We might assume that the GUI would always send correctly configured commands but we can't make the same assumption about scripts. I don't see any easy way around recompilation of the server and client GUI to accomodate new core directives. This is because not only may the format of the directives change but also their importance in the hierarchy (for instance, only certain directives may appear in an .htaccess file or within <DIRECTORY> tags). Perhaps there's an elegant way to capture this information in an elegant text-based configuration file but it's not readily apparent to me. The handling of modules is a little different, this should be able to be done on the fly by having a module specific class built and it's methods called when the module is included in the server (either through a dynamic library aka "DLL" in microsoft speak or by inclusion in a static compilation). If we specify a standard template class for modules authors of modules could include the configuration class or we could easily build them. The class would just have to say what directives were legal, type valid value types for the directive (eg IP address, binary switch, integer, etc) and within what context (eg .htaccess, etc). Now that I'm thinking about it this same idea could be extended to the core directives and to some extent within the client as well. I'm pretty certain that most changes in directives and functionality will require a recompile of the client and the server. This isn't a biggie in my estimation though as we only need to make one .class set for all platforms (gotta love java!) and eventually the directives will settle down. For all this discussion I don't think there will be many changes except at major versions. (Randy- what do you think of this idea? Also, Randy, can you accept HTML format mail?). > Chatting is a little hard to arrange, do u have IRC client? I'l be
Justin Received on Fri Aug 15 14:31:35 1997 This archive was generated by hypermail 2.1.8 : Thu Aug 24 2006 - 14:52:51 EDT |
||||||||||
|
|||||||||||