new flXHR demos posted
I’ve put up two new demos…
1. Demo #11 (a, b, and c) is a demo showing integration with jQuery… it uses a patched version of jQuery 1.2.6 which I was able to convince the jQuery dev team to make. Hopefully the next release of jQuery will include the patch so everyone can share in the joy that is flXHR. It operates under the same premise as the other framework integration demos.
2. Demo #12 is an interesting demo… it shows actually a more brute force way of adapting flXHR into a page. It literally overwrites the native XHR object (and for IE, the ActiveXObject instantiator) and forces a flXHR instance to be returned instead.
This is useful for any scenario where there’s no way to adapt a set of code to use a different XHR, but you still want to use flXHR. For instance, the DWR framework has a similar restriction to what jQuery (without the patch) has, which is that it exposes no way to override the transport creation.