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 »

Sinners that repent

Here’s a sign of hope that thinking rationally may end up helping us solve a number of problems. Last night saw a TV programme in the UK called What the Green Movement Got Wrong, in which various greens admitted that they had done terrible harm by opposing nuclear power and GM food and indoor DDT.

Sinners that repent Read More »

Using Disqus for Comment

I'm testing using Disqus for commenting here.  Drupal's core comment module is adequate but Disqus provides a number of features, particluarly integration with Facebook and Twitter, that would require more work otherwise.  There's even a Disqus module that integrates the plugin as a block. While it doesn't integrate with Mollom, it does integrate with Akismet,

Using Disqus for Comment Read More »