473,386 Members | 1,832 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

ASP.NET Ajax vs jQuery

Hi,

For my next project I'm going to need Ajax, so I'm in about to read some
books on ASP.NET Ajax.

While reading Rick Strahl's blog I stumbled upon jQuery. I've been to the
website and seen some examples, and it sure looks promising.

However, I'm not sure how it relates to ASP.NET Ajax. Do they complement
each other? Or are they concurrent products?


Jun 27 '08 #1
3 2388
they are enough different to be complementary, but have a some overlap.
other than webservice (ajax) call support, they are different approachs.

asp.net ajax tries to make javascript and dom programming look like .net
programing and implements a class and event model that looks like the
..net world. it also has the notion of control extenders (behaviors).
these behaviors extend (add ui sugar) to asp.net server controls. most
of the library is framework to build library components.

Jquery is a popular library for javascript developers. it does not try
to change javascript, but uses the notion that the most common
javascript operations on the dom is building collections of objects and
performing operations on them. it also has strong webservice support and
a control plugin model. its also probably easier to understand than
the ms ajax library from the javascript side.

if you are looking at JQuery, you should look at the new MVC library
from asp.net that plays better with JQuery than it does with the MS
ajax library. JQuery understands the MVC REST interface, and MVC doesn't
play with control ids.

if you only know MS form programming, click on designer to get an event
handler and only want a little ajax support stick with webforms and
asp.net ajax.

if you want to do a rich ajax application, understand delegates, unit
testing, factories, and design patterns then I'd recommend MVC and JQuery.

-- bruce (sqlwork.com)
NetWave wrote:
Hi,

For my next project I'm going to need Ajax, so I'm in about to read some
books on ASP.NET Ajax.

While reading Rick Strahl's blog I stumbled upon jQuery. I've been to
the website and seen some examples, and it sure looks promising.

However, I'm not sure how it relates to ASP.NET Ajax. Do they complement
each other? Or are they concurrent products?

Jun 27 '08 #2
At present, ASP.NET AJAX is a fine library, in and of itself. The ability to
drag and drop things is great. But, there is a caveat. If you intend on
heading to ASP.NET MVC, you have to really kludge things up to use ASP.NET
AJAX. This is at least true in the current CTP ... and may not be in "ber"
when it is released (according to team blogs, it will be released in a month
ending in "ber" - aiming for Septem-ber, but it may be as late as
Decem-ber). There are good tutorials on using JQuery with MVC today.

If you are not using MVC, either option is fine. Overall, I like the speed
of development with ASP.NET AJAX, esp. with the Toolkit added to it. It has
a lot of neat control extenders that you can use to adorn your ASP.NET
Server controls to get some really great effects (accordian, always in place
hover layer, date picker, etc.). You can have them up and running in just a
few minutes after a brief learning exercise.

I am not trying to discourage JQuery, by any means. It is a great library
with a lot of support. There are a couple of books on the market to help you
get up to speed.

Another decent option, which is also open source, is the Yahoo User
Interface Framework (YUI). It has a lot of controls included, and can work
in a variety of languages and paradigms, as it is pure client side goodness.

Now, one thing you should realize, is the more you put on the client, the
more likelihood you will get into a corner you can unpaint yourself from.
Some client side libs clash with each other. This is less likely with OO
style JavaScript libraries, of course, but there is a danger you will use
more than one library and end up butting heads. The answer here is to choose
and stick with it.

Have fun!

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

********************************************
| Think outside the box! |
********************************************
"NetWave" <so*****@company.comwrote in message
news:ug**************@TK2MSFTNGP04.phx.gbl...
Hi,

For my next project I'm going to need Ajax, so I'm in about to read some
books on ASP.NET Ajax.

While reading Rick Strahl's blog I stumbled upon jQuery. I've been to the
website and seen some examples, and it sure looks promising.

However, I'm not sure how it relates to ASP.NET Ajax. Do they complement
each other? Or are they concurrent products?

Jun 27 '08 #3
"Cowboy (Gregory A. Beamer)" wrote:
At present, ASP.NET AJAX is a fine library, in and of itself. The ability
to (snip)
Thank you both!

I sure appreciate the time you took for these clear answers regarding my
question.

Jun 27 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
by: paladin.rithe | last post by:
I was looking at libraries for my project, and was thinking about using Prototype, but I was seeing that people have reservations about it. All I really need is some basic Ajax stuff, the basic...
3
by: BG Mahesh | last post by:
hi We are looking for a good Ajax library which has very good support for iframe. The ones we have considered so far are, Backbase.com - not happy with the speed Zapatech.com - it is good but...
10
by: sfmcfar | last post by:
Hi, Can someone recommend an Javascript toolkit that provides both AJAX- like requests and effects, and that supports IE 5.5+, Firefox 1.5+, and Netscape 7+? I know that NS7 may not be as...
1
by: c19h28o2 | last post by:
Hi, I'm a little stuck with Ajax (really am not getting it at the moment!) I'm trying to write into a div when something is typed into a box... <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML...
4
by: JJ | last post by:
I want to be able to display items and their categories on a page, so that the user can click on an item to edit it, or add further items or categories. Simple enough, however, I want to do it...
1
by: =?Utf-8?B?TW9oc2luIEtoYW4=?= | last post by:
Hi, I am working on a website where i am creating Horizontal Menus Dynamically from database as per rights available to the user. I have several UserControls. And the Menu control also brings...
3
by: George | last post by:
I am doing an AJAX call using JQuery on my page to which returns JSON objects and everything works fine. Now I decided to use ashx handler instead of and simply write JSON out. Then my problems...
6
by: ghjk | last post by:
I have a php page which is having "sumbit" and "cancel" buttion in default. but when user click submit button I want to hide"submit" button and display "ok" button. How can I do that?
3
pradeepjain
by: pradeepjain | last post by:
hii guys, I am newbie to jquery and ajax . I am stuck to know when to use jquery and ajax . which is better to use and fast . can anyone plz explain .
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.