Re: [PHP] Beginner Tutorials for using CLASSES in PHP4
- From: quickshiftin@xxxxxxxxx ("Nathan Nobbe")
- Date: Sun, 30 Sep 2007 01:47:09 -0400
painfully i find myself bound to it at my current job. there ive been able
to
realize that proper oop can be used to an amazing extent in php4, however
altogether i wish we could just move on to 5 and i could stop writing in
// private
as a comment :)
-nathan
On 9/30/07, Jeff Cohan <jdcohan@xxxxxxxxxxxxx> wrote:
Nathan Nobbe wrote:
classes
although some people believe differently than i; i would argue
trying to learn how to design w/ the classes that php4 provides
is a waste of time. most books you will find regarding object oriented
design assume the language has the basic constructs. ppp mainly.
also, there are other important facilities php4 lacks like abstract
and interfaces, not to mention you have to explicitly assign objects bydesign
reference in php4. (if you dont want a copy created).
unless you are bound to php4 by work or something
i suggest you start working w/ php5. also, if your looking for some
techniques i recommend studying design patterns. the heads first book
is a great starting point.
actually if you want a solid reference thats free on the web look at
phpPatterns <http://www.phppatterns.com/docs/start>
the code is mostly php4 i believe.
-nathan
Thanks, Nathan. I have been moving toward the conclusion you suggest
(i.e., don't bother with OOP in php4). Yes, I'm bound to php4
currently.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
- References:
- Beginner Tutorials for using CLASSES in PHP4
- From: Jeff Cohan
- Re: [PHP] Beginner Tutorials for using CLASSES in PHP4
- From: "Nathan Nobbe"
- Re: [PHP] Beginner Tutorials for using CLASSES in PHP4
- From: Jeff Cohan
- Beginner Tutorials for using CLASSES in PHP4
- Prev by Date: Re: [PHP] Classes and access to outside variables
- Next by Date: Re: [PHP] Classes and access to outside variables
- Previous by thread: Re: [PHP] Beginner Tutorials for using CLASSES in PHP4
- Next by thread: Re: Beginner Tutorials for using CLASSES in PHP4
- Index(es):
Relevant Pages
|