Learn PHP

Learn PHP Course
Class Name

Intermediate PHP

This is an intermediate level tutorial on how to write web applications using PHP. Students will learn how to correctly organize PHP code to make their programming easier and more enjoyable (learning to think like profession PHP developers). An introduction to object-oriented programming is provided. The emphasis on correct program design is accompanied by weekly projects providing solutions to real-world problems. Students who complete the course will have a firm foundation for creating practical applications, and will be able to understand professionally written PHP code.
Week 1: PHP and Web Programming - Overview
  • How PHP compares with other approaches: Javascript, Flash, CGI/Perl, Microsoft's ASP, and Sun's Java ServerPages
  • PHP Pros and Cons
  • PHP: past, present and future (PHP 3.0, PHP 4.0, and PHP 5)
  • The road ahead...
    • Modular application design
    • Learning to create and use code libraries
    • Object Oriented PHP
    • Separating front and backends (MVC pattern)
  • Setting up your environment
    • Directory stucture
    • Error handling and Debugging
Week 2: Elements of PHP - Review
  • PHP variables and arrays
  • Control flow
  • Patterns for processing HTML forms
  • Understanding $_GET, $_POST, $_SESSION and other PHP super-arrays
  • Dynamically generating HTML - example: self-populating forms
Week 3: Functions
  • Countless built-in functions
    • How to think about PHP's many utility functions
    • Examples with numbers, strings and dates
    • Discussion: string functions vs. regular expressions
  • User-defined functions: units of code
  • Functional overview...
    • Return values
    • Parameters: Passing 'by value' vs. 'by reference'
    • Variable scope
  • Arranging function in separate 'include' files: code libraries. Looking ahead: what is an 'Object'?
  • More about debugging and error handling
Week 4: Introduction to PHP and MySQL
  • PHP's customized MySQL functions
  • A simple database-driven application: message board
    • Creating the database schema
    • Connecting to the database
    • Inserting and Updating data
  • Database abstraction: The PEAR::DB interface
Week 5: Object-oriented PHP
  • What is O-O programming, and why is it cool?
  • Understanding how using objects can improve PHP programs
  • Understanding how objects work in PHP
    • References vs. values
    • PHP 4 vs. PHP 5
  • Re-using existing objects: Example of the PEAR::DB interface
  • Creating and programming with objects: Exampl of object-oriented version of message board
Week 6: Bringing It All Together
  • In the final week we apply many of the concepts studied so far to develop a complete, well-archictected web application component: a simple online shopping cart using cookies, sessions and the database.
  • PHP and web application security
  • More about objects
  • A basic understanding of HTML is assumed, including forms and tables.
  • Beginning PHP course (P191)or equivalent experience is required.
  • Some knowledge of SQL/MySQL is helpful. See the requirements section for more information
  • Students will require access to a web server which supports PHP in order to test examples and complete coursework.
  • MySQL is used in weeks 3-6, so students will need to be able to connect from PHP to a MySQL server and perform operations including table creation. The details of connecting from to MySQL PHP will be reviewed but it is beyond the scope of the class to troubleshoot the student's database installation.
  • Questions about hosting may be directed to the instructor.
Class Books

Required Book: Teach Yourself PHP in 24 Hours [
Suggest Book: The PHP Cookbook ]
Course Price
  • Member Price: $170.00 US
  • Non-Member Price: $270.00 US
[Register Now]

Additional Information:
This online course is limited to 100 participants. Your place in the course is confirmed by your payment. Introductory courses are intended for students with no experience in the subject matter and are seeking beginner level training.

Refund Policy: All Online Class fees are only refundable or creditable during the first week of class. A processing fee of five dollars ($5.00) will be charged for each refund request. If you have any questions please contact us

Additional Cost: Book and software migh be required for the course. Read the Requirements and Book section for more information. Course fee does not include the book and software cost .

Start Date: Click on the Register Now button to process to the registration page. You will see the start date of the class on that page. To get the start date of other courses, click on Open Class List link on the top navigation bar.

How eClasses Work: Instructors post lectures, reading selections, and hands-on assignments once a week in the online classroom. Students can discuss the assignments with the instructor and amongst themselves in the classroom area. This format has no set meeting time, which allows students to attend class at a time most convenient to them, yet still provides logically organized communication between class participants. Students can apply for the completion certificate after finishing the class. Web Study certificate is also available. Click on the Certificates link on the top navigation bar for more information.


Register Now

Before you register for this class, please read carefully the Outline, Prerequisites, Requirements, Books, and Refund Policy section.

Teach Yourself PHP in 24 Hours book
4 Web Study Certificates

 Valid XHTML 1.0!  Valid CSS1!  Level Triple-A conformance icon, W3C-WAI Web Content Accessibility Guidelines 1.0

Intro to DreamweaverAdvanced DreamweaverAdvanced Adobe Flash
Web Animation with Flash (Introductory)Adobe FireworksIntermediate Flash
Web VideographyIntro to Apache AdministrationWeb Content Writing
Intro to DNSIntro to UNIXIntro to Web Analytics
Intro to WordPressIntro to DrupalProject Management
Intro to Joomla!Intermediate Joomla!Logo Design
Legal Issues for Web Designers and Content ManagersSearch Engine OptimizationWeb Site Promotion
Intro to Designing Accessible WebsitesDesign ConceptsIntro to Web Design
Photoshop Level 1Photoshop for the WebAdobe Illustrator
Adobe Illustrator Level 2Intro to HTMLHTML Level 2
Mobile Web DesignIntro to HTML5Intro to Cascading Style Sheets
Intermediate CSS WorkshopCSS 2.1 in DepthIntro to CSS3
Intro to XHTMLIntro to Database DesignIntro to SQL (Using Access)
Intro to SQL (Using MySQL)MySQLIntro to SQL Server
Intro to Programming ConceptsIntro to PHPShopping Cart Using PHP and MySQL
Intro to JSPIntro to ColdFusion Web DevelopmentIntermediate ColdFusion
Intro to JavaScriptIntermediate JavaScriptIntro to AJAX
Intro to jQueryJava for Non-ProgrammersProgramming in Java - Intro
Intermediate Java ProgrammingIntro to PerlIntro to C#
Intro to ASP.NET Web Development with C#Intro to ASPIntermediate ASP
Intro to Web SecurityIntro to XMLIntermediate XML
Intro to Game ProductionIntro to Game Design and DevelopmentIntro to Flash Game Programming
Intro to C++ Using GamesIntro to Windows Game Programming Using C++3D Game Programming Using DirectX