What can we replace in the technology and keep in Ajax? If we replace JavaScript by another language, is it always Ajax?
The term Ajax is a set of standard techniques for creating dynamic pages, but it coexists with other techniques such as iframes and newer technologies to exchange data with the server, such as Fetch and WebSocket.. A key aspect is being a standard. Replacing JavaScript with another language, would lose that status in Ajax. However, technologies that make up Ajax are evolving and thus it will evolve too of be replaced.
The question is often asked whether Ajax can use another client-side language that JavaScript, therefore whether we are still in Ajax with another programming language.
As defined in the article by J.J. Garrett, Ajax relies on JavaScript, because it is standard and works on all browsers. There are other client side languages, but applications that use them do not have this quality, we can not talk about Ajax in this case.
Evolution of Ajax is in fact inevitable because Ajax is a combination of technologies that themselves are improved over times:
Ajax does not therefore designate something rigid, even if we stick to components originally described in the article by J. J. Garrett (see link below).
Finally, Ajax is replaced by a more powerful protocol, WebSocket, allowing interactions between client and server at the initiative of either party. Another function, Fetch, relies on Promise and simplify the interaction. However, the XHR object does not become obsolete and remains useful if you want your scripts working on all browsers inclunding the older ones.
Ajax, a new approach to web applications The article that has coined the term Ajax and popularized its use.