Narendra Dhami

My Site

Archive for September, 2008

19 Eesential Get-Started Tips for Windows Vista

Posted by Narendra Dhami on September 20, 2008


These are our picks for the 19 things you should try when you first start using Windows Vista. More …

Posted in Windows | Leave a Comment »

Build A Web 2.0 Voting Widget With Flex

Posted by Narendra Dhami on September 19, 2008


Read …

Posted in PHP | Leave a Comment »

Object Oriented PHP Memory Concerns

Posted by Narendra Dhami on September 19, 2008


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. More …

Posted in PHP | Leave a Comment »