php is OO. from version 3 i believe. however it just
recently upgraded to a really good OO status, version
5  that is.

i got introduced to php at version 4+, there were some
really stupid OO design issues. i mean you could
define a class but all its members were public, even
if you define it as private (or there wasn't even the
property private, i can't recall) correct me if i'm
wrong! that made go like WTF? so what's the use of
private!?

php5 made a really big push into OO. although i still
see it as a mostly functional language (i still can't
brush off old habits). 

currently not everything is available as a class. i
can only remember the "mysqli class" vs "mysql
functions library".

someone could argue the virtues. or lack thereof of OO
design. personally i still haven't made up my mind
(but i'm betting on OO). you could even argue that you
could write in OO without an OO language. i mean you
could design a c application in a totally OO way
(think gnome).

here's another question, will all the php functions
eventually be transformed to totally OO? is php5 a
stepping stone to total OO? 


--- Al-Faisal El-Dajani <[EMAIL PROTECTED]>
wrote:

> This is going to be a very newbie question so please
> tolerate with me a
> little.
> 
> Does PHP support object oriented design? and if yes,
> does it do so out of
> the box, or are there some special things that
> should be done (e.g: include
> a certain library or something)??
> 
> --
> Al-Faisal El-Dajani
> Tel: +962-7-77 799 781
> P.O Box: 140056
> 11814 Amman, Jordan
> 
> May the source be with you
> > _______________________________________________
> Jordan PHP Users Group
> http://php.jolug.org/
> Php mailing list
> [EMAIL PROTECTED]
> http://mail.jolug.org/mailman/listinfo/php_jolug.org
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

_______________________________________________
Jordan PHP Users Group
http://php.jolug.org/
Php mailing list
[EMAIL PROTECTED]
http://mail.jolug.org/mailman/listinfo/php_jolug.org

Reply via email to