jQuery Essentials(Paperback)

Troy Miles

  • 出版商: Packt Publishing
  • 出版日期: 2016-01-28
  • 售價: $1,170
  • 貴賓價: 9.5$1,112
  • 語言: 英文
  • 頁數: 180
  • 裝訂: Paperback
  • ISBN: 1785286358
  • ISBN-13: 9781785286353
  • 相關分類: jQuery
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Key Features

  • Build dynamic websites efficiently without any performance issues
  • Learn to use existing jQuery plugins and or write your own for your websites
  • This is the most up-to-date book on the market at the moment, packed with detailed explanations and real-world examples

Book Description

JQuery is still the most popular JavaScript library. It is used in over 60% of the top websites on the Internet. It was written to make DOM manipulation (so, moving things around a web page) easier for developers. It acts through JavaScript to ascribe HTML elements to the DOM attributes. Because it is a library of predefined functions, all you need to start using jQuery is a working knowledge of the syntax and a reference for the functions available to you.

This practical guide shows you how to make the most of jQuery to boost the performance of your websites and applications. We start off with a quick glance through the basics of JQuery, followed by the explanation of JQuery selectors, filters, and DOM element manipulation. After this, you will learn how events and animations can be used to create and design beautiful and user-friendly sites. Next, you will be familiarized with Ajax functions to help you send and receive data from your server. Finally, we'll walk you through using built-in plugins and eventually create your own plugins for your websites.

By the end of this book, you will be able to to build robust and efficient websites successfully using JQuery.

What you will learn

  • Quickly find and modify HTML DOM elements
  • Use animation to add flair to your site
  • Create your own events to decouple your application
  • Measure the performance of your website's JavaScript
  • Write unit tests to ensure that your application is behaving correctly
  • Use plugins to to save reinventing the wheel and enhance your site quickly
  • Use client-side validation on forms to prevent your users from sending bad data to your application
  • Write your own jQuery plugins in order to encapsulate your company's business logic

About the Author

Troy Miles, a.k.a. the Rockncoder, began writing games in assembly language for early computers, such as the Apple II, Vic20, C64, and the IBM PC, over 35 years ago. Currently, he spends his days writing web apps for a Southern California-based automotive valuation and information company. During the nights and weekends, he can usually be found writing cool apps for mobile and Web or teaching other developers how to do that. He likes to post interesting code nuggets on his blog at http://therockncoder.com and videos on his YouTube channel at https://www.youtube.com/user/rockncoder. He can be reached at rockncoder@gmail.com.

Table of Contents

  1. jQuery Part by Part
  2. jQuery Selectors and Filters
  3. Manipulating the DOM
  4. Events
  5. Making Your Site Snazzy with jQuery
  6. Better Forms with jQuery
  7. Talking to Your Server
  8. Writing Code that You can Read Later
  9. Faster jQuery
  10. Benefiting from the Work of Others with Plugins

商品描述(中文翻譯)

主要特點



  • 高效地建立動態網站,無需擔心性能問題

  • 學習使用現有的jQuery插件,或為您的網站編寫自己的插件

  • 本書是目前市場上最新的書籍,充滿詳細的解釋和實際案例

書籍描述


jQuery仍然是最受歡迎的JavaScript庫。它在互聯網上排名前60%的網站中使用。它的目的是使開發人員更容易進行DOM操作(即在網頁上移動元素)。它通過JavaScript將HTML元素分配給DOM屬性。由於它是一個預定義函數的庫,您只需要對語法有一定的了解,並且有一個可供您使用的函數參考即可開始使用jQuery。


這本實用指南將向您展示如何充分利用jQuery來提升您的網站和應用程序的性能。我們首先快速瀏覽jQuery的基礎知識,然後解釋jQuery的選擇器、過濾器和DOM元素操作。之後,您將學習如何使用事件和動畫來創建和設計美觀且用戶友好的網站。接下來,您將熟悉Ajax功能,以幫助您從服務器發送和接收數據。最後,我們將引導您使用內置插件,並最終為您的網站創建自己的插件。


通過閱讀本書,您將能夠成功地使用jQuery來構建強大而高效的網站。

您將學到什麼



  • 快速查找和修改HTML DOM元素

  • 使用動畫為您的網站增添風格

  • 創建自己的事件以解耦應用程序

  • 測量您的網站JavaScript的性能

  • 編寫單元測試以確保應用程序的正確行為

  • 使用插件來節省重複造輪子的時間,並快速增強您的網站

  • 在表單上使用客戶端驗證,以防止用戶向應用程序發送錯誤數據

  • 編寫自己的jQuery插件,以封裝您公司的業務邏輯

關於作者


Troy Miles,也被稱為Rockncoder,35年前開始使用組合語言為早期計算機(如Apple II,Vic20,C64和IBM PC)編寫遊戲。目前,他在一家位於南加州的汽車估值和信息公司編寫Web應用程序。在晚上和週末,他通常會寫酷炫的移動應用程序或教授其他開發人員如何做到這一點。他喜歡在他的博客http://therockncoder.com上發布有趣的代碼片段,並在他的YouTube頻道https://www.youtube.com/user/rockncoder上發布視頻。您可以通過rockncoder@gmail.com與他聯繫。

目錄



  1. 逐部分學習jQuery

  2. jQuery選擇器和過濾器

  3. 操作DOM

  4. 事件

  5. 使用jQuery使您的網站更出色

  6. 使用jQuery改進表單

  7. 與服務器通信

  8. 編寫易於閱讀的代碼

  9. 更快的jQuery

  10. 使用插件受益於他人的工作