Posted in Technology

How NOT to write (OOP PHP) code

My comment on one of the files of SuiteCRM …

Posted in Technology

PHP Memory Usage: The cost of a million objects

Even though memory is getting cheaper, our applications are becoming more complicated and we need to write our code more carefully.

Posted in Technology

Programming with too many unknowns in a dynamic language

The aim is to write code efficiently, but without compromising easy debugging, maintenance, and especially adaptability …

Posted in Technology

PHP Associative Arrays for C# .NET

I always loved the ease of use of arrays in PHP. Simple, dynamic arrays; arrays with integer indexes or string keys; hash tables, maps, collections, resizable variant arrays; you name it.

Posted in Technology

PHP: magic methods

Regarding __toString

Posted in Technology

PHP5: Autoloading your magic!

__autoload() function can be very useful to optimize your code esp. when you have so many classes.