开发者

good book on Jquery and it's compatibility with asp.net [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended dis开发者_如何学运维cussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 10 years ago.

Any recommendations?

I have used Jquery already but I would like to really delve into it and find out how I can use it with asp.net, specifically instead of updatepanel and ajax toolkit.

I use asp.net forms.


JQuery/Javascript works on the client site, so it's server side language agnostic. I have not done a whole lot of .NET coding, but If I wanted to use jQuery with my .NET app, I would use MVC more instead of Webforms and build all the html/css/js by hand.

This is a good book I would recommend.


Regarding jQuery, I found jQuery in Action very useful. It is not just as exciting as the bungee book on prototype, but it is very pragmatic, just as the library is. Prototype is so clever and jQuery is so powerful.

Skimming the book and browsing examples is enough to get you started, but be sure to read also the appendix on advanced JavaScript because it is where you will learn what language features have been leveraged to create the library.

Regarding jQuery and ASP.NET, two things are worth noticing.

1) Microsoft is supporting jQuery as is in visual studio. No forks, no embrace and extend, just clean support, so you will be able to learn all you need in a non specific book.

2) developing with jQuery is orthogonal to ASP.NET. You will use Visual Studio as a powerful text editor without thinking in terms of ASP.NET components and code behind. There is no code behind in an interactive web application built with jQuery. If you need to do something on the server, you will build an aspx page processing parameters and returning raw data without user interface and call it with ajax. The ideal format is JSON.

I would not choose a book particularly targeted to jQuery and ASP.NET without good reason, especially at the beginning.


Depending on how advanced you already are with jQuery, this book may be a good one. It is broader in scope than just the jQuery library itself, so the jQuery coverage may not be as thorough as you would like. It does target .net though, and also discusses other relevant libraries such as the Telerik asp.net ajax control library.


I haven't read this book but it does seem to cover what you are looking for, it only seems to be available as an ebook though.

I plan to get this book when it comes out, its MVC 2 instead of webforms but from what I have read MVC2 uses jQuery out of the box.

For a general jquery book, I like this one, Its not out yet but I've seen some chapters from the early access program and it looks good, one of the authors is on the jQuery core team so the code is solid and they have been updating the book to match the latest 1.4 release (I'm not sure about 1.4.1 and 1.4.2)

One point I would make about using jQuery with asp.net is the way asp.net up until 3.5 renders client id tags, its a pain to work with and you end up doing selectors by regular expression ( "id$=myTextBox" ) or by class, both of which are slower than selecting by id. In asp.net 4 you have more control over how the ids are rendered so that is better, but you have most control with MVC.

HTH

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜