Olsen Software Ltd.
Phone us +44 7989 401397
Email us info@olsensoft.com
home | training | services | content | code home > training > web > php Back to top
PHP Programming (4 days) print Download

course overview

PHP is a popular scripting language for creating dynamic web sites, and is widely used in many major commercial web sites in industry.

This course describes now PHP fits in to the 'LAMP' stack of open-source technologies (Linux, Apache, MySQL, and PHP), and then gets you to up to speed developing data-driven web applications using PHP and MySQL. We explore PHP syntax and techniques in detail, and show how this dovetails with MySQL to interact with back-end databases.

what you'll learn

prerequisites

course details ShowHide

Understanding the LAMP Architecture

  • Overview of LAMP technologies
  • Installing Apache, PHP, and MySQL
  • Getting ready to develop

PHP Language Fundamentals

  • Overview of core PHP syntax rules
  • Data types and variables
  • Constants
  • Flow control

Working with Functions

  • The benefit of functions
  • Writing and calling functions
  • Passing parameters

Working with Strings and Arrays

  • String manipulation
  • Creating arrays
  • Iterating over arrays
  • Using regular expressions

Working with XML

  • Overview of XML
  • Using the PHP XML parser
  • Parsing XML data
  • Creating XML data

Handling Exceptions

  • Overview of exceptions
  • Defining a custom exception handler
  • Terminating statements
  • Reporting errors

Using MySQL

  • Overview of Data Source Names (DSNs)
  • Understanding PHP Data Objects (PDO)
  • Executing SQL queries using PDOs
  • Displaying query results in a web page

Writing object-oriented PHP

  • Overview of object-oriented concepts
  • Implementing encapsulation in PHP
  • Implementing inheritance in PHP

Web services

  • Overview of web services and Ajax
  • Overview of JSON
  • Working with Web services in PHP