Advanced OOP With SPL In PHP 5
In summary, using a series of OOP concepts you can create an extensible database abstraction that allows for the use of the most powerful features of each underlying database.
Further, because only one database’s implementation code is executed, there can be significant performance gains. Your code will still be portable and able to run on many platforms. To upgrade to a different database, only the addition of one class for that database will be required.
I hope this article proves useful and if you are in need of professional PHP consulting please contact StormTide Digital Studios Inc. http://www.stormtide.ca
Kevin McArthur is the CEO of StormTide Digital Studios Inc and has been working with PHP for over 6 years developing some of the most innovative scaled web-applications around.
- Download a PDF version of this article
- Put your PHP knowledge to the test with our online and iPad/iPhone quizzes
- View or post comments for this article
- Browse similar articles by tag: OOP, PHP, SPL