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

WaxJelly Blog:
Using PHP to make a MySQL "abstraction layer"
Aug 23, 2006 @ 13:55:10

From the WaxJelly blog today, there's this new post demonstrating how to create a simple MySQL "abstraction layer" to help your PHP script interact with your database.

So you might notice "abstraction layer" in quotes, well, simply put, it's the big term for using a middle-man with MySQL data. Any form of data actually for that matter. It just makes your life easier. After using MySQL with PHP the procedural way I decided to try it the PHP object oriented way. So here it goes.

Mostly, they just provide the code for the layer, not getting too much into explaining what each function does. That's enough, thought, if you're experienced with using MySQL in PHP. There's also some sample usage code to help you get started.

tagged: mysql abstraction layer simple tutorial mysql abstraction layer simple tutorial

Link:


Trending Topics: