Có gì mới?

Welcome to Tạp Chí CNTT & Truyền Thông

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Ajax

china

Administrator
Tham gia
19/11/08
Bài viết
9,013
Điểm tương tác
23
Điểm
38
Tuổi
38
Website
tapchiict.com
Ajax is a combination of Web development technologies used for creating dynamic websites. While the term "Ajax" is not written in all caps like most tech acronyms, the letters stand for "Asynchronous JavaScript And XML." Therefore, websites that use Ajax combine JavaScript and XML to display dynamic content.

The "asynchronous" part of Ajax refers to the way requests are made to the Web server. When a script sends a request to the Web server, it may receive data, which can then be displayed on the Web page. Since these events happen at slightly different times, they are considered to be asynchronous. Most Ajax implementations use the XMLHttpRequest API, which includes a list of server requests that can be called within JavaScript code. The data is usually sent back to the browser in an XML format, since it is easy to parse. However, it is possible for the server to send data as unformatted plain text as well.

What makes Ajax so powerful is that scripts can run on the client side, rather than on the server. This means a JavaScript function can make a request to a server after a webpage has already finished loading. The data received from the server can then be displayed on the page without reloading the other content. If a server-side scripting language like PHP or ASP was used, the entire page would need to be reloaded in order for the new content to be displayed.

While you may not realize it, you have probably seen Ajax at work on several different websites. For example, search engines that provide a list of search suggestions as you type are most likely using Ajax to display the suggestions. Image searches that produce more thumbnails as you scroll through the results typically use Ajax to retrieve the continual list of images. When you click "Older Posts" at the bottom of a Facebook page, Ajax is used to display additional postings.

Ajax has helped make the Web more dynamic by enabling webpages to retrieve and load new content without needing to reload the rest of the page. By using Ajax, Web developers can create interactive websites that use resources efficiently and provide visitors with a responsive interface.
 

Facebook Comment

Similar threads

XenForo uses the icoon font Font Awesome Pro 5 which contains a few thousand icons of which XenForo does usually only use a few hundred. But as all icons are included in the CSS and font files, browsers have to download the full font files and CSS which does cause a significant overhead in most...
Trả lời
0
Xem
607
Description This guide will run you through on how to allow your members to set a postbit cover photo that will display within their posts/messages. Guide Create a custom user field. Go to Admin CP > Users > Custom user fields Field ID: This can be anything you want i.e. postbit_cover Title...
Trả lời
0
Xem
246
This Add-on disables the display of emojis in smilie menu on Android and iOS. Showing emojis in smilie menu is useful on devices that usually do not have native support for selecting emojis (eg. desktop devices). It is less useful though on mobile devices powered by Android or iOS on the other...
Trả lời
0
Xem
375
Zota is a flexible and customizable WooCommerce Multi-Purpose WordPress Theme that installs and changes any item in a matter of minutes via Powerful Theme Options Theme built with Elementor will help you customize your website in minutes without needing to edit any code. Header & Footer...
Trả lời
0
Xem
591
A collection of improvements to XF's attachment system. Option to strip jpeg EXIF data SVG support Nginx's X-Accel-Redirect New Permissions for forum/conversations (Respects global attachment size & count limits): Attachment Size (kb). Maximum Attachment Count. Adds support for video stream...
Trả lời
0
Xem
363

Latest resources

Bên trên Bottom