Welcome to Egypt Forums Mark forums read | Egypt Main Page
Egypt Forums
Arabic Movies



Articles Thread, AJAX Http Requests in AJAX; AJAX Http Requests In traditional JavaScript coding, if you want to get any information from a database or a file ...

Short Link: http://forum.egypt.com/enforum/showthread.php?t=11851


Reply
LinkBack Thread Tools Display Modes
AJAX Http Requests
 
 
The God Father
Developer's Avatar

Reply With Quote
 
Join Date: Jul 2008
Location: NDC
Posts: 5,425
03-01-2009, 06:11 PM
 
AJAX Http Requests


In traditional JavaScript coding, if you want to get any information from a database or a file on the server, or send user information to a server, you will have to make an HTML form and GET or POST data to the server. The user will have to click the "Submit" button to send/get the information, wait for the server to respond, then a new page will load with the results.
Because the server returns a new page each time the user submits input, traditional web applications can run slowly and tend to be less user-friendly.
With AJAX, your JavaScript communicates directly with the server, through the JavaScript XMLHttpRequest object
With an HTTP request, a web page can make a request to, and get a response from a web server - without reloading the page. The user will stay on the same page, and he or she will not notice that scripts request pages, or send data to a server in the background.
__________________
I Love Walking In The Rain Cuz Nobody Know I'm Crying !!
 
 
 
Reply

Articles Thread, AJAX Http Requests in AJAX; AJAX Http Requests In traditional JavaScript coding, if you want to get any information from a database or a file ...

Short Link: http://forum.egypt.com/enforum/showthread.php?t=11851


Bookmarks

Tags
ajax, http, requests

« what is Ajax ? | - »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump