drupal planet

There are not 1024 bytes in a kilobyte!

23 Jul 2013

According to the SI standard, there are 1000 bytes in a kilobyte.

There is another standard called IEC that has 1024 bytes in a kibibyte, but this is only useful when measuring things that are naturally a power of two, e.g. a stick of RAM.


Mozilla Persona

14 Jul 2013

In Mozilla Chairperson Mitchell Baker's DrupalCon Denver 2012 keynote she announced a new web authentication system they are developing called Mozilla Persona. It's a federated and open standard that respects privacy. I wanted to use this technology for my own projects so I created the Drupal module.

Why management needs to understand the Drupal community to fully benefit from Drupal

3 Jan 2011

The slogan of the new Drupal website is:

Come for the software, stay for the community

This is the typical process by which people learn that Drupal's ultimate strength is its community, rather than its code base.

Websites are like human beings - any two websites can be very different and do very different things, but under the hood they are 99% the same. Any website (large or small) has very small unique code base, compared to the enormous software stack that it sits upon. Other components in the stack are typically:

Advanced exception handling in Drupal 7

21 Sep 2010

Earlier this year Drupal core developers were getting a strange error message while developing Drupal 7:

Fatal error: Exception thrown without a stack frame in Unknown on line 0

This was causing a lot of head scratching because it doesn't provide any information about what caused it.

Drupal 7 uses exceptions more than any previous version of Drupal and this turned out to be the problem.

PHP exceptions are handled in one of two ways: