5 ms·
And explains XmlHttpRequest, also from Microsoft.
by ponker 6y ago
And explains XmlHttpRequest, also from Microsoft.
- asddubs 6y agostill the only way to do requests with progress bars
- unilynx 6y agoThey had to sneak that one into IE through the MSXML library. http://web.archive.org/web/20070210004825/http://www.alexhopmann.com/xmlhttp.htm http://web.archive.org/web/20070210004825/http://www.alexhop...
- kevincox 6y agoYou mean XMLHttpRequest. The two acronyms are capitalized differently for added quality.
- ponker 6y agoI loled
- TedDoesntTalk 6y agoI started using XmlHttpRequest immediately when I saw it documented somewhere at MS, probably MSDN. It was before google used it for auto-complete, and before I'd seen it being used anywhere, in fact. I'm sure other small pockets of developers were using it, but sites like StackOverflow, HackerNews, Twitter, etc didn't really exist to share such things. Slashdot was around, but I never saw it discussed there. My team was blown away when I delivered pages that dynamically changed with fresh data without the user having to interact with it, and without page refreshes or auto-refreshed iframes. Of course it only worked in IE but that was OK. The server-side data format I chose was XML since that was in vogue.
- jlokier 6y agoYou could even do that before XmlHttpRequest, and on non-MS browsers. But it was unusual for anyone to bother. People mostly didn't think of it until XHR became popular.
- TedDoesntTalk 6y agoUh, how?
- sergeykish 6y agoThere was RSExecute, claimed to work with IE3+ and NN3+. IE4 implemented XML Data Islands with Java Applets, anyone could do it. MSXML XMLHTTP was ActiveX component, as was one of the crossorigin tools - Flash, anyone could do it. I have to check JSONP support.
- TedDoesntTalk 6y ago> anyone could do it Plugins like flash and java applets were non-starters for many enterprises. XML Data Islands, as I recall, did not do any network requests. They were chunks of XML. Anyone could not do network requests with XML Data Islands. RSExecute... I looked it up. Ok I stand corrected although it is not clear when that was released for IE. JSONP? What? JSON did not exist back then. Are you trolling?
- sergeykish 6y agoRSExecute: I've got Microsoft Scripting Libary 1.0a > Copyright 1999 Microsoft Corporation. All Rights Reserved. Versions above are from the article [1]. XML Data Islands network requests: <OBJECT width=0 height=0 classid="clsid:550dda30-0541-11d2-9ca9-0060b0ec3d39" id="xmldso"> </OBJECT> <SCRIPT for=window event=onload> var doc = xmldso.XMLDocument; doc.load("books.xml"); JSONP: I've referred it as an idea of loading data in remote <script> callback. >>>> You could even do that before XmlHttpRequest MSXML is just a widely deployed ActiveX control, not part of the browser like favicon. Anyone could implement it or java applet. [1] https://daurril.org/wrox/ASPToday/990930-191.htm https://daurril.org/wrox/ASPToday/990930-191.htm
- jlokier 6y agoJSONP, or the iframe equivalent. I know, you're thinking JSON didn't exist back then, I must be trolling. I'm not, and it did! JSON is short for "JavaScript Object Notation". With rare exceptions, it's valid JavaScript already! So JSONP only needs pure JavaScript, nothing else. However, back then it wasnt necessary to use object notation at all. As it was returning a script to run, the script could just call functions directly instead of assembling an object. Aside from JavaScript, people also used a Java applet or Flash to do the communication (faster than JSONP) as most browsers had at least one of those installed. Java and Flash could both be called from JavaScript.