Learning from jQuery (Paperback)

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 比使用 jQuery 更快速地操作 DOM
- 發送少量的 AJAX 請求,而不需要加載整個 jQuery 函式庫
- 理解 JavaScript 程式碼標準、註解、程式碼重用和反模式的重要性
- 利用 JavaScript 資源,例如良好的 IDE、語法檢查器和版本控制工具