views:

227

answers:

7

I have a few .NET developers who only want to use the MS AJAX Toolkit and think JavaScript (and any JS Library) is evil. I tried to explain that if you treat client-side development like a grown-up language you can build maintainable code ... but I assume that the classic ASP days have left a mark on these guys. Anyone have a suggestion to help convince this type of developer that learning jQuery will actually benefit them in the long run as the industry is trending back to "lets get close to the metal again" w/ MVC for example?

+13  A: 

Tell them microsoft endorses jquery and that it's shipping with MVC

DeletedAccount
Technically, jQuery will be shipping with next version of Visual Studio, not with MVC.
Franci Penov
I guess, but if you use MVC in VS2008 then it has the JQuery library there by default.
DeletedAccount
+1 being able to tell your boss that you can open a support ticket with Microsoft if you have problems can really help adoption!
Ian Robinson
I mentioned this (and use it myself obviously) but now is it just preference? We have a "toolkit" and this "jQuery" thing both supported -
Toran Billups
The ajax toolkit controls won't work in an MVC application as is. Looks like it's possible tho: http://www.ajaxprojects.com/ajax/tutorialdetails.php?itemid=330 I only scan read it and it seems like a bit of a hack to me.
DeletedAccount
+2  A: 

Point them to this article by Scott Guthrie. Quick quote from the article explains all:

I'm excited today to announce that Microsoft will be shipping jQuery with Visual Studio going forward. We will distribute the jQuery JavaScript library as-is, and will not be forking or changing the source from the main jQuery branch. The files will continue to use and ship under the existing jQuery MIT license.

Zaagmans
+4  A: 

If they don't realize that jQuery is the bee's knees - they're living under a rock - tell them about all of the people that are using jQuery (Google, Dell, MLB, Bank of America.....the rest of a good list is in the middle of the jQuery home page) - or just tell them that every time they go to their Netflix account they are using jQuery or if they visit the president's web site (which could backfire I guess.... ;)

Emphasize that learning a 'technology' that is becoming that ubiquitous can only help your career.

Ian Robinson
+1 for "the bee's knees" ;-) jQuery is definitely cool.
itsmatt
+1 as this was my first thought to be honest
Toran Billups
+1  A: 
  • Ask if they like server-round-trips. (To make them understand that client-side-stuff is necessary.)
  • Ask if they want to write code that works in 3 different places at the same time? (To make them understand the need for a library that almost erases browser differences.)
  • Show them a list of who's using jQuery.

If they fancy elegant code, they will get what you're saying. Otherwise I think they'll be really hard to convince.

svinto
this was the only point they will agree with me. We have all seen the MS AJAX Toolkit fail to scale ...
Toran Billups
+1  A: 

Implement something that has value for your organisation/clients using jQuery to prove that it works well in your context - even better if it's something that would be difficult to implement, more complex or take longer in the MS AJAX Toolkit.

Developers often find practical examples of running code in a context that applies to them more persuasive than general endorsements or lists of who else is using it (every practical technology can come up with a good list of users).

And if your developers don't like JavaScript, perhaps you should ask them what they think the AJAX Toolkit is running on the client side. The AJAX Toolkit is a JavaScript library on the client side - just one that's designed to be easily integrated into ASP.NET.

Simon Forrest
+1  A: 

Getting up to speed on the dominant tool in a given area is always a good idea. JQuery is the dominant JS library. For some anecdotal evidence, take a look at the tags here on StackOverflow:

  • JQuery: 1809 items
  • asp.net-ajax: 272 items
  • ajaxtoolkit: 54 items
Chase Seibert
+1  A: 

Tell them they can do more with less - and understanding jQuery/javascript will help them understand AJAX.NET even more. It's a big huge leaky abstraction in my books - since switching to jQuery it made web programming more fun and I could build way cooler apps.

BPAndrew