21 posts tagged “xmlhttprequest”
2012
How do you change page content and URL without reloading the whole page?
This can only be done using JavaScript. You use XMLHttpRequest to pull in new information from the server (also known as Ajax—most people use a JavaScript library such as jQuery to handle this) and then use the HTML5 history API, in particular the pushState method, to update the URL.
[... 133 words]2009
flXHR. I was looking for something like this recently, glad to see it exists. flXHR is a drop-in replacement for regular XMLHttpRequest which uses an invisible Flash shim to allow cross-domain calls to be made, taking advantage of the Flash crossdomain.xml security model.
rather baffling finding: POST requests, made via the XMLHTTP object, send header and body data in separate tcp/ip packets [and therefore,] xmlhttp GET performs better when sending small amounts of data than an xmlhttp POST
2008
Reading binary files using Ajax. There’s a simple trick for Firefox, and (amazingly) you can get IE to play along using a function written in VBScript.
Cross-Site XMLHttpRequest (via) “Firefox 3 implements the W3C Access Control working draft, which gives you the ability to do XMLHttpRequests to other web sites”—you can mark a document as available for cross-domain requests using either an Access-Control HTTP header or an XML processing instruction.
2007
The Future of Comet: Part 1, Comet Today. Absolutely the best summary I’ve seen of all of the current Comet techniques in one place.
Ten New Things in WebKit 3. Does “incremental updates for persistent server connections” for XMLHttpRequest mean Safari now has native support for Comet?
Which is the real explanation of where the name XMLHTTP comes from- the thing is mostly about HTTP and doesn't have any specific tie to XML other than that was the easiest excuse for shipping it so I needed to cram XML into the name (plus- XML was the hot technology at the time and it seemed like some good marketing for the component).
2006
XMLHttpRequests using an IFrame Proxy (via) Another scary hack abstracted away by Dojo.
The XMLHttpRequest Object (via) A W3C Working Draft.
2005
Understanding the Greasemonkey vulnerability
If you have any version of Greasemonkey installed prior to 0.3.5, which was released a few hours ago, or if you are running any of the 0.4 alphas, you need to go and upgrade right now. All versions of Greasemonkey aside from 0.3.5 contain a nasty security hole, which could enable malicious web sites to read any file from your hard drive without you knowing.
[... 809 words]Why the term Ajax is useful
Software design patterns are useful mainly because they provide a shared vocabulary: rather than discussing the intimate details of a three layered application architecture, we say “MVC”. Rather than describing an object that tracks your progress while looping over a collection, we say “Iterator”.
[... 152 words]Combining XMLHttpRequest and Rails to Produce More Efficient UIs. Ruby on Rails is setting itself up to be THE framework for Ajax work.
map.search.ch (via) Unbelievably slick XMLHttpRequest powered map interface.
2004
xmlhttprequest.cpp. The source code for Safari’s XMLHttpRequest implementation; for the curious.
Google Suggest (via) Google with auto-complete. XMLHttpRequest magic.
Opera 7.60 Preview 1 Changenotes. XMLHttpRequest + other goodies.
XMLHttpRequest is coming to Opera! (via) It’s already in IE, Mozilla and Safari—Opera completes the set.
Spotlight-like livesearch added (via) XmlHTTPRequest strikes again!
Using the XML HTTP Request object (via) Recently updated to include Safari as well.
XMLHttpRequest and Javascript Closures. Harry gets intimate with Mozilla’s XMLHttpRequest object.