|
Posted by Richard Levasseur on 03/08/06 21:06
OOP isn't a catch all for everything. For larger application
development it is a godsend, though.
PHP5 follows most of the OOP principles, and resembles java in many
ways. Any book, tutorial, information on Object Oriented Programming
will be relevent to PHP's Object model. There are only a few
exceptions between PHP5 and general OO models that i've run into in the
past (or more precisely, frustration at single inheritance)
Generally, however, objects are used when you have a lot of code that
is similar between projects or other entities in the project, such as
User's information, Database connections, Shopping carts, etc etc. All
those things are pretty much the same between projects, and can be
extended to do more for any specific application.
I wish i could provide a good resource for you, but i've yet to find
one myself.
Navigation:
[Reply to this message]
|