Re: Wrapped implementations of XHR in script

> The former doesn't really help interoperability, the latter has never been
> a goal.


I thought so. Nevertheless I'm bringing this up since it seems valuable.
Consider this scenario.

a. An app is written using some JSF component toolkit that uses XHR for most
of its functionality. The toolkit uses a factory to fetch an instance of
XHR.

b. The app is now being aggregated (at the UI level) into another app.

The mechanism I described in the use case would let the first app work
stand-alone (a) or aggregated (b), without modifications. In the case of
(a), the app would get a native/default impl of XHR. In the case of (b), the
aggregating app would provide a script implementation of XHR.

Regards,
Subbu

-- 
------------------------------
http://www.subbu.org

Received on Friday, 13 October 2006 12:18:33 UTC