Main Content

Object Oriented Programming in PHP

Archive - Originally posted on "The Horse's Mouth" - 2010-02-19 14:17:46 - Graham Ellis

New ... for the first time ever ... our Object Oriented PHP Programming training course is running on a Monday. That's Monday, 26th April 2010. It then revert to Friday - its more normal day of the week - in May.

PHP's roots were not object oriented ... and in the early days of it being used for relatively straightforward and short pieces of code within web pages, that didn't matter. But as people realised just what a superb system / language / tool PHP is, they started writing longer applications in it, and that's where OO really starts coming into its own.

PHP version 4 had objects. Except that (technically) they were flawed - not that this caused too many any problems to most users. When PHP 5 came out, that design issue was resolved, and PHP objects moved from being "good" to "excellent". Which, however, does not mean that everyone must learn and use objects in their PHP for all of their applications just as you wouldn't use an aircraft to get from London's City airport to London's second airport at Gatwick.

So - with the use of Objects in PHP being something which is fundamental to a proportion of our trainees, and irrelevant to the rest of them, we decided to run it as an additional one day course.