Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

phpRiot.com:
Managing your Data with DatabaseObject
Oct 03, 2005 @ 12:36:25

phpRiot.com has this new tutorial posted today that talks about the use of a databaseObject system he developed to maipulate database information.

DatabaseObject is a class I wrote three or four years ago, as a way of easily manipulating database data. It is not a replacement for a database abstraction class. In fact, it works very nicely with a database abstraction class, however, the version we have provided uses the native PHP PostgreSQL and MySQL database calls.

This article goes over the DatabaseObject class, showing you how to apply it to your own development work. The examples presented here are performed in PostgreSQL and MySQL, however the ideas here will work with other database servers with only a little modification to the class.

It doesn't look like too bad of a class to use - though the part about "creating a database structure that's compatible" with it worries me a little...

tagged:

Link:


Trending Topics: