PHP: Object Oriented Programming

Whether you're enhancing or optimizing existing code or just starting from scratch, there's never a better time to start integrating object-oriented design techniques. This course shows how to integrate the principles of object-oriented programming into the build of a PHP-driven web page or application. After an overview of what objects and classes are and why they should be used, author Jon Peck dives into creating and instantiating objects, then defining the class relationships and interactions that will form the basis of your coding arsenal. The course also shows how to leverage PHP objects and implement design patterns, and looks at steps you can take to continue adding to your programming tool belt.
Topics include:

  • Historical overview of object-oriented PHP
  • Defining classes
  • Creating a method/object context with $this
  • Accessing classes without instantiation
  • Creating a database class
  • Extending and abstracting classes
  • Cloning and comparing objects
  • Error handling with exceptions
  • Implementing design patterns, such as the factory and strategy patterns

Did you know...?

PHP is a widely-used scripting language intended for use in web pages to create dynamic content.

PHP runs on a web server, which interprets the PHP scripts behind the scenes and sends the results to the client. The client may not even know that a script was used to produce the contents of the webpage that they are viewing.

Although PHP is considered to be a simple language, it comes with an extensive list of features that allow it to be used in thousands of different ways to enhance websites and web applications. These uses include, but are by no means limited to:

  • Solving Math Problems
  • Parsing Text
  • Formatting, Manipulating and Displaying Current Dates & Times
  • Handling Form Data
  • Sending & Receiving Cookies to store handy information on the user's computer
  • Collecting Information About Your Website's Visitors
  • Tools to Read From & Write Data to Databases
  • Creating/Modifying Images with PHP extensions like GD; or crreating SVG
  • Creating Shopping Carts
  • Interacting With a Secure 3rd Party to Pay For Online Merchandise

Requirement to run PHP are either one of the following two options: either a web host that supports PHP; or a web server and PHP installed on your own computer.

Cost: 
$29.99
Subject: 
Campus: 
Author: 

Reviews

There are no reviews available... for now.

What do you think?

Do you have experience with this? write a review