Date: 11/02/00
- Next message: Jamie Alessio: "Re: [PHP-DB] Help in reading DB info into a pulldown menu"
- Previous message: Olivier Bourgeois: "Re: [PHP-DB] ocidfn.h: No such file or directory"
- In reply to: LP: "[PHP-DB] Database Tables and Classes"
- Next in thread: Thomas Gagne: "Re: [PHP-DB] Database Tables and Classes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> I am considering creating a Class, for
> each of my database tables, that will perform
> all sql calls for each particular table.
>
> Does anyone have any wisdom on this thought?
>
I wouldn't limit yourself to having a single class for each table. I believe you'll find
that since you're working with a relational database it makes sense to have a single class
handle several related tables. I'd be interested to hear how you approach the problem
since I have recently adopted a similar strategy.
- Jamie
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Jamie Alessio: "Re: [PHP-DB] Help in reading DB info into a pulldown menu"
- Previous message: Olivier Bourgeois: "Re: [PHP-DB] ocidfn.h: No such file or directory"
- In reply to: LP: "[PHP-DB] Database Tables and Classes"
- Next in thread: Thomas Gagne: "Re: [PHP-DB] Database Tables and Classes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

