Log of /trunk/webwork-modperl/lib/WeBWorK/DBv3
Directory Listing
Revision
3973 -
Directory Listing
Modified
Wed Jan 25 23:13:56 2006 UTC (7 years, 4 months ago) by
sh002i
forward-port from rel-2-2-dev: (update copyright date range -- 2000-2006.
this is probably overkill, since there are some files that were created
after 2000 and some files that were last modified before 2006.)
Revision
3018 -
Directory Listing
Modified
Tue Dec 7 03:47:57 2004 UTC (8 years, 6 months ago) by
sh002i
docs
Revision
3017 -
Directory Listing
Modified
Tue Dec 7 02:42:59 2004 UTC (8 years, 6 months ago) by
sh002i
ordering, normalizers, booleans, documentation. details:
* changed order of table classes so that the has_a() part of a
relationship occurs before the has_many() part.
* added WeBWorK::DBv3::NormalizerMixin, simiar to Class::Trigger, to
manage normalizer subroutines for per-column normalization.
* overloaded normalize_column_values to all normalizers for changed
fields.
* implemented predefined has_a_boolean() normalizer definition.
* defined boolean fields in tables using has_a_boolean().
* added/clarified docs.
still to do:
* add inflators/deflators for durations
* add triggers for setting creation dates
Revision
3013 -
Directory Listing
Modified
Thu Nov 25 05:51:37 2004 UTC (8 years, 6 months ago) by
sh002i
changed upgrade_schema to take a DBI database handle instead of
connecting/disconnecting itself.
Revision
3010 -
Directory Listing
Added
Tue Nov 23 02:50:13 2004 UTC (8 years, 6 months ago) by
sh002i
preliminary WWDBv3 support.
Features:
* automatic schema updating (see WeBWorK::DBv3::Utils).
* basic table structure constructed by set_up_table().
* has_a/has_many relationships declared explicitly.
* works!
Limitations:
* uses Class::DBI::mysql explicitly. Needs to use BaseDSN instead.
* connection information is currently hardcoded into DBv3.pm. It needs
to be brought in at compile time, so there are constraints on how this
can be done.
* no wrappers for LOCK/UNLOCK TABLES yet.
* no inflating/deflating for dates, comma separated lists, etc. yet.
* basically no testing.