Blog posts
Collected posts from the various blogs I’ve contributed to since 2002.
Collected posts from the various blogs I’ve contributed to since 2002.
One of the many tricky decisions to be made when building content management tools is how to allow users to control the basic formatting of their input without breaking your carefully crafted layouts or injecting nasty hacks into your pages. One approach has long been to provide your own markup language. Instead of allowing users to write HTML, let them use bbcode, or markdown, or textile, which have more controlled vocabularies and rules that mean it’s much less likely that problems will occur. ...
A couple of months ago I found myself needing to generate a “tag cloud” in drupal. The contents of the cloud would be all the children categories of a container and as is the norm with tag clouds it needed to display those children at varying sizes based on how popular they are. I looked around at the existing options but none fitted my requirements in how they integrated with the category module, or producing semantically helpful html. ...
PHPMock: Independent Mock Object/Stub Framework - Maugrim The Reaper’s Blog Looks like there’s work on a mocking library for PHP that’s independent of the testing libraries. That’s a much needed development. (tags: bdd mocks php tdd unittesting) PHPSpec Reporting Gets A Needed Boost - Maugrim The Reaper’s Blog PHPSpec is a behaviour-driven development library for PHP code. (tags: bdd php) Google LatLong: Think globally, mark locally Has google maps got the wrong spot for your house? Now you can correct it. Nice idea. ...
It’s surprising given drupal’s popularity that there aren’t more books covering it in detail. Site launches and contributions by the likes of lullabot and bryght have pushed the CMS’ profile and recent releases have emphasised the Web 2.0 potential, but a quick look at amazon reveals only four related titles. Of the four, Pro Drupal Development is definitely the most developer focussed. ...
As I’ve indicated here a few times, when announcing site launches and offering a few hints and tips, I fairly frequently find myself working with Drupal but have long had reservations about doing so. What I’ve so far avoided doing is going into much detail about why that would be, what those reservations are, and so on. But now I’m working on a review of a Drupal book and so it seems appropriate to lay those cards on the table and look at the details on them. It seems easiest to do that by comparing with the framework I do most of my development in: Ruby on Rails. ...
Boboroshi | The Issue With Social Networks A good overview of the frustrations in working with multiple social networks, and a little musing on some tools that can be used to glue them together. (tags: aggregation socialnetworking) Facebook | SuperBadger “With SuperBadger you can send prewritten emails straight from your profile to the people making the decisions - whether it is badgering politicians about climate change or badgering supermarkets to stock more Fairtrade products, now is the time to s ...
I am not in this book’s target audience. Whereas the book is aimed at experienced java developers who are just getting started with rails and want to take advantage of JRuby, I’ve rarely touched Java but have lots of ruby and rails experience and am interested in JRuby mainly to see where I might be able to take advantage of java libraries, or ship my ruby apps into new contexts. In that respect, the book was helpful but there’s probably space for a companion volume for people like me. ...
Bamboo Blog - Google’s OpenSocial with Ruby on Rails A plugin and details of how to get your rails app ready to host OpenSocial widgets (tags: opensocial resources rubyonrails socialnetworking) OpenSocial: It’s the data, stupid “We don’t want to have the same application on multiple social networks. We want applications that can use data from multiple social networks.” – or we want both… (tags: opensocial timoreilly) People Data API Developer’s Guide: Protocol - OpenSocial - Google Code ...
Track US Congressional Earmarks Via Google Earth Interesting. Apparently uses human input to add structured data (tags: googleearth participationtools sunlightfoundation uscongress) Merb-0.4.0 released with new site merbivore.com Looking really nice. I must get back into the merb app I was playing with a couple of months ago and see how it runs with this new release. (tags: framework merb ruby) Merb | Looking for a better framework? Celebrating the release of Merb 0.4 with a website for the framework ...
There have been rumours upon rumours that facebook was going to launch something for musicians soon, and that they were also readying a new advertising system. Today it turned out that not only were they doing both, but both are part of the same strategy. Announced by Leah Perlman on the Facebook blog, facebook’s new ads system breaks down into two parts: “Brands” can now create Facebook Pages, which combine some of the functionality of a personal profile with that of a group. For “brand” you can also read company, artist, campaign, or nearly anything else that might want to advertise. “Social Ads” allow Facebook to target ads at people based on their friends’ activities. So if I were to make a certain purchase, mark myself a fan of a band, or rent a given DVD, and facebook knows about it, facebook could tell my friends about that and sell them a related product. David Emery was quick to write up some thoughts on how this development could impact and help bands. While the immediate option to create a clear presence for something people might be “passionate about” is clearly significant, he’s absolutely right that it’s the “Social Ads” that have the potential to truly change the social advertising game as they leverage data more completely than has been done before. The intrusive possibility of them is potentially quite scary and as clear leaders in the field, we can only hope that facebook are making privacy central to this new approach. ...