JimNayzium
07-24-2008, 08:53 PM
I have a good working knowledge of Flash Actionscript 2.0 and its syntax.
I am hoping to become more advanced with Javascript and PHP.
The buzz-word seems to be OOP.
I have a quick question...
I completely understand in Actionscript a "type" or "object" having "methods."
Meaning you can say
MovieClip.alpha = 50;
Because the MovieClip Object has a method called alpha...
I use these methods all the time.
Is OOP in essence just that?
Somewhere in the bowels of the flash program code is a simple class or function or OBJECT named MovieClip....
and inside it are a list of functions...one of which is
function alpha() {
}
-----
If that line of reasoning is hypothetically true, and therefore OOP demonstrated in my imagination....
Here is my question about PHP OOP...and syntax...
If in flash we use dot.syntax to access the methods...
is that what in PHP becomes =>
??
Some one please point me to the most basic of tutorials on the actual syntax of the object-oriented-programming in PHP 5 specifically....
I am always hacking someone elses open-source stuff and I always get lost with the Colons
like -- someTextHere::SomeOtherThingHERE::
and with the equals arrows...
someThingHere=>someOtherthingHere
THANKS!
I am hoping to become more advanced with Javascript and PHP.
The buzz-word seems to be OOP.
I have a quick question...
I completely understand in Actionscript a "type" or "object" having "methods."
Meaning you can say
MovieClip.alpha = 50;
Because the MovieClip Object has a method called alpha...
I use these methods all the time.
Is OOP in essence just that?
Somewhere in the bowels of the flash program code is a simple class or function or OBJECT named MovieClip....
and inside it are a list of functions...one of which is
function alpha() {
}
-----
If that line of reasoning is hypothetically true, and therefore OOP demonstrated in my imagination....
Here is my question about PHP OOP...and syntax...
If in flash we use dot.syntax to access the methods...
is that what in PHP becomes =>
??
Some one please point me to the most basic of tutorials on the actual syntax of the object-oriented-programming in PHP 5 specifically....
I am always hacking someone elses open-source stuff and I always get lost with the Colons
like -- someTextHere::SomeOtherThingHERE::
and with the equals arrows...
someThingHere=>someOtherthingHere
THANKS!