Request Info

Salutation

First Name

Last Name

Job Title

Department

Mailstop

Company

Address

P.O. Box

City

State

Zip Code

Country
List

Work Phone

Extension

E-mail

Information provided will be used to communicate with you about our products.
Privacy Statement

A representative will contact you to follow up your request.

 

Introduction to PHP for Web Development:
Hands-On


Course 5192 Days

 E-mail E-mail  Print Print  Q&A Q&A  PDF PDF  Facebook Facebook  Twitter Twitter

Quick Enroll

You Will Learn How To

  • Write interactive PHP web applications
  • Employ PHP in web services architectures
  • Create reusable, structured PHP code that separates logic from presentation
  • Develop database-driven web applications using MySQL, SQLite and MS Access files
  • Leverage the high-performance PHP Data Object (PDO) database API
  • Track users as they navigate your site

Course Benefits

PHP is a programming language used to create dynamic, complex and robust web services. In this introductory course, you gain a solid foundation for creating a PHP-based web services architecture while incorporating object-oriented PHP techniques. You leverage dynamic web content that is drawn from files, web services and database systems. Extensive hands-on exercises provide you with the skills to produce structured web applications that provide interactive, dynamic and database-driven web content.

Who Should Attend

Those creating dynamic, database-driven websites. Experience with HTML and exposure to basic programming terminology are assumed.

Hands-On Training

In this course, you write PHP code to accomplish targeted outcomes, culminating in the development of an interactive, database-driven web application. Exercises include:
  • Building modular scripts to enable code reusability
  • Effectively using variables, constants and PHP expressions
  • Applying PHP control structures to create a logical flow of execution
  • Employing user-defined functions and PHP internal functions
  • Tracking user navigation on your website
  • Integrating database content to generate dynamic web pages

Course 519 Content

Introduction to PHP

Web services architectures and PHP

  • Origins of PHP in the open source community
  • Exploring the PHP application architecture
  • Investigating the PHP role in web services architecture
  • Leveraging the PHP development environment checklist
  • Installing a complete development platform from scratch

PHP language basics

  • Defining PHP language conventions
  • Investigating PHP variable and data types
  • Exploring the use of constants
  • Examining classes and objects

Implementing PHP Code

Accommodating transient data

  • Storing values in scalar variables
  • Employing ordinary and associative arrays
  • Accessing global variables
  • Embedding PHP code into HTML pages

PHP expressions and functions

  • Writing user-defined functions to structure your code
  • Passing arguments and default values to functions
  • Returning data from functions
  • Building code libraries for reusability
  • Incorporating external PHP scripts with require and require_once

Employing PHP code in your environment

  • Writing conditional expressions
  • Implementing loops such as while, for and foreach
  • Building complete scripts that incorporate loops and conditional expressions

Exploiting the built-in functionality of PHP

  • Manipulating string data
  • Reading and writing data using file I/O functions
  • Surveying categories of PHP functions

Building Complete Database-Driven Web Applications

Crafting database connections

  • Examining Data Source Names (DSN) attributes
  • Constructing proper DSNs
  • Determining differences between DSNs

Applying the fundamentals of object-oriented PHP Data Object (PDO) technology

  • Creating and manipulating PDO objects
  • Executing SQL queries through PDO objects
  • Retrieving query results as associative arrays with PDO object methods
  • Looping through database result sets
  • Integrating returned data into web applications
  • Closing the PDO database connection

Interacting with the Client

Incorporating user input

  • Determining how data is sent from forms to PHP scripts
  • Retrieving form data with $_POST and $_GET arrays
  • Validating retrieved data
  • Strategies for handling invalid input

Responding to user input

  • Storing state information using cookies
  • Creating dynamically generated hyperlinks to call PHP scripts
  • Presenting the user with input options via different HTML form elements

Applying conditional redirection

  • Examining state information from cookies
  • Determining application context based upon state information
  • Applying conditional logic to redirect to the correct contextual page

Extending Functionality with PHP

Debugging and deploying

  • Discovering common PHP coding problems
  • Exploring methods of debugging PHP
  • Suppressing on-screen error messages on production servers
  • Considering deployment configuration and security
  • Configuring the php.ini file to control error messages

PHP object-orientation

  • Differences between PHP and other object-oriented language constructs
  • PHP object-oriented glossary

Integrating Ajax into PHP applications

  • Outlining Ajax with a brief description
  • Demonstrating the integration of Ajax with a PHP application

<< Back to Web Development, XML, and Adobe Products Course List
 

Related Courses


Learning Tree AnyWareTM is a trademark of Learning Tree International, Inc. in the United States and other countries, and is covered by a patent application pending in the United States.
 
Introduction to PHP for Web Development: Hands-On

Training Dates

Live online classroom training.Most events below can be taken in-class or live, online from your home or office with AnyWare.
Jul 9 - 10Rockville, MD enroll
Jul 23 - 24New York enroll

For AnyWare enrollments, please register at least 7 days prior to the start of the course.

More Dates and Locations.

 

Tuition for Course 519 (2 Days)

Bring this or any Learning Tree Course on-site to your location!

 

 
"I continue to use Learning Tree because they give me my money's worth—I don't always get that with other training companies."

– M. Gamble
VD
Polgara AB


CPE 11 Credits