Weekly Links #115

How To Use CSS3 Media Queries To Create a Mobile Version of Your Website
A tutorial on building a mobile-friendly stylesheet, and also on retrofitting an existing site to include the same.

Unit Test using test doubles, aka Mock, Stub, Fake, Dummy
Laurent Kempé explains some unit-testing terminology, differentiating various types of "fake"e; objects.

Deciphering Magic Methods in PHP
Shows the power of PHP’s magic methods, and explains how they are useful

On the use and misuse of patterns
Rockford Lhotka explains the benefit of design patterns, and also highlights how they can be over-used or misused.

PHP 4 and MySQL 4 End of Life Announcement
The WordPress blog announces that the next major version, v3.1 late this year, will be the last to support PHP 4 and MySQL 4. WordPress 3.2, coming next year, will require PHP 5.2 and MySQL 5.0.12. It’s a good move, one that has been a long time coming.