In case you’re not yet familiar, the JavaScript Web Workers API is a feature that facilitates the execution of scripts in an independent background process, away from any UI related logic. It should be assumed that the Worker’s life-cycle is the same as the application that called it, as it comes with start-up and instance […]

Tagged:

The Facebook Thing Facebook has had a lot of press recently. Growing by a million users a day, playing the patent game like every other large corporation, seemingly constant legal-disputes over ownership, and to top it off.. the Facebook movie called “The Social Network” will be hitting the big-screen this October. A lot of people […]

Tagged:

As I become more and more obsessed with Quora, I’m finding more and more questions that I answer seem to feel right as standalone blog posts. The latest even includes an interesting discovery: What’s the cleanest way to intentionally and reliably return a jQuery object that selects nothing? There were two answers already posted to […]

Tagged:

I spent a good half hour writing an answer to a question on Quora today and I thought it was good enough to qualify as a blog post. The question was How do you implement object orientation in JavaScript? I’ll be honest, I was a little disappointed by the answers posted prior to mine, however […]

Tagged:

After spending the day finishing out cross-browser EventSource support in the form of jQuery.EventSource.js, then wrapping up with a commit of 55 new unit tests, I finally left the Bocoup Loft for the day around 8 o’clock… But as most developers know, no matter how hard you try, you just can’t leave this kind of […]

Tagged:

For those of you curious about what can be created or where to use the new JavaScript EventSource API (also known as “Server Sent Events” ) – I’ve developed a very basic chat application that uses jQuery.EventSource.js to provide a simple API to native EventSource where available (and a fallback when not) and Twitter @anywhere […]

Tagged:

I wrote a dead simple twitter search API implementation with jQuery for bocoup.com yesterday. Everything is explained in the comments. Hopefully this script helps you implement your own twitter feed. You can see the live demo running off to the right. jQuery.twitterFeed.js $(function(){ // Get the JSON of your twitter search, it helps to format […]

Tagged:

Popcorn.js, which I wrote about recently, is an infant javascript library that allows film makers to better showcase their videos on the web using html5’s video element. Using popcorn, directors can incorporating social media and integrate several features such as subtitles and credits that may be beneficial in the context of the web. Although typically, […]

Tagged:

I’m a jQuery enthusiast. Maybe even an evangelist. So I decided to make workers easy for my fellow jQuery developers – and thus was born the jQuery.Hive. Inititally it began it’s life as PollenJS a jQuery-looking library of functions that were light, useful and thread-safe. This was before the WebKit implementation existed so everything was […]

Tagged:

As I mentioned in Part I, the Web Worker API is available for use in Firefox 3.5+, Safari 4+ and Chrome 4+, however the implementations are inconsistant. This has been completely overlooked by every single tutorial I’ve found. The issue revolves around the accepted argument to postMessage() (from both the main window and the worker). […]

Tagged: