Book Image

PHP Oracle Web Development: Data processing, Security, Caching, XML, Web Services, and Ajax

By : Yuli Vasiliev
Book Image

PHP Oracle Web Development: Data processing, Security, Caching, XML, Web Services, and Ajax

By: Yuli Vasiliev

Overview of this book

Oracle Database gets high marks for performance, reliability, and scalability. Building and deploying your PHP applications on Oracle Database enables you to combine the power and robustness of Oracle and the ease of use, short development time, and high performance of PHP. When used in a complementary way, PHP and Oracle allow you to build high-performance, scalable, and reliable data-driven Web applications with a minimum of effort.When building a PHP/Oracle application, you have two general options. The first is to use an Oracle database just to store data, performing all the operations on that data on the client side; the other is to use the database not only to store data, but also to process it, thus moving data processing to the data. While building the key business logic of a database-driven PHP application inside the database is always a good idea, you should bear in mind that not all of the databases available today allow you to do. The Oracle database, which offers record-breaking performance, scalability, and reliability, does. The partnership of Oracle and the open-source scripting language PHP is an excellent solution for building high-performance, scalable, and reliable data-driven web applications.This 100% practical book is crammed full of easy-to-follow examples. It provides all the tools a PHP/Oracle developer needs to take advantage of the winning combination. It addresses the needs of a wide spectrum of PHP/Oracle developers, placing the emphasis on the most up-to-date topics, such as new PHP and Oracle Database features, stored procedure programming, handling transactions, security, caching, web services, and Ajax.
Table of Contents (16 chapters)
PHP Oracle Web Development
Credits
About the Author
About the Reviewer
Preface

Alternatives to PHP OCI8 Extension


Now that you are familiar with how to use OCI8 APIs to access Oracle database from PHP, it is worthwhile to take a moment to briefly touch on the other tools that can be used as alternatives to the OCI8 extension. This will not only give you an overview of some popular tools other than the OCI8 extension that can be used to build PHP/Oracle applications, but it can also help you understand whether OCI8 is the best choice for a particular application or there is another tool that fits your needs better.

As mentioned previously, there are several open-source libraries that can be used to communicate with Oracle from PHP. This section briefly touches upon the most popular two, namely PEAR DB and ADOdb, as well as the PHP Data Objects (PDO) extension that provides a lightweight interface for accessing databases in PHP. Finally, it discusses how you might benefit from creating your own library on top of the OCI8 extension.

Using PEAR DB

PEAR DB is a database abstraction...