|
From: Jamie C. <jca...@we...> - 2006-11-15 16:24:49
|
On 15/Nov/2006 07:15 abhishek jain wrote .. <blockquote type=3D"cite"> <br /><br /> <div><span class=3D"gmail_quote">On 11/12/06, <b class=3D"gmail_sendername">Jamie Cameron</b> <<a href=3D"reply_mail.cgi?new=3D1&to=3Djcameron%40webmin%2Ecom">jca...@we...</a>> wrote:</span> <blockquote style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;" class=3D"gmail_quote">On 11/Nov/2006 05:31 abhishek jain wrote .. <blockquote type=3D"cite"> <div><span id=3D"q_10eda2006d375868_1" class=3D"e"> <div>Hi,</div> <div>I need to create a control panel for mine webhosting company, i want to make a layer above webmin, i wanted to know is there some APIs for this purpose, the reason being i=A0want seamless interation=A0with the site and automation. </div> <div>i would be grateful=A0if i could be helped,</div> <div>Regards,</div> <div>Abhishek jain</div></span></div></blockquote>Webmin has a quite extensive API for performing the functions that you do through its GUI, such as adding users, cron jobs, nfs exports and so on. However, this API is easiest to call from Perl programs, in particular those that are in other Webmin modules. <br /><br />For this reason, I would recommend creating your control panel as a new Webmin module. It could totally take over the GUI so as to not appear Webmin-like, while still making use of the API to perform all the hard work. <br /><span class=3D"sg"><br />=A0- Jamie</span></blockquote> <div> </div> <div>Hi Jamie ,</div> <div>Yes i was looking for the solution in PERL only , can you point me to some tutorials on that(creating webmin modules and API calls), also i wanted virtualmin functionalities also in the list.</div> <div>Thanks </div> <div>--</div> <div>Regards,</div> <div>Abhishek jain</div><br />=A0</div> </blockquote>Have a look at the module-writers guide at http://www.webmin.com/modules.html<br />This documents the core API, but unfortunately doesn't yet cover the APIs of other modules, which you can also call.<br /><br />=A0- Jamie<br /><br /> |