On Feb 20, 2011, at 7:38 PM, tolga wrote:
21.02.2011 03:21, Tamara Temple yazmış:
thanks. are there any high detailed explanation of classes in php?
except for php.net, cuz i didnt understand anything from there about
On Feb 20, 2011, at 5:51 PM, tolga wrote:
i'm interested in php about 3 maybe 4 years but i still couldnt
get the logic of classes. it makes no sense to me. i couldnt
understand whats about classes good at or how to use or write it.
and i can say that " is 'class' really necessery? "
a class is construct of Object Oriented PHP. If you don't
understand object oriented programming, you'll likely not
understand the use of object and classes in PHP, either. There are
good reasons to use object oriented principles in PHP and other
langages, and good reasons to use procedural principles in PHP as
well. Learning when to use either is important. Learning how to use
classes someone else implements is also important to keep from re-
re-re-re-re-reinventing the wheel.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php