Wednesday , 17 October 2018
Home / Tag Archives: PHP OOP tutorial

Tag Archives: PHP OOP tutorial

Extending Classes – PHP OOP Tutorial

Extending Classes

Let’s talk about extending classes for a moment. One of the benefits of using classes is that it’s easy to share your classes with other developers. They can extend the class if you allow them to.  So instead of going into your class and updating the code, they can create a different class that only changes a few things here …

Read More »

Properties and Methods – PHP OOP Tutorial

Properties and Methods

Now, that we’ve covered some of the basics about object oriented programming, let’s move onto the next step. We’re going to learn about properties and methods. We’ll learn about what they are and how to use them. Using Properties and Methods Open up your pet.class.php file and update our class to this. [crayon-5bc7225bca34b714747566/] We create a variable named petName. We …

Read More »

Classes, Objects, Instances – PHP OOP Tutorial

Classes, Instances, Instances

Let’s get started by creating our first class and learn a little about what classes, objects, and instances really are. You’ll find that creating classes isn’t so hard. Create a new file called pet.class.php. You don’t have to append the .class after your file name, but it’s common practice to do that so other developers know that this file contains …

Read More »

Getting Started – PHP OOP Tutorial

PHP OOP Tutorial

Welcome! This PHP OOP tutorial series will help you get started with object oriented programming in PHP. If you’ve ever wanted to expand your knowledge, then you’ve come to right place. By learning how to use OOP, you open up new doors that will make your code more efficient and flexible. Before you get started This tutorial assumes you have …

Read More »
ULTIMATE NODE JS WITH SQL COURSE
Want to learn how to create web applications with Node.js and SQL? Check out my course!
Get 93% off my course. You'll also learn how to build real world applications using Node and SQL. This is a limited time offer
Yes, I would like to get 93% off your course!
No Thanks!
close-link