in reply to Automatically generating html form fields from a DBI handle

I'd have to strongly recommend looking into Class::DBI before you write too much code.

I'm currently in the middle of trying to convert over a fairly large project to use it (as well as a bunch of new code of my own) and would be a lot happier if I'd discovered/started using it a lot sooner.

You'll still have to write a few queries of your own, but at the very least it'll help you keep them all in the one spot so if, err, when you do have to make changes to your table structure, it'll be a lot easier.

cheers,
J

  • Comment on Re: Automatically generating html form fields from a DBI handle

Replies are listed 'Best First'.
Re: Re: Automatically generating html form fields from a DBI handle
by Your Mother (Archbishop) on May 07, 2003 at 02:58 UTC
    Thank you for pointing me to that. It's very interesting and does quite a bit of what I would like and have been sketching out. I think I can adapt it into a master subclass to do everything I want; generating classes on the fly based on a given table.

    If I ever come up with any code that does it and isn't too kludgey, I'll put it on my scratch pad and ask for everyone to take a peek.