Free Sample
+ Collection

Instant jQuery Boilerplate for Plugins

Jonathan Fielding

Get started with jQuery plugin development with this rapid-paced guide
RRP $14.99

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781849519700
Paperback82 pages

About This Book

  • 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

Who This Book Is For

This book is for JavaScript enthusiasts who are looking for hands on recipes to help them develop their own plug-ins.

Table of Contents

Chapter 1: Instant jQuery Boilerplate for Plugins
Getting started with jQuery plugins (Simple)
Getting started with your first plugin (Simple)
Creating a simple JSON reader (Simple)
jQuery Hover panels with jQuery Boilerplate (Simple)
Writing a carousel with jQuery Boilerplate (Intermediate)
AJAX bookshelves with jQuery Boilerplate (Advanced)
Writing a validation plugin using jQuery Boilerplate (Intermediate)

What You Will Learn

  • 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

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.


Read More