Archive for the ‘Web’ Category.

Introduction to Event-Driven Programming and the Reactor Design Pattern

I gave this 5mn lightning talk to my team:

Presentation on Scribd

I will post more on the subject in the future:

One of my personal project involves PubSubHubbub and EventMachine and I’m becoming curious|excited about Javascript’s Node.JS.

Testing flash.now with rspec

I’ve spent a couple of hour trying to test a Rails controller. More specifically one of the action is suppose to display flash.now notice and I want to test that and it works. It took me awhile and some googling to realise that the content of a flash.now is deleted after the action, so that you cannot test it the same way as a normal flash (that last for the duration of the current action and the next one).

I came an across an elegant solution  to this problem as decribed on this blog.

Microformats and Safari

Firefox users have been able to use microformats-enabled web sites (like the schedules on Upcoming or BBC Programmes) for a long time thanks to a couple of extensions (Operator and Tails Exports).

Now coming alongside the release of Safari 3.1, there’s a new Safari plugin that allow the parsing of microformats for integration in various Mac OS X applications (Adress book, iCal).

For Mac OSX users, the integration with Address Book and iCal could make Safari a better microformat reader than Firefox. I cannot test the plugin myself as I don’t have Leopard which is a requirement.

Alternatively the latest version of my feed reader NetNewsWire can also parse microformats but it requires you (obviously by the very definition of microformats) to render the web page in Netnewswire not just the summary.

Safari 3.1 is available for Tiger and Windows though.