News Feed
Sections




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

Zend Developer Zone:
Using Data Objects with PHP and DB_OO2
October 27, 2008 @ 10:28:12

This new tutorial from the Zend Developer Zone (by Vikram Vaswani) looks at getting data objects set up between PHP and the DB_OO2 package.

Data objects, which provide an API for accessing and manipulating database tables, are one such tool. There are a number of implementations for data objects in PHP, most notably the popular PEAR DB_DataObject package. This tutorial focuses on one such implementation, the DB_OO2 package, showing you how it can significantly reduce your coding time when working with database tables.

The DB_OO2 package (PEAR) lets you set up references to your database tables as objects and interface with them by setting properties and calling standardized functions. Many of the PHP frameworks out there let you do this same sort of thing, but those are built in - this method lets you use the package wherever.

0 comments voice your opinion now!
pearc package dboo2 data object database table interact


blog comments powered by Disqus

Similar Posts

Scott MacVicar's Blog: Accessing pseudo random data with PHP

ProWebDeveloper.info: Reducing Database Load with Secure Client-side Sessions

Community News: rPath Linux Updates PHP5 Packages

Travis Swicegood's Blog: PHPT_Ensure v0.1alpha and PHPT_Core v0.1.1alpha released

Amir Saied's Blog: Updating PEAR Services_Ebay


Community Events

Don't see your event here?
Let us know!


language podcast interview library install voicesoftheelephpant introduction unittest series api php7 laravel community example framework xdebug opinion release laravel5 extension

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework