Learn OOP

Learn the concepts and techniques of Object-Oriented Programming with these OOP tutorials. Learn how to use classes and objects to create efficient, clean code.

All OOP content:

  1. Object-Oriented Programming in WordPress: Functions and Attributes

    Object-Oriented Programming in WordPress: Functions and Attributes

    Tutorial Beginner

    As we continue our discussion of object-oriented programming within the context of WordPress, it's time for us to begin talking about actual features of...

  2. Object-Oriented Programming in WordPress: Control Structures I

    Object-Oriented Programming in WordPress: Control Structures I

    Tutorial Beginner

    WordPress is a powerful CMS that provides a flexible foundation on which to build both sites and applications. If you want to extend WordPress functionality,...

  3. OOP in PHP With Tests

    OOP in PHP With Tests

    Course Intermediate

    Object Oriented Programming is one of the most frequently used paradigms today. Test Driven Development allows us to build applications with the guidance...

  4. Object-Oriented Programming in WordPress: Types

    Object-Oriented Programming in WordPress: Types

    Tutorial Beginner

    In the last post, we took a look at classes which are the building blocks of object-oriented programming. Before we go any further, we need to take a survey...

  5. Object-Oriented Programming in WordPress: Classes

    Object-Oriented Programming in WordPress: Classes

    Tutorial Beginner

    Classes are the foundation of object-oriented programming. For some, the concept is simple; for others, not so much. In this article, we're going to continue...

  6. Object-Oriented Programming in WordPress: An Introduction

    Object-Oriented Programming in WordPress: An Introduction

    Tutorial Beginner

    One of the most flexible aspects of WordPress is that it supports both procedural and object-oriented programming paradigms. In this series, we're going to...

  7. Detecting Code Smells

    Detecting Code Smells

    Course Advanced

    So your code is showing a few flaws, but not enough to be considered a bug. You might have a code smell in the works. But what is a code smell and how do...

  8. Dates and Time - The OOP Way

    Dates and Time - The OOP Way

    Tutorial Beginner

    The Date/Time PHP extension is a set of classes that allow you to work with almost all of the date and time related tasks. It's been available since the...

  9. From Procedural to Object Oriented PHP

    From Procedural to Object Oriented PHP

    Tutorial Intermediate

    This tutorial was inspired by a speech given by Robert C. Martin that I watched a year or so ago. The main subject of his talk is about the possibility of...

  10. Two Ways to Develop WordPress Plugins: Object-Oriented Programming

    Two Ways to Develop WordPress Plugins: Object-Oriented Programming

    Tutorial Beginner

    When it comes to writing WordPress plugins, there are generally two ways to go about doing so: Object-Oriented Programming and Functional Programming (with...

  11. Python from Scratch: Object Oriented Programming

    Python from Scratch: Object Oriented Programming

    Tutorial Beginner

    Welcome back to lesson four in our Python from Scratch series. This tutorial will assume some prior knowledge of variables, data types, functions and...

  12. Ruby for Newbies: Working with Classes

    Ruby for Newbies: Working with Classes

    Tutorial Beginner

    Ruby is a one of the most popular languages used on the web. We’ve recently started a new screencast series here on Nettuts+ that will introduce you to Ruby,...