Re: Furthering my education in OOP - where/how can one learn professional skills?



On Nov 7, 6:11 am, firewood...@xxxxxxxxx wrote:

I need some help in furthering my education in OOP.
I have developed a set of PHP scripts that I use in
a fairly sophisticated database driven website, but
I am not proud of the rather amateurish programming
that I used to create the functionality. Although
I use classes and objects to organize my data and
their related functions, it seems to be only marginally
better than plain procedural programming.

In fact, it is probably worse than procedural programming; using OOP
creates substantial overhead (initializing objects requires CPU cycles
and memory that would not be used if the code were procedural).

The next step, it seems to me, is to become much more skilled in
analyzing a program from an OOP point of view and learning the
techniques for organizing the structure of the scripts and how to
implement them in a website. In other words, I want to move from
amateur to pro in terms of both career and technique.

If you want to do it in PHP, you need to start by learning the limits
of OOP. PHP developers often face a trade-off between development
time and application performance; code developed quickly (usually,
using an object-oriented framework) requires more system resources to
run, while code that runs fast has to stay away from all kinds of
abstraction, including OOP.

Can someone point me in the direction of the right schools(online),
books, websites, example code, or other assets that I can use to
learn?

Read up on patterns. Note, however, that these days, most books on
patterns are written with Java in mind.

Also, is PHP the best language to use to learn and implement
the full power of OOP?

Definitely not. PHP is the best language to learn deficiencies of
OOP. :)

If not, any suggestions?

C++ and Java.

Cheers,
NC

.



Relevant Pages

  • Re: [PHP] php5 and possible oop features/questions
    ... multiple files (as you must have one file with the class sometimes quite ... its just static, which may proove to be a bit of a problem, since the php ... OOP lacks dynamic patterns - in general it's a step back with what you could ... the existing OOP syntax takes a lot of work, and you cant please everyone. ...
    (php.general)
  • Re: Mixing Oil and Water ?? (PHP with UML & Unit Testing)
    ... the use of UML or OOP does not have to do the size of the sites. ... any database driven project could have its data model ... > for PHP scripting or web-application development? ... Again, like UML, Unit Testing seems ...
    (comp.lang.php)
  • Re: [PHP] Re: OOP Hello World
    ... > PHP seems to be getting more and more object oriented, ... public function respond; ... public function respond(Salutable $receiver, $response) { ... OOP or not. ...
    (php.general)
  • Re: Furthering my education in OOP - where/how can one learn professional skills?
    ... OOP does not create any significant overhead. ... implement them in a website. ... PHP developers often face a trade-off between development ...
    (comp.lang.php)
  • Re: [PHP] Are PHP5 features worth it?
    ... I'm writing a PHP program and I've got a number of concerns. ... what PHP4 can do with OOP. ... using what PHP5 offers where it makes sense, ... Exceptions: I just don't see the big advantage. ...
    (php.general)