HTML5 Background tasks using Web Workers

One of the problems with running JavaScript in the browser is that everything usually executes on the same thread as the UI. With most scripts this is fine because they are short executing however if you start doing more complex calculations you might run into the vase where the UI becomes non responsive because of the JavaScript executing. And when that happens you will see one of these dialogs popup and you are at the mercy of the end user, not the best of places to be.   Update: Check out these live Simple Web Worker and Chunked Web Worker … Continue reading HTML5 Background tasks using Web Workers

Using jQuery from an HTML5 Web Worker

jQuery is one of the most useful frameworks out there for web development. And while most of jQuery is very much about working with the browser DOM there is also another side to it that makes doing networking real easy and that is all based around the $.ajax() and related, like the $.getJSON(), functions. Now HTML5 contains a real useful part in Web Workers for doing work that should not block the background thread. And using the XMLHttpRequest for network IO is fine in a Web Worker. Unfortunately however working with the DOM is not ok in the Web Worker, … Continue reading Using jQuery from an HTML5 Web Worker

HTML5 Presentatie slides en demo

De PowerPoint slides en de demo code van mijn HTML5 presentatie van gisteravond zijn nu beschikbaar.   Voor de liefhebbers ook online via SlideShare. HTML5 Overview View more presentations from Maurice Beijer Met dank aan 4DotNet die de sponsor was van deze bijeenkomst.   Enjoy!   [f1] [f2]

HTML5 in een vogelvlucht

De PowerPoint presentaties van mijn HTML 5 in een vogelvlucht sessie bij Achmea is hier te downloaden en de demo code hier. De presentatie is ook op SlideShare te vinden. HTML 5 in een vogelvlucht (Dutch) View more presentations from Maurice Beijer Enjoy! [f1] [f2]