Classes and Objects

A

Anonymous

Guest
Hello, newbie here! So, I have done some pretty extensive research, and have had a few contradictions along the way. But does anyone know, in lamens terms, what a class and object are?

Here is what I understand of them:

Class:
A sub-application of an object

Object:
The main application (could be many to one program)

Please add, correct, or alter my definitions above, I am a bit dazed and confused with some of the terminology, and basic words and explanations would be apprechiated!

Thanks in advance!

Frodo
 
frodo said:
Class:
A sub-application of an object

Object:
The main application (could be many to one program)

I don't know where you got this, but it's way off.

Some good basic information can be found at Wikipedia:
Read the Class page in particular. Once you've got a handle on the basic concept, read the page in the PHP manual on Classes and Objects. Then look for some good tutorials.
 
That's a much more detailed explanation than I have been able to find. I'll look it over and see if I can add it up. Thanks for your help! PHP Forum is definetely the best!
 
Back
Top