in reply to Database integration for Framework
in thread Framework.pm 0.02
Yes, I'm talking about a generic database handle. You describe your data in a data definition language and the data-class handles the creation of the table, the data validation, the data convertion (e.g. for date-datatype) and of course the storage and retrieval. So your validator could contain a ref to a subroutine or an ref to an array containing fields to auto-validate (based upon the data description).