Skip Headers
Oracle® Database Express Edition 2 Day + PHP Developer's Guide
11g Release 2 (11.2)

Part Number E18555-03
Go to Documentation Home
Go to Book List
Book List
Go to Table of Contents
Go to Index
Go to Feedback page
Contact Us

Go to previous page
Go to next page
PDF · Mobi · ePub

1 Introducing PHP with Oracle Database XE

PHP is a popular scripting language that can be embedded in HTML which makes it particularly useful for Web development.

This chapter contains the following topics:


This guide shows you how to create a web application using the PHP scripting language and Oracle Database XE.

Overview of the Sample Application

This document guides you through the development of a sample application that manages the tracking of company equipment for a fictitious company called AnyCo Corp. For this introduction to the PHP language and the PHP OCI8 extension which accesses the Oracle database, no PHP framework or abstraction layer is used. However, frameworks are popular and they should be evaluated when building applications. They provide functionality to do tasks the AnyCo application has to manually implement, and they can provide a good application design paradigm.

The AnyCo application uses employee data from the EMPLOYEES table in the sample HR schema provided with Oracle Database XE. See Oracle Database Sample Schemas for information about this schema. A new table will be created for this application to hold details about the company equipment allocated to each employee.

Figure 1-1 shows the overview of the sample application.

Figure 1-1 Overview of the Sample Application


The application will perform the following functions:


The following Oracle Technology Network Web sites provide additional information you may find useful.