Moreover, most Web applications are designed for large numbers of customers with small amounts of customer support, and most Web applications are not used for hours a day, he said.Īlso, “You dont need to remember how an app works,” Bosworth said. The mistakes, he said, were misperceptions of the realities of the way people would use the technology.įor instance, Bosworth said a cardinal rule of his is KISS, or, in his words, “Keep It Simple and Stupid.” Gestures like tooling, icons, right-click and drag-drop are too obscure, he said. Yet, AJAX failed for a variety of reasons, including some “big mistakes.” “Now you hear about AJAX all the time, but this was built in 97,” Bosworth said. And we put all this stuff together so people could build thin-client applications.” “But we concluded we should go and build this thing. “Saying this at Microsoft back in 96 was roughly equivalent to throwing matches around in an oil refinery,” he said. “We sat down and took a hard look at what was going to happen with the Internet and we concluded, in the face of unyielding opposition and animosity from virtually every senior person at Microsoft, that the thick client was on its way out and it was going to be replaced by browser-based apps. “Back in 96-97, me and a group of people, many of whom are here at Google, helped build stuff that these days is called AJAX,” Bosworth said. zimages/1/28571.gif Click here to read about why many major online retailers have been reluctant to adopt AJAX. However, the physics of the technology was only one of the factors holding AJAX back. Had chips been a little faster and broadband been more ubiquitous, AJAX might have caught on a lot faster. Indeed, speed or lack thereof has played a role in hampering the success of various software innovations, including AJAX, Bosworth said. And “a lot of it had to do with Tom Cruise,” Bosworth said, citing the actors line in the movie “Top Gun” where Cruise says, “I feel the need, the need for speed.” “The reason, on reflection, turned out to largely depend on physics and human psychology,” he said. 29.īosworth said he has been building software for about 30 years and “not all of it works” all the time. Bosworth spoke at Googles offices here as part of the Google NYC Speaker Series on Jan. In a talk entitled “Physics, Speed and Psychology: What Works and What Doesnt in Software, and Why,” Bosworth, a vice president at Google, discussed why technologies such as AJAX (Asynchronous JavaScript and XML), PDAs and natural language failed to catch on in the past but are successful today. In above example, ajax call will load HTML response from URL html-response.html and then it will execute jQuery ID selector of response for id=someDiv and then it will insert the result HTML into innerHTML of loadTarget.NEW YORK-When it comes to software development, Googles Adam Bosworth has a need for speed. $("#loadTarget").load("html-response.html #someDiv") If you append a space + jQuery selector string after the url then load() will only inserted the part of the loaded HTML matching the selector. You can also insert just only a part of the HTML loaded. $("#loadTarget").load("html-response.html") It’ a simple HTTP GET method in the background which fetches some HTML from server and insert it into element’s DOM. JQuery load() function loads some HTML via AJAX and inserts it into the selected element. The syntax for using this function is: $.ajax( This function is used to perform HTTP requests which are by default asynchronous. In the root of jQuery Ajax is ajax() function. Asynchronous Communication jQuery Ajax Global Event Handlers $.ajaxSend() $.ajaxStart() $.ajaxStop() $.ajaxSuccess() $.aja圎rror() $.ajaxComplete() Using $.ajaxSetup() to Globalize Parameters Using $.ajaxPrefilter() to filter Ajax Requests Other Ajax Powered Functions in jQuery $.get() and $.post() Functions $.load() Function $.getScript() XHR (XMLHttpRequest) Invoking jQuery Ajax HTTP Methods Synchronous vs. $.ajax() Method jqXHR (jQuery XMLHttpRequest) vs. Learn to utilize the full power of AJAX with jQuery to make application development easy, fast as well as effective.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |