Posted by David on 11/02/06 19:34
A class is more specific name for the generic idea of an object.
Basically, it allows you to put code and data into a container and
tell the container to act on something and give me back a response. A
real example is a remote control which accepts the pressing of the
"power" key and then tells the TV to turn on/off.
YOu do need to get a basic book on object design if you plan to use
classes.
On 2 Nov 2006 07:17:31 -0800, cyktor@hotmail.com wrote:
>Hey all,
>
>PHP is my first serious programming language (have some exp w/
>javascript), so this notion of classes and objects confuses me. What's
>a good way for me to understand this?
>
>-cyktor
[Back to original message]
|