Like This Site? 
 
RSS Feed Follow Us 

on Twitter! Be Our Fan!

OOP Advanced Tutorial: Working with objects

Share this post!
 Vote this!

So today we will be building an advanced OOP (Object Oriented) tutorial that will allow us to create an interface to pull out the user details from the database and display them to the end user! We will be using objects, so let's go!

What is OOP (Object Oriented programming):

OOP (Object Oriented programming) is an advanced technique that allows you to create much more modular code that can be reused and is nicer and safer to write and work with that hackers are less able to hack on which is based on the idea that you can put all your functions into an object unlike procedural programming which is where you wouldn't do this.

So let's start with the basics:

What is the difference between a class and an object?

The difference to a class and an object is the same difference between a house and a blueprint. You can make many houses from the same blueprint - but the best thing about using objects is that if you want to change something about a house, all you have to do is make a new class and all your house objects will change as well!!

So let's start making the User object:

More...

0 comments:

Post a Comment