Saturday, November 17, 2007

MASystems Project - tasks 1.1 delivery

PHP OO - task ID 1.1 delivery
(link to doc: http://docs.google.com/Doc?id=dc8s9cht_7c5c7n8)

approach and learnings
I started by searching the web for php object oriented (oo) articles, tutorials, etc. and found some good ones at phpfreaks.com. Years ago I developed in C and C++, so I had some familiarity with oo. I've also used activex controls and other 'like' coding practices when developing in VB. Below are some links to tutorials and books I've read. Interesting aspects of php oo:
  • you can access non-instantiated classes and use them as a repository of variables, constants and general functions
  • _call within a object allows you to capture method calls that do not exist and utilize the method name and passed arguments to call a valid method (logic to control logic? useful for revising classes and supporting prior versions used??)
  • inheritance is supported as well as all oo paradigms are supported (as far as I know)
Overall, I think at this point I have a good understanding of php oo and have a series of reference links and books for use during development.

links
http://us3.php.net/zend-engine-2.php
http://www.phpfreaks.com/tutorial_cat/19/Object-Oriented-Programming.php


books
PHP in Action: Objects, Design, Agility
Beautiful Code: Leading Programmers Explain How They Think (Theory in Practice (O'Reilly))
Design Patterns: Elements of Reusable Object-Oriented Software (Addison-Wesley Professional Computing Series)
Anti-Patterns and Patterns in Software Configuration Management

No comments:

Post a Comment