Video Tutorial 1 - AJAX Introduction ~ Ajax Training, Learn Ajax Video Tutorials Online, Ajax Examples
Ajax Training, Learn Ajax Video Tutorials Online, Ajax Examples: Video Tutorial 1 - AJAX Introduction

Video Tutorial 1 - AJAX Introduction



Related Posts by Categories

10 comments:

Anonymous said...

Is the server or the client in control?

Anonymous said...

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.

Anonymous said...

Is Ajax just another name for XMLHttpRequest?

Anonymous said...

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.

Anonymous said...

Good tut to start with!

Anonymous said...

nice, thank u.

Anonymous said...

lmao .. you have searched for "lol" before

Anonymous said...

lol n/m .. the ajax object is getting that data.. wonder y its getting "lol" from an "a" being past to the script

Anonymous said...

because u didn't watch carefully. do "fmt=18" in your webbrowser, and you'll see, that there is "aol" in the list...

Anonymous said...

Thank you for the nice tutorial

Useful Links on Adobe Flex

Your Ad Here

Latest Books on Adobe Flex