[nycphp-talk] How many of you guys are "down" with Java/OO - like programming concepts?
Matthew Terenzio
webmaster at localnotion.com
Wed Feb 18 17:02:34 EST 2004
I guess I would agree that approaching Java from a scripter's
perspective is wrong, but the whole topic is a little bizarre. Java is
Java and PHP is PHP.
Beyond getting a feeling for what a class is conceptually, I don't
think PHP will help you learn Java.
I learned them both almost simultaneously.
Could a scripter cross into the OO universe? (where Spock has a Goatee)
Sure!! But can OO get back?
On Feb 18, 2004, at 4:21 PM, Phil Powell wrote:
> I am now learning how to write PHP not necessarily as flat script but
> as an OO construct, that is, classes, "abstract" classes,
> "interfaces", Singleton Design Patterns, etc. and it's really helping
> me out a lot toward understanding how to come close to implementing it
> in Java.
>
> Except for one problem. The various Java programming and online
> resources (and offline books I have) basically all inform me that
> understanding Java from a "scripter's perspective" is flat wrong,
> because Java is pure OO and involves concepts such as Polymorphism,
> Encapsulation, Inheritance, even things like Beans and Struts they
> claim you cannot know as a scripter but as a pure OO programmer.
>
> So I'm asking the experts among me for advice: should I continue my
> persuit of PHP from what little OO knowledge I have? Also, do any of
> you share a Java background along with PHP and see any symbiosis
> possible between the two and if even possible that a scripter such as
> myself could cross over into the OO Universe anytime?
>
> Thanx
> Phil
>
> _______________________________________________
> talk mailing list
> talk at lists.nyphp.org
> http://lists.nyphp.org/mailman/listinfo/talk
More information about the talk
mailing list