links for 2007-11-27

赖洪礼的 blog » Rails 2.0, cookie session store and security Looking at the security implications of the new session storage which becomes the default in Rails 2.0 (tags: cookies rubyonrails security sessions) Radiant Core: Blog: Deconstructing Facebook Beacon JavaScript Facebook Beacon is the technique facebook is using to allow partner sites to report your activity back to facebook. It’s an interesting approach, but the approach to privacy is woefully lacking. (tags: beacon crossdomain facebook javascript privacy) Steve Lawson: Facebook for musicians - a jumbled mess? ...

November 27, 2007

links for 2007-11-25

Headstar E-Government Blog » Bristol adds to its e-democracy toolkit A video interview with Carol Hayward, Bristol City Council’s “Corporate Consultation Manager.” Some of their online strategies aimed at engaging young people are actually attracting an older demographic than expected. The internet’s not just for (tags: bristol edemocracy localgovernment participationtools) ies4osx Install various versions of IE on OS X without windows. Useful for layouts, but not really fast enough for testing usability/javascript/etc. (tags: browsertesting ie4osx internetexplorer osx) Headstar E-Government Blog » Why innovators and local authorities may not get on ...

November 25, 2007

links for 2007-11-24

DSL Book WIP Martin Fowler’s working on a book about Domain Specific Languages, and sharing some insights into the process as he goes (tags: book dsl martinfowler writing) howshouldivote.com.au Helping Australians analyse their candidates (tags: australia edemocracy participationtools) No Limits With RETS (Yahoo! Developer Network blog) An XML standard for distributing real estate data. I’ve worked enough with such systems to know it’s much needed, but can’t imaging I’ll be using it in the near future as I don’t work with them any more. ...

November 24, 2007

Converting HTML to Textile with Ruby

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. ...

November 23, 2007

Generating an accessible tag cloud with drupal

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. ...

November 23, 2007

links for 2007-11-22

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. ...

November 22, 2007

Book Review: Pro Drupal Development

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. ...

November 20, 2007

Assessing Drupal as a Rails developer

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. ...

November 19, 2007

links for 2007-11-18

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 ...

November 18, 2007

Book Review: Practical JRuby on Rails Web 2.0 Projects

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. ...

November 16, 2007