{"id":21,"date":"2021-08-04T15:32:00","date_gmt":"2021-08-04T14:32:00","guid":{"rendered":""},"modified":"2024-09-21T00:31:53","modified_gmt":"2024-09-20T23:31:53","slug":"what-is-ajax","status":"publish","type":"post","link":"https:\/\/debuggersspace.com\/index.php\/2021\/08\/04\/what-is-ajax\/","title":{"rendered":"What is AJAX? Advantages &#038; disadvantages?"},"content":{"rendered":"<div class='booster-block booster-read-block'>\n                <div class=\"twp-read-time\">\n                \t<i class=\"booster-icon twp-clock\"><\/i> <span>Read Time:<\/span>58 Second                <\/div>\n\n            <\/div><p><span style=\"font-family: inherit;\">\u00a0<span style=\"background-color: white; box-sizing: border-box; color: #212121; text-align: justify;\">Asynchronous JavaScript and XML (AJAX) is a\u00a0<\/span><span style=\"background-color: white; box-sizing: border-box; color: #212121; text-align: justify;\">development technique used to create interactive web applications or\u00a0<\/span><span style=\"background-color: white; box-sizing: border-box; color: #212121; text-align: justify;\">rich internet applications. AJAX uses a number of existing technologies\u00a0<\/span><span style=\"background-color: white; box-sizing: border-box; color: #212121; text-align: justify;\">together, including: XHTML, CSS, JavaScript, Document Object Model, XML, XSLT,\u00a0<\/span><span style=\"background-color: white; box-sizing: border-box; color: #212121; text-align: justify;\">and the XMLHttpRequest object.<\/span><\/span><\/p>\n<p><span style=\"font-family: inherit;\"><br style=\"background-color: white; box-sizing: border-box; color: #212121; text-align: justify;\" \/><span style=\"background-color: white; box-sizing: border-box; color: #212121; text-align: justify;\">With AJAX, web applications can retrieve data from the server asynchronously,\u00a0<\/span><span style=\"background-color: white; box-sizing: border-box; color: #212121; text-align: justify;\">in the background, without reloading the entire browser page. The use of AJAX\u00a0<\/span><span style=\"background-color: white; box-sizing: border-box; color: #212121; text-align: justify;\">has led to an increase in interactive animation on web pages.<\/span><\/span><\/p>\n<div>\n<div style=\"box-sizing: border-box; color: #212121; font-family: inherit; text-align: start;\"><strong style=\"box-sizing: border-box;\"><span style=\"box-sizing: border-box;\">Ad<\/span><\/strong><strong style=\"box-sizing: border-box;\"><span style=\"box-sizing: border-box;\">vantages<\/span><\/strong><\/div>\n<div style=\"box-sizing: border-box; color: #212121; font-family: inherit; text-align: start;\">\n<ul style=\"box-sizing: border-box;\">\n<li style=\"box-sizing: border-box;\">Reduces the traffic travels between the client and the server.<\/li>\n<li style=\"box-sizing: border-box;\">No cross browser pain.<\/li>\n<li style=\"box-sizing: border-box;\">Better interactivity and responsiveness.<\/li>\n<li style=\"box-sizing: border-box;\">With AJAX, several multi purpose applications and features can be handled using a single web page(SPA).<\/li>\n<li style=\"box-sizing: border-box;\">API&#8217;s are good because those work with HTTP method and JavaScrtipt.<\/li>\n<\/ul>\n<\/div>\n<p><strong style=\"box-sizing: border-box; color: #212121; font-family: inherit; text-align: start;\"><span style=\"box-sizing: border-box;\">Disadvantages<\/span><\/strong><\/p>\n<div style=\"box-sizing: border-box; text-align: start;\">\n<ul style=\"box-sizing: border-box; color: #212121; font-family: inherit;\">\n<li style=\"box-sizing: border-box;\">Search engines like Google would not be able to index an AJAX application.<\/li>\n<li style=\"box-sizing: border-box;\">It is totally built-in JavaScript code. If any user disables JS in the browser, it won&#8217;t work.<\/li>\n<li style=\"box-sizing: border-box;\">The server information can not be accessed within AJAX.<\/li>\n<li style=\"box-sizing: border-box;\">Security is less in AJAX applications as all the files are downloaded at client side.<\/li>\n<li style=\"box-sizing: border-box;\">The data of all requests is URL-encoded, which increases the size of the request.<\/li>\n<\/ul>\n<div><\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u00a0Asynchronous JavaScript and XML (AJAX) is a\u00a0development technique used to create interactive web applications or\u00a0rich internet applications. AJAX uses a number of existing technologies\u00a0together, including: XHTML, CSS, JavaScript, Document Object Model, XML, XSLT,\u00a0and the XMLHttpRequest object. With AJAX, web applications can retrieve data from the server asynchronously,\u00a0in the background, without reloading the entire browser page. [&hellip;]<\/p>\n","protected":false},"author":43,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","footnotes":""},"categories":[15,146,23,77,65],"tags":[151],"class_list":["post-21","post","type-post","status-publish","format-standard","hentry","category-net-core-3-1","category-net-interview-qa","category-asp-net","category-important","category-microsoft","tag-ajax"],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"Himanshu Namdeo","author_link":"https:\/\/debuggersspace.com\/author\/admin\/"},"uagb_comment_info":0,"uagb_excerpt":"\u00a0Asynchronous JavaScript and XML (AJAX) is a\u00a0development technique used to create interactive web applications or\u00a0rich internet applications. AJAX uses a number of existing technologies\u00a0together, including: XHTML, CSS, JavaScript, Document Object Model, XML, XSLT,\u00a0and the XMLHttpRequest object. With AJAX, web applications can retrieve data from the server asynchronously,\u00a0in the background, without reloading the entire browser page.&hellip;","_links":{"self":[{"href":"https:\/\/debuggersspace.com\/index.php\/wp-json\/wp\/v2\/posts\/21"}],"collection":[{"href":"https:\/\/debuggersspace.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/debuggersspace.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/debuggersspace.com\/index.php\/wp-json\/wp\/v2\/users\/43"}],"replies":[{"embeddable":true,"href":"https:\/\/debuggersspace.com\/index.php\/wp-json\/wp\/v2\/comments?post=21"}],"version-history":[{"count":4,"href":"https:\/\/debuggersspace.com\/index.php\/wp-json\/wp\/v2\/posts\/21\/revisions"}],"predecessor-version":[{"id":633,"href":"https:\/\/debuggersspace.com\/index.php\/wp-json\/wp\/v2\/posts\/21\/revisions\/633"}],"wp:attachment":[{"href":"https:\/\/debuggersspace.com\/index.php\/wp-json\/wp\/v2\/media?parent=21"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/debuggersspace.com\/index.php\/wp-json\/wp\/v2\/categories?post=21"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/debuggersspace.com\/index.php\/wp-json\/wp\/v2\/tags?post=21"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}