Learning from jQuery (Paperback)
暫譯: 從 jQuery 學習

Callum Macrae

  • 出版商: O'Reilly
  • 出版日期: 2013-03-12
  • 定價: $660
  • 售價: 8.0$528
  • 語言: 英文
  • 頁數: 116
  • 裝訂: Paperback
  • ISBN: 1449335195
  • ISBN-13: 9781449335199
  • 相關分類: jQuery
  • 立即出貨 (庫存=1)

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

相關主題

商品描述

If you’re comfortable with jQuery but a bit shaky with JavaScript, this concise guide will help you expand your knowledge of the language—especially the code that jQuery covers up for you. Many jQuery devotees write as little code as possible, but with some JavaScript under your belt, you can prevent errors, reduce overhead, and make your application code more efficient.

This book explores event handling, prototypes, and working with the DOM and AJAX through examples and lots of code. You’ll learn common conventions and patterns in JavaScript and—if you’ve never coded with JavaScript before—a tutorial will take you through the basics.

  • Enhance your jQuery code by using object constructors and prototypes
  • Reduce overhead and gain more control by handling events with JavaScript
  • Work with the DOM much faster with JavaScript than you can with jQuery
  • Send a few AJAX requests without having to load the entire jQuery library
  • Understand the importance of JavaScript code standards, comments, code reuse, and anti-patterns
  • Enlist JavaScript resources, such as a good IDE, a syntax checker, and version control

商品描述(中文翻譯)

如果您對 jQuery 感到熟悉,但對 JavaScript 有些不安,這本簡明的指南將幫助您擴展對這門語言的知識,特別是 jQuery 為您隱藏的代碼。許多 jQuery 的愛好者會盡量寫最少的代碼,但如果您掌握了一些 JavaScript,您可以防止錯誤、減少開銷,並使您的應用程式代碼更有效率。

本書通過範例和大量代碼探討事件處理、原型以及與 DOM 和 AJAX 的互動。您將學習 JavaScript 中的常見慣例和模式,如果您從未使用過 JavaScript 編碼,還會有一個教程帶您了解基礎知識。

- 通過使用物件建構子和原型來增強您的 jQuery 代碼
- 通過使用 JavaScript 處理事件來減少開銷並獲得更多控制權
- 使用 JavaScript 與 DOM 的互動速度遠快於使用 jQuery
- 發送幾個 AJAX 請求,而無需加載整個 jQuery 庫
- 理解 JavaScript 代碼標準、註解、代碼重用和反模式的重要性
- 列出 JavaScript 資源,例如良好的 IDE、語法檢查器和版本控制