Instant jQuery Boilerplate for Plugins
Jonathan Fielding
- 出版商: Packt Publishing
- 出版日期: 2013-09-13
- 售價: $1,240
- 貴賓價: 9.5 折 $1,178
- 語言: 英文
- 頁數: 82
- 裝訂: Paperback
- ISBN: 1849519706
- ISBN-13: 9781849519700
-
相關分類:
jQuery
海外代購書籍(需單獨結帳)
相關主題
商品描述
Get started with jQuery plugin development with this rapid-paced guide
Overview
- Learn something new in an Instant! A short, fast, focused guide delivering immediate results
- Build your first basic jQuery Plugin
- Learn how to make your plugin configurable
- Get to grips with the structure of jQuery Boilerplate
In Detail
jQuery plugins helps you to extend jQuery’s prototype object. jQuery plugins are used to achieve a specific task with a collection of elements, they are modular and reusable across several projects.
Instant jQuery Boilerplate for Plugins is a hands on guide to writing your own plugins. The recipes in this book will guide you through the steps of plug-in development.
Each recipe is a short tutorial within itself that will help you explore different options available within jQuery by providing a clear explanation on what jQuery Boilerplate has to offer. By the end of the book, you will have learned how to write a plugin and will be ready to start writing plugins of your own.
What you will learn from this book
- How to structure your first plugin
- How to use YQL to write a plugin that is able to read from the Twitter API
- How to write your very own carousel
- How to write your own jQuery Validation plugin
- How to test your plug-in with QUnit
- How to make your plugins flexible and reusable
Approach
Filled with practical, step-by-step instructions and clear explanations for the most important and useful tasks. This book is a how-to manual complete with recipes that range from writing a simple plug-in to adding enhancements/features to your plug-in.
Who this book is written for
This book is for JavaScript enthusiasts who are looking for hands on recipes to help them develop their own plug-ins.
商品描述(中文翻譯)
開始進行 jQuery 插件開發的快速指南
概述
- 立即學習新知!一本短小、快速、專注的指南,提供即時成果
- 建立你的第一個基本 jQuery 插件
- 學習如何使你的插件可配置
- 熟悉 jQuery Boilerplate 的結構
詳細內容
jQuery 插件幫助你擴展 jQuery 的原型物件。jQuery 插件用於對一組元素執行特定任務,它們是模組化的,並且可以在多個專案中重複使用。
Instant jQuery Boilerplate for Plugins 是一本實用的指南,教你如何撰寫自己的插件。本書中的食譜將指導你完成插件開發的步驟。
每個食譜都是一個短小的教程,幫助你探索 jQuery 中可用的不同選項,並清楚解釋 jQuery Boilerplate 的功能。到書的結尾,你將學會如何撰寫插件,並準備開始撰寫自己的插件。
你將從這本書中學到的內容
- 如何結構化你的第一個插件
- 如何使用 YQL 撰寫能夠從 Twitter API 讀取的插件
- 如何撰寫你自己的輪播
- 如何撰寫自己的 jQuery Validation 插件
- 如何使用 QUnit 測試你的插件
- 如何使你的插件靈活且可重用
方法
本書充滿實用的逐步指導和對最重要、最有用任務的清晰解釋。這是一本完整的操作手冊,包含從撰寫簡單插件到為你的插件添加增強功能/特性的食譜。
本書的讀者對象
這本書是為尋求實用食譜以幫助他們開發自己插件的 JavaScript 愛好者而寫的。