<br><br><div class="gmail_quote">On Mon, Jun 15, 2009 at 10:31 AM, Kai Schaetzl <span dir="ltr"><<a href="mailto:maillists@conactive.com">maillists@conactive.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Rudi Ahlers wrote on Sun, 14 Jun 2009 20:54:00 +0200:<br>
<div class="im"><br>
> I can do most of this in PHP, but I do think PHP is a bit slow for this,<br>
> being a scripting language, and not a compiled language.<br>
<br>
</div>It's not slow at all. I have written such an interface 5 or more years ago<br>
for our needs and it's split in two parts. I first wrote a lot of small<br>
scripts that do only a specific task and are controlled by command-line<br>
arguments. This backend was done in Perl, because I felt familiar with it<br>
for shell tasks at that time. I could have used PHP or Python (if I knew<br>
that better). Then I wrote the frontend for it in PHP.<br>
<div class="im"><br>
> Ideally I need something which could<br>
> interact with the OS layer directly<br>
<br>
</div>In my eyes this is a bad idea. There is no direct interfacing between the<br>
two. The backend takes the commands from a text file that the frontend<br>
writes. One could also interface via database. There is no way to smuggle<br>
any system commands in because system commands are never carried out<br>
directly.<br>
</blockquote><div><br>What I meant was, PHP talks to PHP script engine, which talks to Apache, which then talks to system commands. - is there a quicker way of doing it?<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Instead of writing it all yourself, have you looked at ISPConfig? I have<br>
switched to ISPConfig (2) for our newer virtual machines last year and<br>
it's working really well. Although it's not as custom as my own interface<br>
I decided to go with that for our reseller customers because it's closer<br>
to what other interfaces look/do/provide and it would have needed a lot of<br>
extra coding to add this all to my own.<br>
</blockquote><div><br>I had a look at it, and other control panels as well, but really don't like it, and don't really want to "interfere" with the GNU stuff. The CP I have in mind will most probably be for in-house use, but also for client's use. <br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Kai<br>
<font color="#888888"><br>
--<br>
Kai Schätzl, Berlin, Germany<br>
Get your web at Conactive Internet Services: <a href="http://www.conactive.com" target="_blank">http://www.conactive.com</a><br>
</font><div><div></div><div class="h5"><br>
<br>
<br>
_______________________________________________<br>
CentOS mailing list<br>
<a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Kind Regards<br>Rudi Ahlers<br>CEO, SoftDux Hosting<br>Web: <a href="http://www.SoftDux.com">http://www.SoftDux.com</a><br>Office: 087 805 9573<br>Cell: 082 554 7532<br>