Abstracting Oracle Connectivity with PHP/OCI8
(Page 1 of 7 )
In this article Lorenzo explains a neat utility to simplify connecting to an Oracle database using PHP/OCI8. This is sure to make DB operations between PHP and Oracle much easier and faster.So, you have a huge project that you want to build. It's been determined that you want to use PHP, and your backend is Oracle.
You've installed Oracle, you've installed your web server, and you've even gotten PHP to connect to your Oracle back end to do some simple queries. Now what?
If you are like most lazy programmers, you get something to work, then you look for a way to do the same thing without having to cut and paste code or retype the same thing over and over.
Well, I've found that connecting to Oracle is typically done the same way over and over. So, I've written some functions to help me run some queries without the drudgery of repetition. Take these functions, roll them into a PHP class, and voila! ... easy PHP/OCI8!
Next: Oracle How-To — The Hard Way >>
More PHP Articles
More By Dante Lorenso