Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...

When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

Advanced OOP With SPL In PHP 5

Article Comments (1 total)

Alexander Frster, 6 July 2007

About the section "To upgrade to a different database, only the addition of one class for that database will be required."

I don't see this in the example. You need to alter UnbufferedAssociativeResultset and the IDataBaseBindings interface. If you'd move the switch/case statements into the IDataBaseBindings definition (and do the so agreed calls in the UnbufferedAssociativeResultset class ) the citation would become true.

Submit a Comment
Use the following form to submit a comment for this article. You can include any required code snippets, which we will format and highlight accordingly.

Note: Before your comment appears on PhpRiot, it must be manually approved. The email address field is optional. If you choose to include it, it will be displayed obfuscated to protect it from spammers.

In This Article