Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Should I learn ASP.NET AJAX, jQuery or both? [closed]

I'm .NET developer. Most of my career I worked on web based intranet applications (ASP.NET WebForms) but always as a server side developer. Client side development was done by my colleagues more skilled in JavaScript and different JS frameworks. At the moment I have some JavaScript skills and very elementary understanding of both ASP.NET AJAX (I mean client side library) and jQuery. It mostly means that I can read JS code and I can write very simple functions. I would like to be better in this area and I'm planning to learn some of these technologies. Should I learn both ASP.NET AJAX and jQuery or skip ASP.NET AJAX and go directly to jQuery? By learning I mean really deep understanding of concepts and whole framework.

At the moment I'm reading Introducing Microsoft ASP.NET AJAX but I'm not very happy with it. It doesn't have coverage I would expect. I have already bought ASP.NET AJAX in Action and jQuery in Action. Do you recommend me any other sources?

Edit: So nobody defends ASP.NET AJAX? It looks like this API exists only to fill some MS certification exams.

like image 237
Ladislav Mrnka Avatar asked Aug 28 '10 17:08

Ladislav Mrnka


People also ask

Should I learn jQuery or AJAX first?

Javascript is the language itself so you should learn it first. JSON is the javascript object notation so while you're learning Javascript you will be learning it too. Ajax is the API for async calls to the server so it has its own object which is consumed using JS. jQuery is a library which is built on top of JS.

Do I need to know jQuery to learn AJAX?

Without jQuery, AJAX coding can be a bit tricky! This means that you will have to write extra code to test for different browsers. However, the jQuery team has taken care of this for us, so that we can write AJAX functionality with only one single line of code.

Is AJAX difficult to learn?

Actually implementing AJAX isn't hard, but it is weird. It relies on the interplay of a few different technologies and requires a little knowledge of each.

Do I need to know javascript to learn AJAX?

You should absolutely learn javascript. And because AJAX is achieved with javascript, by learning javascript you will also learn AJAX. AJAX is not a different language. It's a pattern that you could use to develop asynchronous web applications using javascript.


2 Answers

jQuery is more than enough. Couple this with ASP.NET MVC and you will never ever need to look at Microsoft ASP.NET AJAX (or whatever its name is currently). Even if you work with standard ASP.NET WebForms, jQuery will be sufficient.

Also note that Microsoft have fully embraced jQuery (it is included with ASP.NET MVC) and they are actively supporting its development. I won't be surprised if MS AJAX becomes obsolete soon (for me personally it's been deprecated for years :-)).

So I would recommend you use the time you would have wasted in learning MS AJAX in improving your jQuery skills.

like image 99
Darin Dimitrov Avatar answered Oct 03 '22 17:10

Darin Dimitrov


Try to learn ajax from scratch, with plain javascript, it helps you understand how it works. Then go to jQuery.

like image 25
goenning Avatar answered Oct 03 '22 17:10

goenning