On Fri, Jul 6, 2012 at 12:51 PM, Aymeric Vitte <[email protected]> wrote: > OK, then are there objections to the async System.download(url,callback) ?
This is just a version of XHR, but with a different cross-origin policy? Or the same cross-origin policy? The latter seems useless, and the former unlikely. > > Le 06/07/2012 17:09, Russell Leggett a écrit : > > On Fri, Jul 6, 2012 at 10:58 AM, Aymeric Vitte <[email protected]> > wrote: >> >> >> >>>> >>> >>> Do we have a survey of the use of sync against async ? I think it would >>> show that sync is much more used (wrongly or easy way again, but...). >> >> >> I completely disagree with this. Most developers without the >> knowledge/skill to know why sync is bad are just going to use a library like >> jQuery - which uses async. I'm not aware of any major library that uses sync >> as a default for their ajax api or uses sync in their own code. >> >> - Russ >> >> >> I am not refering to libraries but to developers/sites that indeed are >> using libraries and then feel (usually wrongly) necessary to extend it with >> unofficial/not good libraries or their own and then add some stuff around >> that usually is sync, as far as I saw debuging node-dom or looking at usual >> web sites > > > I'm not saying people don't do it, I was saying that the percentage is > likely far smaller than you claim. Perhaps I'm deluding myself. Anyway, I > don't think we should cater to something that is considered bad practice. As > Brendan has said, lets lead the horses away from the rotting vegetables with > better carrots. > > - Russ > >> >> >> -- >> jCore >> Email : [email protected] >> Web : www.jcore.fr >> Webble : www.webble.it >> Extract Widget Mobile : www.extractwidget.com >> BlimpMe! : www.blimpme.com >> >> >> > > > -- > jCore > Email : [email protected] > Web : www.jcore.fr > Webble : www.webble.it > Extract Widget Mobile : www.extractwidget.com > BlimpMe! : www.blimpme.com > > > -- sam th [email protected] _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

