Jump to content

AJAX Tutorial Incomplete?


Guest nicepants

Recommended Posts

AJAX basically combines existing technologies. The main difference from other javascript tutorials will be the sending and receiving of information to a server-side script. The server-side script, however, will be the same server-side script as any other tutorial will discuss.To write server-side scripts for AJAX you need to know:1) How to write a server-side script2) How to access variables passed to the script (ex: through the query string)3) How to send a reply from a server-side script (same as printing out "Hello World")To implement the fetching of database information you just need to know the above, as well as how to access a database from a server-side script. These things are not unique to AJAX at all.So again, the only new knowledge you should need for AJAX is how to deal with sending and receiving the XML object.Some references fare listed below ASP (Get query string info)http://www.w3schools.com/asp/asp_ref_request.aspADO (Database Access with asp)http://www.w3schools.com/ado/default.aspPHP (Get query string info)http://www.w3schools.com/php/php_forms.aspPHP + MYSQL -> search for tutorialsThere are of course many detailed tutorials of AJAX on the web. I would never recommend you use any ONE source - so go read and practice until you get it.(I only talked about the query string, but the reality is you will be dealing with GET or POST information)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...