From: Joe G. <joe...@us...> - 2003-11-30 22:44:21
|
Quoting Doug Fort <dou...@do...>: > As we discussed, I'd like to have a go at adding MySQL support to > InstrumentationRecorder. Actually, I have something more fundamental in mind. > I > propose to modify InstrumentationRecorder to use the 'Publish/Subscribe" > design > pattern to support various 'recorders': ConsoleRecorder, FileRecorder and > MySQLRecorder. > > InstrumentationRecorder would load any or all of these modules based on a > config > file, and 'publish' each VC's results to all subscribed recorders. This gives > us the option to plug in new recorders with a minimum of disturbance > (OracleRecorder ...). > Great design pattern... > How do you feel about going with ElementTree for the config file? > If the recorder has a separate config files, GREAT. Otherwise, I'm not quite ready to refactor your config file object out of the rest of the code. We'll probably still need some sort of 'link' in the legacy file to configure the presence of recorders. Joe Griffin Addanc Downright Software Collective ------------------------------------------------------------------------ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify sec...@do.... ------------------------------------------------------------------------ This mail sent through Downright Software's implementation of HORDE/IMP. For info, see: http://horde.org/imp/ |