Service Data Objects for PHP extension
| From: | Graham Charters | Date: | Fri, 15 Jul 2005 10:03:17 +0000 |
| Subject: | Service Data Objects for PHP extension | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-2612@lists.php.net to get a copy of this message | ||
Hi,
We've been working with Zend on a prototype of Service Data Objects for
PHP. This is derived from the Java SDO 2 specification (see
http://www-128.ibm.com/developerworks/library/specification/j-commonj-sdowmt/index.html
), but has been designed specifically to exploit the dynamic nature of the
PHP language, akin to SimpleXML.
SDO provides a single API for manipulating data from heterogeneous data
sources. It also provides built-in support for optimistic concurrency by
recording any changes made to a data object. This change history can then
be used to detect conflicts when writing data back to a data source.
In addition to the core SDO runtime extension, we have prototypes for two
Data Access Services (aka Data Mediators). These provide the ability to
read/write SDOs to/from data sources. The two data sources we support are
relational (implemented using PDO), and XML (implemented using libxml2).
We are aiming to put this code on PECL (under an Apache 2 license) as this
appears to be the natural home for PHP extensions. We would love as many
people as possible to play around with and test SDO once it's available and
would appreciate any feedback you may have which can help us improve it.
- Graham Charters, IBM Hursley Park