Re: [Postfixadmin-devel] refactoring
Brought to you by:
christian_boltz,
gingerdog
From: David G. <da...@co...> - 2008-07-28 06:15:20
|
> 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. Anyone's welcome; but your more welcome if you contribute code :) > 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. ZF sounds fine; I was reading the docs for Zend_Db_Table the other day. My only issue is that I'd like to aim for a xmlrpc/soap interface, which means you can't have objects as return types or parameters to methods. My dummy code for what I wanted to achieve already uses PDO. I think xmlrpc/soap would be very useful for people wanting to integrate postfixadmin with e.g. squirrelmail / insert-other-email-client-here. At the moment they have to duplicate code which isn't very good. Presumably xmlrpc/soap will allow others to integrate postfixadmin in ways I've not yet considered. > 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. Yes, I have no problem with dropping PHP4 compatibility. > 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). We're working towards an MVC approach. The views are already seperate, so it's just a case of fixing the controller/model section. Some sort of plugin architecture sounds like a good idea. > 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.. I can't sorry. I delete most email on this account once it is older than a few weeks. David. -- David Goodwin [ david at codepoets dot co dot uk ] [ http://www.codepoets.co.uk ] |