in reply to Re: Framework.pm 0.02 in thread Framework.pm 0.02
Right now we're working on implementing templater methods so that the framework can work with any type of object oriented templating system, but I'm interested to hear about your idea -- are you talking about a generic database handle within the object (eg for submitting user forms and requests, and so on) , or do you mean something to handle the maintenance of the pages' structure?
Re: Database integration for Framework
by uwevoelker (Pilgrim) on Nov 21, 2001 at 14:36 UTC
|
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). | [reply] [Watch: Dir/Any] |
|