Revisiting the BASICs

Posted on September 26th, 2009 by Sam

Sitting back, I’m remembering days when I spent hours trying to write some of the simplest code; appreciating what I went through to attain my current skill level, looking back upon the frustrations that make me smile.  Many years and programs ago (it was 1986, I was 6 going on 7), I came to the [...]

Late Static Bindings

Posted on March 27th, 2009 by Sam

PHP 5.3 implements a feature called “late static bindings” that has been in the works since the PHP Developers Meeting that took place in November 2005 in Paris. This feature resolves an issue of inheritance, used to reference the called class in a context of static inheritance. Prior to version 5.3 a problem existed if [...]

Namespaces

Posted on March 10th, 2009 by Sam

Namespace has been used in programming languages for quite a few years. Java uses them extensively, and many people have complained about the lack of namespace in PHP. Namespace was initially slated for PHP 5.0, but due to difficulties with its implementation, integration into the code base was postponed to version 5.3. With the release [...]

Object Oriented PHP Memory Concerns

Posted on September 18th, 2008 by Sam

On September 17th, 2008, Ryan Campbell wrote: It’s hard to imagine pushing the limits of object oriented PHP so far that your web servers choke, but the truth is those limits are reached faster than you think. We’ve run some tests over at Wufoo and it turns out that any sort of mass object creation [...]