Hey,
have followed the discussion in the Web-Devel wanted-Thread so far and evaluated the MBM proposal too. I think there is a minimal standard necessary to give ipk devels a guideline how to integrate their IPK in the web UI. Here is what I do presently (my stuff does not rely on third party packets, no php, no httpd-xxx, no libs just plain shell):
In /www and in /www/cgi-bin/ there are a lot of small files, e.g.:
/www/cgi-bin/11-password
/www/cgi-bin/22-password
/www/cgi-bin/33-system
These files hold HTML snippets to be integrated in a navigation bar, may be this way:
<TR><TD><A HREF="password.html">Change PW</A></TD></TR>
Every page (here password.html) integrates Navigation and Layout by ash script commands. In real life you will have to make a plain XHTML page without layout and replace the <body> tag with a "/www/cgi-bin/pre.sh" in the file header. The pre.sh will call this:
for inc in /www/cgi-bin/[0-9][0-9]-*;do cat $inc;done
A new IPK can add its own status page to /www and its own administration page in /www/cgi-bin. The new page is automatically integrated in the navigation and instantly visible afer "ipkg install".
An IPK devel has to do 3 things:
a) Make a simple XHTML page for Administration of the IPK and maybe one for Status. No Layout.
b) Include the necessary ash-script-logic to make the config changes when the page is called with POST
c) Add those stuff together with the navbar snippets to his IPK.
Comments?