> Rather than having apps like webDBmail dig directly into the database > (which is cheap and fast, but it means that the web app needs intimate > knowledge of the database and any revisions it goes through) we export an > XML-RPC interface that the web app queries. I have no delusions that the > XML-RPC will be any *simpler* than the direct SQL, but I do think it might > be more maintainable long term.
This is the direction weDBmail was heading (you know, 2 years ago, when we used to work on it :). I planned on making a php "library" of sorts with an api which wedbmail would use and could be integrated to other applications (and probably write a companion dbmail management gui using it). Then only the library (or set of functions, or whatever it ought to be called) needs to be updated for new schema/functionality. The basic framework is all there, we just all but stopped working on it .. but in reality, weDBmail could use a ground zero rewrite, so maybe someone else can do the library in python, and whenever we get to working on it again we'll go that route. :) -- Jesse Norell jesse @ kci.net