Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Do people still use Ajax for a web applications?

I am programming a full ajax web application and did some research in frameworks for SEO and history tracking. I found this one: http://balupton.github.io/jquery-ajaxy/demo/

It looks great but the last update was 4 years ago. Do people still use something like that? Or is there an easier method out?

like image 698
brigitte Avatar asked Dec 11 '22 21:12

brigitte


2 Answers

Yes, AJAX (XHR) is used all the time in web pages. It is still the primary way that JavaScript in a web page makes an in-page request to a server.

There are now also WebSockets, but AJAX (XHR) and WebSockets have different characteristics for largely different purposes (with some overlap).

There is also now an additional interface fetch() for making Ajax calls which makes some things a lot easier than before and this interface is promise-based rather than just using plain callbacks.

like image 83
jfriend00 Avatar answered Dec 24 '22 04:12

jfriend00


The link that you send seems to be for a jQuery plugin called "Ajaxy". AJAX stands for Asynchronous JavaScript and XML, and is a technology supported by native JavaScript (ECMAScript). Yes, people still use Ajax for web applications. If you have ever submitted a form on a modern website, chances are it uses Ajax in some capacity.

like image 42
geoff Avatar answered Dec 24 '22 04:12

geoff