Useful links
>>Next AJAX System Requirements
Related Posts by Categories
ajax video tutorials
- Creating an Ajax-driven Drop-down Menu System - 40
- Communicating With the Shopping Cart on the Server - 39
- Handling Drops - Ajax Tutorial 38
- Enabling Dragging Using Ajax | Ajax Tutorial 37
- Handling Mouse Events - Ajax Tutorial 36
- Creating a Shopping Cart - Buy item by dragging it to the shopping cart
- Downloading Images Using Ajax - Ajax Tutorial 34
- Returning JavaScript Objects From the Server AjaxTutorial 33
- Handling Multiple XMLHttpRequest Requests - Ajax Power - 32
- Using Two XMLHttpRequest objects - Ajax tutorial - 31
- Calling a Different Domain Safely - Getting Ajax Power - 30
- Connecting to Google Suggest - Live Google Search - Ajax Training 29
- Creating a Live Search Part.2 - 28 Using Live Google Search
- Creating a Live Search Part.1 - Live Search using Google
- Handling Head Requests for More Data - Ajax training 26
- Determining Which Browser the User Has - Ajax training 25
- Passing Data to the Server with POST - Ajax Training - 24
- Passing Data to the Server with GET - AJAX TUTORIAL - 23
- Extracting Data From XML - ajaxtraining.blogspot.com - 22
- Fetching XML Data From the Server - Ajax Training - 21
- Storing Ajax Data in XML - Ajaxtraining.blogspot.com - 20
- Using Server-Side Scripting - Ajaxtraining.blogspot.com -19
- Getting XMLHttpRequest Objects in Other Ways Ajaxtutorial 18
- Selecting Relative or Absolute URLs - Ajax tutorial - 17
- Decoding the Fetched Data - Ajax Tutorial - 16
AJAX Introduction
10 comments:
Is the server or the client in control?
It depends. With AJAX the answer is more in between. Control can be more centralized in a server-side component or as a mix of client-side and server-side controllers.
* Centralized server-side controller - When having a more centralized controller the key is to make sure the data in client-side page is in sync with that of the server. Some applications may keep all the state on the server and push all updates to client DOM via a simple JavaScript controller.
* Client and server-side controllers - This architecture would use JavaScript to do all presentation related control, event processing, page manipulation, and rendering of model data on the client. The server-side would be responsible for things such as business logic and pushing updated model data to the client. In this case the server would not have intimate knowledge of the presentation short of the initial page that would be sent to the client page request.
There are some use cases where an entire AJAX application can be written in a single page. Keep in mind if you choose this type of architecture that navigation and bookmarking should be considered.
Both methods are viable depending on what you are trying to accomplish. I tend to prefer spreading the control across the client and server.
Is Ajax just another name for XMLHttpRequest?
No. XMLHttpRequest is only part of the Ajax equation. XMLHttpRequest is the technical component that makes the asynchronous server communication possible; Ajax is our name for the overall approach described in the article, which relies not only on XMLHttpRequest, but on CSS, DOM, and other technologies.
Good tut to start with!
nice, thank u.
lmao .. you have searched for "lol" before
lol n/m .. the ajax object is getting that data.. wonder y its getting "lol" from an "a" being past to the script
because u didn't watch carefully. do "fmt=18" in your webbrowser, and you'll see, that there is "aol" in the list...
Thank you for the nice tutorial
Post a Comment