Pragmatic Guide to JavaScript (Paperback)

Christophe Porteneuve

  • 出版商: Pragmatic Bookshelf
  • 出版日期: 2010-12-08
  • 定價: $825
  • 售價: 8.0$660
  • 語言: 英文
  • 頁數: 160
  • 裝訂: Paperback
  • ISBN: 1934356670
  • ISBN-13: 9781934356678
  • 相關分類: JavaScript
  • 立即出貨 (庫存 < 3)

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

商品描述

The JavaScript ecosystem can be tough to hack through, even for experienced programmers. There are so many extensive JavaScript reference books and competing libraries to choose from-Prototype, jQuery, MooTools, YUI, Dojo, ExtJS, and so on.

Christophe Porteneuve is here to help: he gives you fundamentals, the most handy techniques, and the insider's best practices. If you're reasonably comfortable programming in any widely known language, you'll be able to jump into JavaScript in no time.

Divided into six Parts, the book starts with JavaScript code patterns that are too often ignored by JavaScript coders. Part 2 presents several essential JavaScript tasks-DOM and CSS manipulations, plus event handling and timers-in a framework-agnostic way, using syntax from all the major flavors. Parts 3 and 4, respectively, hit JavaScript's best features for user interface functionality-tooltips, lightboxes, image processing, infinite scrolling, and more-and forms for receiving and validating input. Part 5 explores the client/server relationship, touching on cookies, JSON, and Ajax (same- and cross-domain). Part 6 uses JavaScript in mashups with Twitter, Flickr, and geo-related APIs.

The appendices feature Christophe's two-page JavaScript cheat sheet, followed by hard-won tips on debugging even the most maddening JavaScript errors. Next is an even-handed assessment of the major frameworks used in the book and in most JavaScript shops today. Last, Christophe presents an extensive group of resources for using and learning JavaScript and the major frameworks.

This Pragmatic Guide is strictly focused on the techniques that will get you started in JavaScript. It's where you come to get the full scope of JavaScript in your head--fast! You'll quickly understand its core syntax, capabilities, and related frameworks. Start here first.

商品描述(中文翻譯)

JavaScript生態系統對於有經驗的程式設計師來說,也是一個難以穿越的領域。有許多廣泛的JavaScript參考書和競爭的庫可供選擇,如Prototype、jQuery、MooTools、YUI、Dojo、ExtJS等等。

Christophe Porteneuve在這裡提供幫助:他向您介紹基礎知識、最實用的技巧和內部的最佳實踐方法。如果您對任何廣泛使用的程式語言有一定的熟悉程度,您將能夠迅速上手JavaScript。

本書分為六個部分,首先介紹了JavaScript程式碼模式,這些模式常常被JavaScript開發人員忽略。第二部分以一種與框架無關的方式呈現了幾個重要的JavaScript任務,包括DOM和CSS操作,以及事件處理和計時器,使用了各種主要語法。第三和第四部分分別介紹了用於用戶界面功能的JavaScript最佳特性,如工具提示、燈箱、圖像處理、無限滾動等,以及用於接收和驗證輸入的表單。第五部分探討了客戶端/服務器關係,涉及到cookie、JSON和Ajax(同域和跨域)。第六部分介紹了如何在Twitter、Flickr和地理相關API中使用JavaScript。

附錄包括Christophe的兩頁JavaScript速查表,以及關於如何調試最令人困擾的JavaScript錯誤的寶貴提示。接下來是對本書和大多數JavaScript開發公司中使用的主要框架的公正評估。最後,Christophe提供了一系列廣泛的資源,用於使用和學習JavaScript和主要框架。

這本實用指南嚴格關注讓您快速入門JavaScript的技巧。這是您來了解JavaScript的全部範圍的地方-快速!您將迅速理解其核心語法、功能和相關框架。請先從這裡開始。