What I want to build is a somewhat generic DbEdit module, with
simple standard functions to search/list/display and
insert/update/delete arbitrary records stored in a database. I
wonder if it is possible to maintain all record-specific
information in the class-dbi subclasses.

The triggers and cascade functions (has_many) of class-dbi look
fine for functionality which is not provided by mysql, so
referential and other constraints can be enforced without
explicit programming.

I started in adding a "param" method to my class-dbi subclass, so
I can associate the class-dbi object with a template object. This
worked fine for one object (= record), but I didn't find a
solution as simple for a list of objects (from a class-dbi search
or retrieve_all).




---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[EMAIL PROTECTED]/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to