Beginning jQuery 2 for ASP.NET Developers: Using jQuery 2 with ASP.NET Web Forms and ASP.NET MVC (Paperback)

Bipin Joshi

  • 出版商: Apress
  • 出版日期: 2013-12-19
  • 售價: $1,990
  • 貴賓價: 9.5$1,891
  • 語言: 英文
  • 頁數: 336
  • 裝訂: Paperback
  • ISBN: 1430263040
  • ISBN-13: 9781430263043
  • 相關分類: .NETASP.NETjQuery
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

商品描述

jQuery is the most popular JavaScript library in use today, appearing on nearly two thirds of the 10,000 most visited sites on the web. With this sort of popularity, it’s clear that ASP.NET developers can’t afford to miss out.



By combining jQuery with ASP.NET you get the best of both worlds: the client-side interactivity and responsiveness of JavaScript with the robustness and extensibility of Microsoft's web stack. Beginning jQuery 2 for ASP.NET Developers shows you how.

To begin with, you'll find out how jQuery hooks up with your ASP.NET controls, and simplifies event handling by keeping it in the browser. Then you'll learn to handle dynamic content and responsive layouts by interacting with the DOM. Effects and animations are one of the most popular uses of the jQuery library, so we cover that next—showing you how to get a sleek modern look and feel to your site using some of the vast library of JavaScript that's already out there waiting to be used.



Ajax is one of the areas where jQuery really shines, so you'll find out how to make Ajax calls to a web service and get data onto a page without waiting for slow ASP.NET postbacks every time. And no book on jQuery would be complete without jQuery Mobile: the popular mobile web framework that gets you writing sites that work across all the major mobile platforms.

What you’ll learn

  • Select DOM elements using powerful jQuery selectors
  • Use jQuery with ASP.NET server controls, ASP.NET MVC form fields and other DOM elements
  • Manipulate and traverse the DOM tree and add jQuery effects to ASP.NET web pages
  • Make Ajax calls and pass JSON data to Web Services, Web Methods, WCF services, controller action methods, HTTP handlers and Web APIs
  • Understand code reuse by creating and using jQuery plugins
  • Get introduced to jQuery UI and jQuery mobile and use them in ASP.NET Web Forms and MVC applications

Who this book is for

This book is for novice to intermediate developers who want to improve and enhance their ASP.NET Web Forms and ASP.NET MVC projects with client-side scripting.

Table of Contents

Chapter 1. The JavaScript You Need to Know 
Chapter 2. A First Look at jQuery 
Chapter 3. ASP.NET Controls and jQuery Selectors 
Chapter 4. How jQuery Simplifies Event Handling
Chapter 5. The DOM and Dynamic Content
Chapter 6. More DOM and Useful jQuery Methods
Chapter 7. Great-looking ASP.NET Pages with jQuery Effects and Animations
Chapter 8. Making Ajax Calls to .NET Web Services
Chapter 9. Creating and Using jQuery Plug-ins 
Chapter 10. jQuery UI and jQuery Mobile 
Chapter 11. Useful jQuery and ASP.NET Recipes 
Appendix: Learning Resources

商品描述(中文翻譯)

jQuery是目前使用最廣泛的JavaScript函式庫,在網絡上最受歡迎的10,000個網站中,有近三分之二使用了它。由於這種普及度,ASP.NET開發人員不能錯過它。通過將jQuery與ASP.NET結合使用,您可以兼具JavaScript的客戶端互動性和響應能力,以及Microsoft的Web堆棧的強大和可擴展性。《Beginning jQuery 2 for ASP.NET Developers》將向您展示如何實現這一點。

首先,您將了解jQuery如何與ASP.NET控件配合使用,並通過在瀏覽器中處理事件來簡化事件處理。然後,您將學習如何通過與DOM交互來處理動態內容和響應式佈局。效果和動畫是jQuery函式庫最受歡迎的用途之一,因此我們接下來將介紹如何使用已經存在且可供使用的龐大JavaScript函式庫,為您的網站獲得時尚現代的外觀和感覺。

Ajax是jQuery真正擅長的領域之一,因此您將了解如何通過Ajax調用Web服務,在不需要等待緩慢的ASP.NET回傳的情況下將數據顯示在頁面上。而且,沒有一本關於jQuery的書是完整的,沒有介紹jQuery Mobile:這是一個流行的移動Web框架,可讓您編寫適用於所有主要移動平台的網站。

您將學到什麼:
- 使用強大的jQuery選擇器選擇DOM元素
- 將jQuery與ASP.NET服務器控件、ASP.NET MVC表單字段和其他DOM元素一起使用
- 操作和遍歷DOM樹,並在ASP.NET網頁上添加jQuery效果
- 通過Ajax調用將JSON數據傳遞給Web服務、Web方法、WCF服務、控制器操作方法、HTTP處理程序和Web API
- 通過創建和使用jQuery插件來理解代碼重用
- 介紹jQuery UI和jQuery Mobile,並在ASP.NET Web Forms和MVC應用程序中使用它們

本書適合初學者到中級開發人員,他們希望通過客戶端腳本改進和增強他們的ASP.NET Web Forms和ASP.NET MVC項目。

目錄:
第1章. 您需要了解的JavaScript
第2章. jQuery初探
第3章. ASP.NET控件和jQuery選擇器
第4章. jQuery簡化事件處理
第5章. DOM和動態內容
第6章. 更多DOM和有用的jQuery方法
第7章. 使用jQuery效果和動畫打造出色的ASP.NET頁面
第8章. 調用.NET Web服務的Ajax調用
第9章. 創建和使用jQuery插件
第10章. jQuery UI和jQuery Mobile
第11章. 有用的jQuery和ASP.NET技巧
附錄:學習資源