{"id":17676,"date":"2016-09-05T16:06:26","date_gmt":"2016-09-05T16:06:26","guid":{"rendered":"http:\/\/www.oracletutoring.ca\/blog\/?p=17676"},"modified":"2024-05-03T18:02:44","modified_gmt":"2024-05-03T18:02:44","slug":"web-programming-ajax-the-current-price-of-oil","status":"publish","type":"post","link":"https:\/\/www.oracletutoring.ca\/blog\/web-programming-ajax-the-current-price-of-oil\/","title":{"rendered":"Web programming:  AJAX"},"content":{"rendered":"\n<h1>Self-tutoring about web programming terms: the tutor mentions AJAX.<\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">I understand AJAX to be an acronym: Asynchronous Javascript and XML. I&#8217;m not sure it necessarily involves xml.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The data model behind AJAX is that a user clicks a button on the webpage, then information is retrieved from another resource as a result: finally that information is piped into an element on the webpage. Therefore, some content of the webpage changes to information from another resource. Yet, the surrounding page doesn&#8217;t change.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Ideally, the remote resource is encoded in xml format. XML is for organizing information, not displaying it; picking specific information from an xml document is convenient.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I&#8217;ve read about what <em>asynchronous<\/em> means; it&#8217;s not a very dramatic part of the AJAX definition. Apparently it just means that the retrieved information appears &#8220;whenever it arrives&#8221; rather than timed according to some other event(s). It&#8217;s compared to &#8220;synchronous,&#8221; where events must happen in a specific order.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">AJAX is a big topic. I&#8217;ll be discussing aspects of it in future posts:)<\/p>\n\n\n\n<p>Source:<\/p>\n<p>Ballard, Phil and Michael Moncur. <em>Ajax, Javascript and PHP<\/em>. Indianapolis: SAMS, 2009.<\/p>\n<p>\n<a href=\"https:\/\/www.mendix.com\/blog\/asynchronous-vs-synchronous-programming\/#:~:text=Asynchronous%20is%20a%20non%2Dblocking%20architecture%2C%20so%20the%20execution%20of,on%20to%20the%20next%20iteration.\">mendix.com<\/a>\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Jack of <a href=\"https:\/\/www.oracletutoring.ca\">Oracle Tutoring by Jack and Diane,<\/a> Campbell River, BC.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Self-tutoring about web programming terms: the tutor mentions AJAX. I understand AJAX to be an acronym: Asynchronous Javascript and XML. I&#8217;m not sure it necessarily involves xml. The data model behind AJAX is that a user clicks a button on &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/www.oracletutoring.ca\/blog\/web-programming-ajax-the-current-price-of-oil\/\"> <span class=\"screen-reader-text\">Web programming:  AJAX<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1855],"tags":[1865,1867,1866],"class_list":["post-17676","post","type-post","status-publish","format-standard","hentry","category-web-programming","tag-ajax","tag-ajax-acronym","tag-definition-of-ajax"],"_links":{"self":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/17676","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/comments?post=17676"}],"version-history":[{"count":39,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/17676\/revisions"}],"predecessor-version":[{"id":47227,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/17676\/revisions\/47227"}],"wp:attachment":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/media?parent=17676"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/categories?post=17676"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/tags?post=17676"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}