Why did the chicken cross the road? – Ivo Jansch

Posted on November 22nd, 2008 by Sam

So what does the PHP community think about why the chicken crossed the road?

Lukas Smith: “We should ignore the chicken for now and make sure that the parse-ability, typeability and ide compatibility of what separates this side from the road from the other side is better than the current separator proposal.” *

The chicken keeps on crossing…

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 is pretty much not going to work at scale. The problem is this limit on object creation forces developers to balance code consistency, which is desirable—especially for the old-schoolers, with performance. While replacing objects with arrays when possible makes things a little better, the most performance friendly approach involves appending strings. For your convenience, we’ve run some tests that measure page execution times and memory usage to create the following guideline to help you plan out what areas of your code may have to break away from an object oriented nature.

Continue reading: Object Oriented PHP Memory Concerns

Is PHP 4 finly over?

Posted on September 10th, 2008 by Sam

Over a year has passes since the original ‘PHP 4 end of life announcement‘ on 13-Jul-2007 from PHP.net. PHP 5 had been out for 3 years and PHP 6 was on its way. PHP.net was announcing they were threw with PHP 4 support by the end of the year, and crucial security fixes till 08-Aug-2008. Today I went to PHP.nets home page to find that the news post from 07-Aug-2008 was still the top artical, announcing ‘PHP 4.4.9 released!‘ encouraging all whom still use PHP 4 to upgrade to this version, as it is the last and most secure release, fixing such things as memnstr() and mbstring.func_overload. As I recall they said the same thing about ‘PHP 4.4.8 Release‘ on 03-Jan-2008. With all that is going on with PHP 5 I sure hope they leave PHP 4 in the dust and move on like they so enthusiastically encourage there users to do.

Propel drops Creole

Posted on August 25th, 2008 by Sam

In a move towards speed and reliability Propel (an object persistence layer) in it’s new 1.3.0 version drops its integration of Creole (database abstraction layer) in lue of PHPs new PDO (PHP Data Objects) extension. This fundamental move establishes leverage for Propel to take further control of PHP 5s new OOP features for its database connections. With this change there will be a number of changes required of those upgrading, particularly for those who are executing SQL directly. PDO’s API is loosely similar to Creole’s, so this change shouldn’t require any major re-architecture. A few of the changes include a new PHP minimum requirement of PHP 5.2.x, several method signature changes, mysqli adapter was removal, SPL autoload integration, and API changes for extending classes.