XmlHttpRequest
Wednesday, August 18th, 2010
Category: XmlHttpRequest
(Photo CC-A by JSConf) The ever prolific Michael Mahemoff has a nice blog post up about using Cross-Origin Resource Sharing to do cool cross site scraping, especially of microformats: Cross-Origin Resource Sharing makes it possible to do arbitrary calls from a web page to any server, if the server consents. It’s a typical HTML5 play: Read the rest…
Wednesday, April 14th, 2010
Category: XmlHttpRequest
Mike Belshe of Google Chrome and SPDY posted on a proposal for XMLHttpRequest Priority: Every performant web browser implementation today implements various heuristics for resource loading prioritization internally. The notion is simple, that loading some resources, such as images, are less performance critical than loading other resources, such as external style sheets. By implementing basic Read the rest…
Monday, January 11th, 2010
Category: JavaScript
, jQuery
, JSON
, XmlHttpRequest
, Yahoo!
OK, this is nothing shockingly new, but I found it pretty useful. Using jQuery, Ajax has become more or less a one-liner: < View plain text > javascript $(document).ready(function(){ $(‘.ajaxtrigger’).click(function(){ $(‘#target’).load($(this).attr(‘href’)); return false; }); }); This loads the document any link with a class of “ajaxtrigger” points to and Read the rest…
Wednesday, March 18th, 2009
Category: Examples
, JSON
, Performance
, XmlHttpRequest
, Yahoo!
Over at the Flickr development blog, Ross Harmes, one of those lesser sung JavaScript heroes explains in detail how Flickr creates really fast client side searches and one of the implementations of these findings is the newly released find people faster feature: The main findings of the team were that eval() is not only evil Read the rest…
Friday, August 1st, 2008
Category: XmlHttpRequest
Kris Zyp is really leading the charge on various missions such as JSON-* and XHR-*. This time he has a posting on a new cross-site XHR plugin repository that wraps up the myriad of techniques that are both pending in standards (XDomain, XHR++) and work arounds (window.name, magic iframe hackery). It also falls back to Read the rest…
Friday, June 27th, 2008
Category: Security
, XmlHttpRequest
There is a thread going on secure cross domain requests. Microsoft came out with a paper saying that the W3C standard isn’t secure, and pushing the Microsoft XDR spec: A few proposals and implementations exist like XDomainRequest in IE8, JSONRequest and the W3C’s Web Applications Working Group’s Cross Site XMLHttpRequest (CS-XHR) draft specification, which combines Read the rest…
Friday, April 18th, 2008
Category: Browsers
, IE
, XmlHttpRequest
Kris Zyp gives us a glimpse at a potential future with his 100 line Ajax wrapper that tries to do the right thing cross browser for the various cross-domain models: With IE8’s new XDomainRequest feature, a new API is added for cross-site requests, instead of using the W3C cross-site access proposal. Just for fun, I Read the rest…
Wednesday, April 16th, 2008
Category: Standards
, XmlHttpRequest
The W3C has issued a last call on the XMLHttpRequest spec: The Web API Working Group has published the Last Call Working Draft of The XMLHttpRequest Object. The XMLHttpRequest Object specification defines an API that provides scripted client functionality for transferring data between a client and a server. Comments are welcome through 2 June. Learn Read the rest…
Tuesday, April 15th, 2008
Category: Dojo
, XmlHttpRequest
Neil Roberts goes into the XHR Plugins that Dojo uses and how you can extend the system to have your own. If you look at dojo.xhrGet you will see “Acceptable values are: text (default), json, json-comment-optional, json-comment-filtered, javascript, xml”, but: What you may not know is that the handleAs parameter is merely a way of Read the rest…
Thursday, January 10th, 2008
Category: Security
, XmlHttpRequest
John Resig has written up documentation of Cross-Site XMLHttpRequest that discusses the W3C Access Control working draft which Firefox 3 implements. He gives us a nice example: In a nutshell, there are two techniques that you can use to achieve your desired cross-site-request result: Specifying a special Access-Control header for your content or including an Read the rest…
Wednesday, November 21st, 2007
Category: Security
, XmlHttpRequest
The W3C has a new proposal titled Enabling Read Access for Web Resources which defines access control primitives to be used for cross domain XHR. You can set control via a HTTP header: < View plain text > HTML Access-Control: allow < *.example.org> exclude < *.public.example.org> or an XML processing instruction: < View plain text Read the rest…
Friday, September 15th, 2006
Category: Programming
, Toolkit
, XmlHttpRequest
According to Harry Fuecks in this post on the SitePoint PHP blog, using Ajax should be easier: The Catch 22 of AJAX is, for the sake of an easy life, most of the time we want to write “synchronous code†but asynchronous is the only way to avoid some rather nasty usability issues. This means Read the rest…
Wednesday, August 9th, 2006
Category: Ajax
, Security
, XmlHttpRequest
Chris Shiflett has posted his look today at cross-domain Ajax requests and some of the security implications that can come with it, especially in a world where more and more developers are beginning to think it’s okay. Since the birth of Ajax (the term, not the technology), there has been an increasing interest in various Read the rest…
Friday, July 28th, 2006
Category: IE
, XmlHttpRequest
MS announced this week that IE7 will be pushed as a high-priority update, so we can expect it to be popular pretty quickly. Reader Shawn Lauriat brought our attention to the question: How native is IE7’s XMLHttpRequest? The IE team have promoted the new IE7 as including native XMLHttpRequest. This is the case, insofar as Read the rest…
Monday, July 24th, 2006
Category: PHP
, XmlHttpRequest
On his blog, Jacob Santos has written up two simple “gotchas” that he’s come across in his PHP/XMLHttpRequest adventures and wanted to share with other developers forging their way through the same experience. I didn’t find the AJAX frameworks much use while I was working on my current project. I’m sure they are well thought Read the rest…
Thursday, July 20th, 2006
Category: IE
, XmlHttpRequest
Sleepyhead has posted a quick note about the XMLHttpRequest support in Internet Explorer 7, some bad news – it’s case-sensitive. The native XMLHttpRequest object in IE7 is case-sensitive. This is no big surprise – however that was not the case with the XMLHttpRequest active-x object in earlier versions of IE. So if you have old Read the rest…