Ann: Class::DBI::Factory 0.994

[prev] [thread] [next] [Date index for 2005/04/17]

From: William Ross
Subject: Ann: Class::DBI::Factory 0.994
Date: 23:27 on 17 Apr 2005
hello,

I've just put up a new version of Class::DBI::Factory. It includes all 
the bug fixes and improvements recently discussed here and privately 
and rolls CDF::Handler back to apache/mod_perl 1. The mp2 version is 
there as Handler2.pm, but following recent API turbulence for both 
mod_perl and libapreq it's almost certainly broken.

This has been running Amnesty for a week or so and seems solid. Once 
mod_perl settles down I'll combine the two handlers into one that works 
with both versions, which should allow easy movement from apache 1 to 2 
behind the factory interface. At that point this will become version 1, 
I hope with very few other changes.

Perrin's object stash still has to be disabled, unfortunately. I don't 
think I can do anything else until it's revised to be more configurable 
from the outside. If that's too bad, there is a patch from Tim Bunce 
here:

	http://www.spanner.org/lists/cdbi/2004/06/29/873c4388.html

that will get you most of the way.

I've deleted v0.99.

please let me know (off list) if you use this. I was surprised by the 
number of people who minded when I changed to mod_perl 2, so it would 
be useful to know whether and how it's being used.

best

Will


ps. Recent changes:

0.994 17 April 2005
     - Handler back to mod_perl 1 (with great relief) after widespread
       grumbling about premature shift to mod_perl2.
     - CDF::Handler2 available for experiments with mod_perl2
     - new() now (nearly) a synonym for instance() since a call to
       instance() is dropped into each data class.
     - fancy new Makefile.PL that installs the demo site for you, if
       you like, and adjusts dependencies appropriately.
     - documentation tidied up at top, rewritten further down.
     - factory startup methods gathered behind init() to
       simplify future changes.
     - load_class tests whether the class is already loaded, thanks to
       clever line pinched from Merlyn. Factory now ok if many data 
classes
       are declared in one file.
     - interface to CDF::Mailer tidied up a bit.
     - Back to SQLite3. added DBD::SQLite 1.08 dependency to Makefile
       because 1.07 generates all those warnings.
     - demo application improved. documentation still in perl tho.
     - moved from CVS to SVN
     - once mod_perl2 settles down, this is likely to be released as v1.

0.99  18 February 2005
     - handler now mod_perl2 only.
     - db_Main hooks in data classes now inserted for you.
     - severely tidied up: everything non-essential removed
     - mail-sending functions separated out into 
Class::DBI::Factory::Mailer
       (mostly to make them optional)
     - new relationships() method in Factory retrieves useful bits of
       cdbi meta_info.
     - all SQLite mentions now SQLite2, to avoid spurious warnings from
       newer versions.
     - works much better without config file
     - all hard work deferred for as long as possible to make cdf fit 
better
       into nasty quick data-munging type scripts.
     - demo application brought up to date, cleaned up, made to work 
properly
     - documentation redone. still pretty windy, though.
     - tests more extensive. still no proper handler tests, though.


Ann: Class::DBI::Factory 0.994
William Ross 23:27 on 17 Apr 2005

Generated at 09:29 on 27 Apr 2005 by mariachi v0.52