On Thu, Jan 28, 2010 at 2:32 AM, Pedro Santos <[email protected]> wrote: > > > On Thu, Jan 28, 2010 at 5:37 AM, Garrett Smith <[email protected]> > wrote: >> >> On Wed, Jan 27, 2010 at 7:30 AM, Pedro Santos <[email protected]> wrote: >> > Hi, I'm have a question about the XmlHttpRequest, [...] >> Where did you see XHR object pooling? APE had that since 2007. > > I see it in Apache Wicket. By APE you mean Ajax Push Engine?
My, that is disturbing. I'm going to contact Apache about that. John Chavarria, desparate for SEO fame, copied my name, piggybacked off it, and hyped his Mootools-based garbage. APE JavaScript Library Framework, the real deal, not the knockoff, is hosted on GitHub HERE: http://github.com/GarrettS/ape-javascript-library/ The impostor followed me there, too. Don't be fooled by the dishonest marketing and copyright violations. The relevant part of Object pooling in APE is found here:- http://github.com/GarrettS/ape-javascript-library/blob/master/src/ajax/AsyncRequest.js#L76 Let make it > cleaner: [snip code] > It isn't an pool implementation. That is a true statement (code nits aside). >> >> An implementation (browser) may pool its own objects, so long as that >> is unobservable. >> > I know that. Although it is an complicated thing. I just wonder: what leads > him to decide return an object from an pool, instead of an created one, when > the javascript developer had used the 'new' operator. > If by "him", you meant "the implementation", then an anwser would be: Memory efficiency. If the program cannot tell the difference, then it makes no difference to the program. If that's not what you meant, then please clarify. >> >> > The problem is that the error flag get true, and the devs tools report >> > the >> > request with error. Can it be done in other ways? >> > >> Which tool? > > Mozilla firebug I have not seen such error. When I run AsyncRequest-test.html, I see that the request was aborted. POST http://192.168.0.101:8020/ape/test/tests/ajax/data.json.txt Aborted If you dislike the display of that error message, then that is a firebug-issue. I have added the firebug discussion group as CC. Regards, Garrett -- You received this message because you are subscribed to the Google Groups "Firebug" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/firebug?hl=en.
