Where to start to learning Ajax? [closed]
I want to start learning Ajax, but I don't know how to start to learn and find a good teaching materia开发者_如何学Pythonl, can anyone help me? Thank you.
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.
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.
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.
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
精彩评论