New Joomla Class: Introduction to Object Oriented PHP

We're delighted to launch an important new class called, "Introduction to Object Oriented PHP".

This class is part of a series of new developer-focused classes at Joomlashack University. Last week, you saw the launch of new Joomla development classes.

Object oriented programming (OOP) is the most popular model used by PHP developers.

Joomla has long been a leader in terms of OOP. Back in 2008, the Joomla team launched version 1.5. This was a completely rewrite, in part to introduce OOP principles.

In this class, you'll learn the fundamentals of OOP and, in particular, how they apply to Joomla and PHP.

This class focuses on the use of classes, objects and methods in OOP and covers the following topics:

  • How to Create a Class in OO PHP
  • How to Create an Object from a Class
  • How to Access Object Information in a Template
  • How to Add Methods to Classes
  • How to Use the Construct Method and Magic Methods
  • How to Incorporate Global Variables into a Class
  • Public, Private and Protected Visibility
  • Why Should You Use Private Visibility?
  • Using Subclasses (or Child Classes) in OOP

If you're a Joomlashack University member, you can access this new OOP class.


About the author

Steve is the CEO of Joomlashack. Originally from the UK, he now lives in Sarasota in the USA. Steve has been involved with Joomla since 2006.