Re: [Postfixadmin-devel] refactoring
Brought to you by:
christian_boltz,
gingerdog
From: Guido 'l. B. <g....@le...> - 2008-07-28 00:12:33
|
Hi everyone, i just subscribed to the list. I've seen the recent "Refactoring" thread in the archives and would like to participate if anybody is interested. What would you guys think about using ZendFramework [1] for the ORM [2] and validation part at least? I've done various small to midsize projects with ZF recently and had a pretty positive impression about the documentation (good examples, ..) and the structure and robustness of the code. It could probably ease the hassle with PG- vs. MySQL since it comes with a pretty much complete database abstraction layer. Of course this would be PHP5 only, but i don't think this is really an issue since PHP4 isn't officially supported anymore anyway and should be outdated soon. Moving to PHP5 would allow for various other improvements like and exception-based error-handling throughout the source. Maybe it would be a good idea to consider an MVCed [3] rework of the interface, too, and think up a way how to integrate some kind of module-/plugin-system for additional functions which extend the core-functionality (managing a set of domains/aliases/mailboxes inside an sql-database). I was thinking about adding a searchable maillog for Domain-Admins for example, which would include rejects/ bounces/... from /var/log/maillog for the domains in question, something i would consider a typical plugin use-case. Vacation, Fetchmail and broadcast-msgs would imho make good candidates for being "outsourced" as plugins as well. On an unrelated note, can someone provide me with an (maildir-) archive of postfixadmin-devel? It seems like sourceforge itself doesn't provide any downloads and i like to have archives searchable in my mailclient.. [1] http://framework.zend.com/ [2] http://en.wikipedia.org/wiki/Object-relational_mapping [3] http://en.wikipedia.org/wiki/Model-view-controller // lenix -- Guido Boehm | _/ | website: http://lenix.de/ Voigtstr. 8 | _/ | contact: http://lenix.de/contact/ 20257 DE/HH | _/ | my card: http://lenix.de/contact/vcard.vcf 01738099196 | _/_/_/ | sweet<3: http://xichen.de/ :] |