PhpRiot
Download Article
Download this article in PDF format with all listings and files.

Price: $5.00 AUD
(Approx. $4.35 USD)

More information
PhpRiot Newsletter
Your Email Address:

More information

Advanced OOP With SPL In PHP 5

Article Comments (1 total)

Alexander Förster, 5 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