RE: [PHP-DB] Using Objects with Databases

2003-01-21 Thread Luke Woollard
abase specific calls inside my classes. This helps maintain portability of my applications. Hope that helps. LW -Original Message- From: Philip Zee [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 22 January 2003 5:16 PM To: Luke Woollard; PHP-db Subject: RE: [PHP-DB] Using Objects with

RE: [PHP-DB] Using Objects with Databases

2003-01-21 Thread Philip Zee
ng a class "User" to handle the initialization and other functions for the user. What's the best way of doing that? Thanks, Philip -Original Message- From: Luke Woollard [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 9:38 PM To: PHP-db Subject: RE: [PHP-DB] Usi

RE: [PHP-DB] Using Objects with Databases

2003-01-21 Thread Luke Woollard
Initialise the database connection and perform actions on the database using a seperate class. You can pass your functions (methods) values returned from your database calls to manipulate. This is commonly called a 'database abstaction layer' Theres a good database abstraction class in this magaz