最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Do people still use Ajax for a web applications? - Stack Overflow

programmeradmin1浏览0评论

I am programming a full ajax web application and did some research in frameworks for SEO and history tracking. I found this one: /

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?

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?

Share Improve this question edited Jun 27, 2021 at 9:01 Ulysse BN 11.4k7 gold badges61 silver badges93 bronze badges asked Aug 8, 2015 at 19:07 brigittebrigitte 1191 gold badge2 silver badges5 bronze badges 5
  • Oh boy, they do. And I can only encourage you to exploit its benefits. – John Weisz Commented Aug 8, 2015 at 19:14
  • 2 That particular project doesn't seem to be very active any more, but yes, people do still use ajax and the history api all the time. – Bergi Commented Aug 8, 2015 at 19:16
  • 3 When you added tags to the question, AJAX (now a synonym with XHR+JSON in many context, as XML is rarely used in context) was used - it is how the autocomplete options were made available. Likewise, AJAX was used for adding this comment without needing to submit/refresh the entire page. – user2864740 Commented Aug 8, 2015 at 19:20
  • Check out Backbone.js. – user5192753 Commented Aug 8, 2015 at 19:28
  • Thanks for the answers! So, could I use Angular.js or Backbone.js to refresh sections in a web application? – brigitte Commented Aug 8, 2015 at 20:22
Add a comment  | 

2 Answers 2

Reset to default 16

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.

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.

发布评论

评论列表(0)

  1. 暂无评论