Hey all,
Over the last few extensions I've been creating I got annoyed at having to
create certain database interaction code over and over again and ended up
creating a DataObject class encapsulating most of the work and doing some
nice abstraction. The current version, as I have it in the Education
Program extension, is documented here:
https://www.mediawiki.org/wiki/User:Jeroen_De_Dauw/DBObject
An earlier version of this class which is included in the Contest extension
has been reviewed and is in use on
mediawiki.org.
Since this is a very generic utility and is clearly useful in many
extensions (and probably in core as well), I like to put it into core for
MW 1.20. If you see issues that need to be resolved before this is done,
please describe them.
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil.
--