I want to start learning Ajax, but I don't know how to start to learn and find a good teaching material, can anyone help me? Thank you.
-
Duplicate: http://stackoverflow.com/questions/3536609/how-to-start-learning-ajax, http://stackoverflow.com/questions/92786/what-would-be-the-best-place-to-start-learning-ajax-i-have-perl-as-a-backend, http://stackoverflow.com/questions/1999097/what-would-be-the-best-place-to-start-learning-ajax-i-have-php-as-a-backend, http://stackoverflow.com/questions/942279/learning-ajax-where-to-search-for-online-instruction, http://stackoverflow.com/questions/119459/whats-a-good-book-for-learning-ajax, etc. – gnovice Sep 10 '10 at 04:12
4 Answers
My suggestion:
1 - Learn what AJAX means. Here you have the wikipedia definition
2 - Review some real applications so you'll understand what you could do with this technology. Google is your friend.
3 - Implement a "hello world" application using the very basic principles so you have a close contact, at least for one time, with the core forces behind AJAX.
4 - Play a little with any well known javascript framework with AJAX support. jQuery would be perfect as other people suggest.

- 67,454
- 15
- 130
- 155
The base of ajax is the object XMLHTTPRequest.
So, you could learn the W3C specification here and a tutorial at w3schools.
EDIT
Probably you use a framework, so learn about jQuery ajax.

- 12,223
- 15
- 67
- 104
Personally, I think you should try to do some simple AJAX requests and such without using a library such as JQuery. Just use XMLHTTPRequest, and do some simple stuff. That way you'll understand what JQuery is doing underneath. If you're designing a site with a lot of AJAX, then you'll want to move over to something like JQuery, so you don't have to worry about cross-browser compatibility. However I think that understanding how things work underneath can be very useful, and if you're just doing a couple simple things with AJAX, can actually make the page a little more compact.

- 65,369
- 27
- 142
- 182
if you are going to use ASP.NET and Ajax then its very simple to learn much of the things are there which you need, just visit http://www.asp.net/ajax and there you will get each and everything you need to for a startup.
if you are using it with php then use JQuery

- 1,030
- 6
- 17
- 38