Re: Database Tables and Classes

From: Date: Thu, 02 Nov 2000 17:39:16 +0000
Subject: Re: Database Tables and Classes
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-4150@lists.php.net to get a copy of this message
> 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

« previous php.db (#4150) next »