first thanks for the wakeup call...
Some time ago I was leaning a bit out of the window by believing I would have lots of time for the config package, the truth is, I didn't.
I tried to build a little working example of a small configuration issue (just the keyboad configuration in a modular, kind of MVC based way, the main goal was easy adaption to more complex packages.
Here my basic ideas, don't flame please.
1) Adherence to the existing file formats at any price to keep the existing configuration tools afloat.
2) Enhance weblet for POST (this is done but unfortunately I have not been able to test thoroughly
3) Try to be as modular as possible, e.g. each .lrp package (should it want to be configurable through a browser) should provide a number of files to the weblet environment which is responsible for the config. This stems from my belief, that basicallly the developer of a package knows best hao to configure it. I have tried this with a little example.
4) Keep the web design off the configuration process. I achieved this by adding XML tags to HTML template files which are replaced by the respective CGI scripts
5) I wrote a few incudes to extract the parameters from a POST or GET request, look at the CGI stuff.
Have a look at
http://luna.think.ch/leaf/LEAFConfig/LEAFConfig.html
This is a small site I used as proof of concept. Most links do nothing at all but you can play with the keyboard package in the package management link. The directory is open, the CGI directory can be inspected. The desing follows a bit a MVC concept where the logic is kept apart from design.
The naming convention I planned to use was a bit like
CGI cgi-bin/LEAF[packageName}.cgi
HTML ..../htmlpath/LEAF[packageName].html
e.t.c.
Any comment and input is welcome. Especially design ideas for package configuration.
And one warning, it uses frames..... ;-)
I will look ar eric's work which I expect to be a lot more advanced, maybe I can help on this thread.
Erich
At 20:51 30.01.2003 +0100, you wrote:
Hello Developers For some time there was a discussion going about the use of a webconfiguration. I now put a version of a modified weblet which includes several options to be set by a browser. Download at http://leaf.sf.net/devel/ericw/bering/weblet.lrp Size 44 Kb ( original weblet 25 Kb)
------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ leaf-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-devel
