Course Overview
Learn how to leverage the PHP language and the Oracle database to generate dynamic and interactive web applications. This course is a four-day course which presents a wide array of useful tools for PHP-Oracle developer. These tools are all native to PHP and include quick data retrieval, easy forms and reports, and dynamic code. It covers the fundamentals of PHP programming, introduction to Oracle database, some advanced features of the Oracle such as Store Proc, Tidal Job, Cron Job, and creation of database driven applications using PHP and Oracle. Exercises are used to demonstrate the many features of PHP with Oracle, including the installation and use of Zend Server, Oracle Express Edition, Oracle SQL Developer, and Adobe Dreamweaver CS5.5.
 
 
Pre-requisites
Previous experience with relational database management and SQL is helpful, but this class is self-contained and has no formal prerequisites
 
PHP & Oracle – Schedule 
| Day 1 | 
| 09.00am – 10.00am | Installation of Needed Software 
PHPApache serverOracle serverOracle Client DLLOracle Client ToolConfigure Oracle server and Oracle client Tool | 
| 10.00am – 10.30am | Breakfast | 
| 10.30am – 12.45pm | PHP Fundamentals 
Language fundamentals
PHP BasicsPHP Data typesStoring & retrieving information in variablesBasic operations with variablesVariable rulesDecision making in PHP
Comparison operatorsThe if constructThe while constructThe for construct | 
| 12.45pm – 02.15pm | Lunch | 
| 02.15pm – 05.00pm | 
Arrays and PHP
Working with arraysSorting arraysOther array related functionsMulti-dimensional arraysRe-using PHP code
Functions
Declaring functionsPassing data by referenceIncluding code in scriptsVariable scope in PHPPHP and the WWW server
Working with web formsPHP POST & GET form elementsEmbedding forms with PHP codeValidating form dataPreventing spoofed submissionsGuidelines for secure PHPUnderstanding magic quotesSetting default values in formsProcessing uploaded filesRetrieving & sorting uploaded files | 
| Day 2 | 
| 09.00am – 10.00am | PHP in Web 
Managing web sessions
Using PHP session handlingPHP cookie handlingHandling date & time in PHP
Displaying dates & timesParsing a date or timeGenerating relative timesWorking with files in PHP
Reading & writing files with PHPFile permissionsHandling errors   | 
| 10.00am – 10.30am | Breakfast | 
| 10.30am – 12.45pm | 
Sending email using PHP
PHP Email settingsSending text messages using PHPSending HTML formatted email messages using PHPDebugging PHP Code
PHP Error handlingPHP debugging toolsSuppressing errors   | 
| 12.45pm – 02.15pm | Lunch | 
| 02.15pm – 05.00pm | How to Use Oracle Client Tools  
Create user (Normal & Admin)Create SchemaAssign user to schemaHow to create schema and table via tool Oracle Table: Column and Data Type 
Create tablesCreate columnColumn naming convention and restrictionColumn data type: Number and CharactersModify/Alter column: name and data typeMicrosoft Visio: Design data modelMicrosoft Visio: Generate script | 
|                                                                         Day 3 | 
| 09.00am – 10.00am | How to Program In Oracle: SQL & PL/SQL 
Manipulating data in SQL
SQL: The SELECT statementSQL: Overall SELECT syntaxSQL: Selecting values to displaySQL: Restricting selections using the WHERE clauseSQL: Using ORDER BY to sort query resultsSQL: Using LIMIT to limit result setsSQL: INSERT statementSQL: UPDATE StatementSQL: DELETE StatementSQL: TRUNCATE TABLE statements   | 
| 10.00am – 10.30am | Breakfast | 
| 10.30am – 12.45pm | 
SQL: create trigger, constraint, dependenciesPL/SQL: create function, store proc, viewIndexing | 
| 12.45pm – 02.15pm | Lunch | 
| 02.15pm – 05.00pm | Accessing Oracle Databases Using PHP 
Download and Install ADODBCreate Data Source Name (DSN)Setting connection to the database via PHPExecuting SQL statementsExecuting prepared statementsMultiple statement executionRetrieving information about queries (metadata)Transactions and queriesRetrieving data from a databaseSingle-step queries | 
|                                                                         Day 4
 | 
| 09.00am – 10.00am | Bootcamp: User Registration 
How to connect to Oracle via PHP componentCreate signup pageInsert: SQL Query from PHPUpdate: SQL Query from PHPDelete: SQL Query from PHPSelect: SQL Query from PHPDataset, DataReader, DataSource | 
| 10.00am – 10.30am | Breakfast | 
| 10.30am – 12.45pm | PHP and Oracle Store Proc 
Insert via Store ProcUpdate via Store ProcDelete via Store ProcSelect via Store ProcView | 
| 12.45pm – 02.15pm | Lunch | 
| 02.15pm – 05.00pm | PHP Backend Application with Oracle Database 
Tidal JobCron JobCalling PHP class using shell script Oracle DBA 
Table securityUser account setting, expires, block, unblockTuning |