<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18702"></HEAD>
<BODY>
<BLOCKQUOTE
style="BORDER-LEFT: #0000ff 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> centos-bounces@centos.org
[mailto:centos-bounces@centos.org] <B>On Behalf Of </B>Rudi
Ahlers<BR><B>Sent:</B> Sunday, June 14, 2009 11:54 AM<BR><B>To:</B> CentOS
mailing list<BR><B>Subject:</B> Re: [CentOS] which programming language for
server-side admin tasks<BR></FONT><BR></DIV>
<DIV></DIV><BR><BR>
<DIV class=gmail_quote>On Sun, Jun 14, 2009 at 8:31 PM, Les Mikesell <SPAN
dir=ltr><<A
href="mailto:lesmikesell@gmail.com">lesmikesell@gmail.com</A>></SPAN>
wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<DIV class=im>Rudi Ahlers wrote:<BR>> Hi,<BR>><BR>> I would like to
spend some time learning a new coding language, but<BR>> specifically for
server side admin stuff, i.e. setting up users / databases<BR>> / FTP
accounts / virtual domains on Apache, etc.<BR>><BR>> I already know
PHP, but realize it's not quite suited for this kind of<BR>> admin, and I
suppose I need to look @ PERL / Python / C++ / Ruby? /
others?<BR>><BR>> Can someone give me some pointers on
this?<BR>><BR>> I basically need to write a control panel, with web
access for admins to<BR>> manage servers, similar to what cPanel / WebMin
/ Plesk / etc does right<BR>> now, but something more customized for our
needs.<BR><BR></DIV>I can't help thinking that you are just about to repeat
all the security<BR>mistakes those other tools have spent years correcting
and that you'd be<BR>much better off using one of the existing tools or
making minor mods.<BR><BR>Having said that, it's really about time for
someone to tackle this in<BR>java - perhaps with most of the details in a
backend LDAP database.<BR><FONT color=#888888><BR>--<BR> Les
Mikesell<BR> <A
href="mailto:lesmikesell@gmail.com">lesmikesell@gmail.com</A><BR>_______________________________________________<BR></FONT></BLOCKQUOTE>
<DIV><BR>Hi Les, while I understand where you're coming from, I don't quite
agree with you. A programming language doesn't make security mistakes, the
coder does :) What I'm looking for, is which programming language will
be best, i.e. fastest. My OS of choice would be CentOS, but even then that
won't make a difference either. <BR><BR>I can do most of this in PHP, but I do
think PHP is a bit slow for this, being a scripting language, and not a
compiled language. <BR><BR>LDAP can / would but be one component of the whole
thing, and I'm not very fond of JAVA, since it's rather slow. Ideally I need
something which could interact with the OS layer directly <BR></DIV></DIV>
<DIV><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<SPAN class=040470617-15062009><FONT color=#0000ff
face=Arial> </FONT></SPAN></DIV></BLOCKQUOTE>
<DIV><SPAN class=040470617-15062009></SPAN> </DIV>
<DIV><SPAN class=040470617-15062009>
<DIV dir=ltr align=left><SPAN class=040470617-15062009><FONT color=#0000ff
face=Arial>If you're looking for shear speed, C++. However if you're looking for
ease of programming paradigm with OO ideas, etc, then Ruby or Python. If however
you want a middle ground, go Perl. It is fairly fast (faster than Python and
Ruby), and is fairly extensible for talking to the OS. Note however Perl's
object framework leaves much to be desired from OO purists.</FONT></SPAN></DIV>
<DIV> </DIV><!-- Converted from text/plain format -->
<P><FONT size=2>--<BR>Gary L. Greene, Jr.<BR>IT Operations<BR>Minerva Networks,
Inc.<BR>Cell: (650) 704-6633<BR>Phone: (408) 240-1239<BR></FONT></P>
<DIV> </DIV> </SPAN></DIV></BODY></HTML>