jQuery in Action, 3/e (Paperback) (jQuery 實戰 (第三版))

Bear Bibeault, Yehuda Katz, Aurelio De Rosa

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

相關主題

商品描述

Summary

jQuery in Action, Third Edition, is a fast-paced and complete guide to jQuery, focused on the tasks you'll face in nearly any web dev project. Written for readers with minimal JavaScript experience, this revised edition adds new examples and exercises, along with the deep and practical coverage you expect from an In Action book. You'll learn how to traverse HTML documents, handle events, perform animations, write plugins, and even unit test your code. The unique lab pages anchor each concept with real-world code. Several new chapters teach you how to interact with other tools and frameworks to build modern single-page web applications.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the Technology

Thanks to jQuery, no one remembers the bad old days when programmers manually managed browser inconsistencies, CSS selectors support, and DOM navigation, and when every animation was a frustrating exercise in raw JavaScript. The elegant, intuitive jQuery library beautifully manages these concerns, and jQuery 3 adds even more features to make your life as a web developer smooth and productive.

About the Book

jQuery in Action, Third Edition, is a fast-paced guide to jQuery, focused on the tasks you'll face in nearly any web dev project. In it, you'll learn how to traverse the DOM, handle events, perform animations, write jQuery plugins, perform Ajax requests, and even unit test your code. Its unique Lab Pages anchor each concept in real-world code. This expanded Third Edition adds new chapters that teach you how to interact with other tools and frameworks and build modern single-page web applications.

What's Inside

  • Updated for jQuery 3
  • DOM manipulation and event handling
  • Animations and effects
  • Advanced topics including Unit Testing and Promises
  • Practical examples and labs

About the Readers

Readers are assumed to have only beginning-level JavaScript knowledge.

About the Authors

Bear Bibeault is coauthor of Secrets of the JavaScript Ninja, Ajax in Practice, and Prototype and Scriptaculous in Action. Yehuda Katz is an early contributor to jQuery and cocreator of Ember.js. Aurelio De Rosa is a full-stack web developer and a member of the jQuery content team.

Table of Contents

    PART 1 STARTING WITH JQUERY
  1. Introducing jQuery
  2. PART 2 CORE JQUERY
  3. Selecting elements
  4. Operating on a jQuery collection
  5. Working with properties, attributes, and data
  6. Bringing pages to life with jQuery
  7. Events are where it happens!
  8. Demo: DVD discs locator
  9. Energizing pages with animations and effects
  10. Beyond the DOM with jQuery utility functions
  11. Talk to the server with Ajax 260
  12. Demo: an Ajax-powered contact form
  13. PART 3 ADVANCED TOPICS
  14. When jQuery is not enough...plugins to the rescue!
  15. Avoiding the callback hell with Deferred
  16. Unit testing with QUnit
  17. How jQuery fits into large projects

商品描述(中文翻譯)


摘要


《jQuery in Action, 第三版》是一本快節奏且全面的jQuery指南,專注於幾乎任何網頁開發專案中會遇到的任務。本書針對具有最少JavaScript經驗的讀者撰寫,此修訂版新增了新的範例和練習,以及您對於《In Action》系列書籍所期望的深入且實用的內容。您將學習如何遍歷HTML文件、處理事件、執行動畫、撰寫插件,甚至對代碼進行單元測試。獨特的實驗室頁面以真實代碼鏈接每個概念。幾個新章節教您如何與其他工具和框架互動,以構建現代單頁網頁應用程式。


購買印刷版書籍將包含Manning Publications提供的PDF、Kindle和ePub格式的免費電子書。


關於技術


多虧了jQuery,沒有人再記得那些糟糕的日子,當時程式設計師需要手動處理瀏覽器不一致性、CSS選擇器支援和DOM導航,每個動畫都是一個令人沮喪的原始JavaScript練習。優雅且直觀的jQuery庫完美地處理這些問題,而jQuery 3更添加了更多功能,使您作為網頁開發人員的生活更加順暢和高效。


關於本書


《jQuery in Action, 第三版》是一本快節奏的jQuery指南,專注於幾乎任何網頁開發專案中會遇到的任務。您將學習如何遍歷DOM、處理事件、執行動畫、撰寫jQuery插件、執行Ajax請求,甚至對代碼進行單元測試。其獨特的實驗室頁面以真實代碼鏈接每個概念。這本擴展的第三版新增了教您如何與其他工具和框架互動並構建現代單頁網頁應用程式的新章節。


內容簡介



  • 更新至jQuery 3

  • DOM操作和事件處理

  • 動畫和效果

  • 高級主題,包括單元測試和Promises

  • 實用範例和實驗室


讀者對象


讀者假設只具有初級JavaScript知識。


作者簡介


Bear Bibeault是《JavaScript Ninja秘笈》、《實踐中的Ajax》和《Prototype and Scriptaculous in Action》的合著者。Yehuda Katz是jQuery的早期貢獻者和Ember.js的共同創作者。Aurelio De Rosa是全棧網頁開發人員,也是jQuery內容團隊的成員。


目錄



    第1部分 開始使用jQuery

  1. 介紹jQuery

  2. 第2部分 核心jQuery

  3. 選擇元素

  4. 操作jQuery集合

  5. 處理屬性、特性和數據

  6. 使用jQuery使頁面生動起來

  7. 事件是發生的地方!

  8. 示範:DVD光碟定位器

  9. 使用動畫和效果使頁面充滿活力

  10. 通過jQuery實用函數超越DOM

  11. 使用Ajax與伺服器通訊

  12. 示範:一個由Ajax驅動的聯絡表單

  13. 第3部分 高級主題

  14. 當jQuery不夠用時...插件來拯救!

  15. 使用Deferred避免回調地獄

  16. 使用QUnit進行單元測試

  17. jQuery在大型專案中的運用