One of the hardest things for me to learn so far is Object Oriented Programming (OOP). I am forcing myself to build an application framework in OOP so that I will get the knack of it. Recently I wrote a Contact Management System in PHP using the procedural method of coding. It contained some complicated forms and I soon food that keeping track of everything was getting out of hand. Luckily, the structure I had created worked in the end but was complicated to wade through if you wanted to edit the code. According to many, the OOP method if used properly, will allow you to create and easily change complicated systems.
Here is the class: formElements.cls.phps
I hope I am on track with it. Any comments would be appreciated.
your code is too clean and too well documented! you’ll never pass for a programmer that way.
d
October 27th, 2006