Author Archives: James McParlane

Unknown's avatar

About James McParlane

CTO Massive Interactive. Ex Computer Whiz Kid - Now Grumpy Old Guru.

IE, Closures, Leaks

[UPDATE] I have updated this with information gleaned from http://jibbering.com/faq/faq_notes/closures.html on the true nature of closures and performed an experiment. Its worse than I thought. The ‘shotgun’ nature of scope closure in JavaScript means that its very easy to write leaky … Continue reading

Posted in JavaScript | 1 Comment

More Bigpond Windows Media Center V8 Goodness

Making progress on the synchronisation algorithm. Compared to last rounds effort, this round was a lot closer. I’m definitely on the right track and the algorithm is converging faster. Now able to synchronise all four feeds together Live TV, Streaming … Continue reading

Posted in Massive | 2 Comments

W3C Event Emulation, Now Supports 'stopPropagation' and 'cancelBubble'

My addEvent replacement now supports the full emulation of W3C standard cancelBubble and stopPropagation in event capture and bubbling mode in browsers that don’t support W3C events (IE, Opera). Here is a test case. If someone can break this and … Continue reading

Posted in JavaScript, MetaWrap Server | Leave a comment

My Entry For The QuirksMode addEvent() Recoding Contest

Here is my entry for the QuirksMode addEvent() recoding contest. Its not the smallest or simplest, but this was a project that I started before the competition was announced and its main purpose is to solve a much larger problem. My … Continue reading

Posted in JavaScript | 2 Comments

IE Memory Leaks Demystified

At last a resource that describes exactly how memory leaks occur in IE, written by the only people qualified to know, Microsoft. “In the past, memory leaks haven’t posed huge problems for Web developers. Pages were kept relatively simple and … Continue reading

Posted in JavaScript | Leave a comment

An XSLT In the Cache is Worth Two On The Server – More MetaWrap Rendering Pipeline Thoughts

Good documentation is a battle between telling a memorable fable and overloading people with detail. I’ve sat down and drawn another diagram (see below) of the MetaWrap rendering pipeline as I’m still in the process of mulling over the design. … Continue reading

Posted in JavaScript, MetaWrap Server, Web2.0 | Leave a comment

And The Winner Of The QuirksMode addEvent() Recoding Contest Is…

Not me – and there is a slight twang of disappointment, but its hardly so very surprising – the competition was simply to recode addEvent, and my solution was for the entire class of event registration problems that plague all … Continue reading

Posted in JavaScript | 2 Comments

XML XSLT XHTML JS Pipeline

Someone else who is on the same wavelength but can make much better diagrams 🙂 http://particletree.com/features/4-layers-of-separation/  

Posted in JavaScript | Leave a comment

Event Ordering On Input

Glad that someone has gone off and done this. http://h3h.net/2005/04/faulty-firing/ This is part of the knowledge that I need to acquire if I am ever to get the JavaScript macro recorder to work consistently. The next stage of development is to complete the … Continue reading

Posted in JavaScript | Leave a comment

More On The MetaWrap URL Format

If you have noticed the MetaWrap test server has been up and down for last few weeks. Its because I have been playing with the Apache module. Finally got the framework compiling again under Linux. Win32 Apache was easy. Getting the new version … Continue reading

Posted in MetaWrap Server | Leave a comment