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? | [reply] |
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] |