[Demi-devel] Demi design thoughts

John Morrissey jwm@horde.net
Fri, 12 Mar 2004 17:29:51 -0500


On Sat, Mar 06, 2004 at 06:51:40PM +1000, Andrew Pollock wrote:
> Sorry it's been a while. I've been finished full-time employment and
> starting Uni (yes, that's backwards I know, but I like to do things
> different...)

Heh, I did basically the same thing. :-)

> 1) I like PHP, however I want a codebase common between the web interface
> and any shell scripts involved, and I'm not going to start writing shell
> scripts in PHP, that's just wrong, so PHP loses for the web interface.

Not to continue the d-d religious war, but I wouldn't say command-line
scripts in PHP are wrong; I have a fairly sizable (~15,000-line) application
written in PHP, with a full web interface and lots of command-line scripts
and cron jobs. I don't think there are apt/dpkg bindings for PHP though(?),
so I'd say PHP is out for that reason.

> So, it's down to Perl or Python (again). I know Perl, I don't know Python.
> I need a good excuse to learn Python, so this could well be it methinks.

Likewise, as long as there's a strong HTML templating system for Python that
we can use. I've got a copy of Programming Python that's been sitting here
for months waiting to be read.

john
-- 
John Morrissey          _o            /\         ----  __o
jwm@horde.net        _-< \_          /  \       ----  <  \,
www.horde.net/    __(_)/_(_)________/    \_______(_) /_(_)__