http://phpbuilder.com/columns/rod19990601.php3
This is almost a religious debate in itself, but some brief info anyway.
""SED"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> I have now been 3-4 months writing PHP-codes and read the PHP manual
> throughout. But there is one thing I can't figure out properly (I think
it's
> not covered enough in the manual): Classes!
I am fairly certain it is covered in the manual. Chapter 13. Classes and
Objects(http://php.net/manual/en/language.oop.php)
> When and why would I use it?
It is a preferential manner of coding. It is not strictly necessary in any
situation, but there are some arguments about when it should be used and
when it shouldn't(unless your a Java programmer). I have found OOP to be
very useful for some large projects, and for others I have avoided it for no
other reason than I didn't feel like coding my app that way on that
particular day.
> Is it only to group certain functions or does it have a special function?
As I said it is just another style of coding. Take a shot at writing an OO
app. It takes some getting used to, but its something everyone should at
least know so at the very least you can understand someone else's code.
> Thanks!
>
> Regards,
> Sumarlidi Einar Dadason
>
> SED - Graphic Design
--
phill
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]