December 2010

JSON supplanting XML

Lessons: Use Cases matter, and programmers (the users in this case) will choose tools that are both simple, in that they are not complicated/over-engineered, and easy to use, requiring little setup and code to accomplish a task.  For parsing data with PHP, constrast using something like SimpleXML or DOMDocument (which is light-years better than where […]

JSON supplanting XML Read More »

How NOT to Optimize your Drupal website for a iPhone or iPod

Don’t follow the advice posted below to “optimize” your site based on the user agent string.  The author suggests doing so in the page.tpl.php for your theme.  However, this means you can NEVER turn caching on for your site.  Also, the uses ereg functions to “detect” the device.  These functions are now deprecated by PHP,

How NOT to Optimize your Drupal website for a iPhone or iPod Read More »