Computery

Key Drupal 5 concept - boxes are not automatic

Tags: 

A key feature in Drupal is being able to create plugins/modules that create their own blocks, chunks of functionality that can be placed anywhere on the page by using the blocks/regions configuration or panels. If you do happen to create your own, bear in mind that while you automatically gain the features of the mail blocks table, you do not gain access to the boxes table, so you have to create your own body content block. Just thought you should know. And yes, this fact has just dawned on me. Doh.

Why does PHP still suck on OSX?

Tags: 

I'm a little puzzled and frustrated with Apple.

With Macs, or more specifically OSX, becoming the platform of choice for web developers world over, why do they still insist in neutering our capabilities by bundling limited versions of the most common web development tools rather than all or nothing? With Leopard they at least improved the Ruby install to the point it was useful (you could actually now run Rails without having to compile from source) but PHP is missing so much functionality through the lack of pear and shared libraries to make it a pain to use.

On Linux it's almost standard practice to compile PHP from source, because so few installations include all of the required libraries (due to varied quantities of "suck"). Amusingly on Windows you can obtain all of the libraries out of the box and just enable the ones needed. Contrast this to OSX, which promotes itself as being so much better than Windows, and you get the worst of both worlds - no source to compile and an incomplete binary install.

Even if they insist in bundling their own customized build with the OS, the least they could do is make all of their customized source builds available through MacForge, which would allow those of us who need more than the basics to at least keep our recompilations matched to Apple's standards.

Come on Apple, do the right thing!

geocoder forked & uploaded to github

Tags: 

For a Rails project I'm working on I started using the geocoder gem for zipcode validation. Unfortunately the release that was available via gem was flaky and would often crash if you queried for just a zipcode instead of a full address. With some digging around I discovered that the code in its subversion repository had some fixes applied that hadn't been pushed out to the gem, and after testing them it sure enough was much more robust. Well, this sounded like an excellent use of github! So what I've done is uploaded the SVN code to a new project, I've updated the version number and marked it as available for downloading as a gem. Go git some geocoder goodness!

Pages

Subscribe to Computery