Lars Kneschke wrote:
Aaron Stone <[EMAIL PROTECTED]> schrieb:
Webmin and PGadmin provide the frameworks to reinvent more wheels faster.
If you write a PGadmin module that directly manipulates the DBMail table
contents, then you're still reinventing the libdbmail wheel!

Something i have learned from the usability guys.

You need to define your goal and point of view.

If you think about a web based application, it may make more sense to have
a php based dbmail class, because having a C extension(PECL) to access to
dbmail database is really complex and will likely become mostly unused.

For command line tools it might be totally different.

And you also need to think about what features you like to use in a web
based application and in a command line tool.

Just my toughts...

C has it's benefits.

First. It's what dbmail is written in.
Second, you can easily include C libraries in many other languages:
Perl and Ruby are two that come to mind.

From these you have the options of going do CGI, FCGI, mod_perl, CLI or desktop UI's. I'm not familiar with PHP (PHP3 was my last), but I am not certain that it has the overall flexibility that C offers.

You have to be careful about defining the application space that libdbmail is supposed to manage that IMAP/SMTP doesn't already. Otherwise we're back to my running INSERT statements from my desktop to delivering email to you... ;)

Reply via email to