Instant jQuery Boilerplate for Plugins
()
About this ebook
Related to Instant jQuery Boilerplate for Plugins
Related ebooks
Instant Jsoup How-to Rating: 0 out of 5 stars0 ratingsInstant Wijmo Widgets How-to Rating: 0 out of 5 stars0 ratingsJavaScript Projects for Kids Rating: 0 out of 5 stars0 ratingsInstant Passbook App Development for iOS How-to Rating: 0 out of 5 stars0 ratingsExt JS 4 Plugin and Extension Development Rating: 0 out of 5 stars0 ratingsJoomla! 1.5 Development Cookbook Rating: 0 out of 5 stars0 ratingsLearning jQuery 3 - Fifth Edition Rating: 0 out of 5 stars0 ratingsjQuery Mobile Web Development Essentials - Third Edition Rating: 0 out of 5 stars0 ratingsInstant Java Password and Authentication Security Rating: 0 out of 5 stars0 ratingsInstant HTML5 Responsive Table Design How-to Rating: 0 out of 5 stars0 ratingsWeb Development with Jade Rating: 0 out of 5 stars0 ratingsBuilding Web Applications with Flask Rating: 0 out of 5 stars0 ratingsGetting Started with nopCommerce Rating: 0 out of 5 stars0 ratingsLo-Dash Essentials Rating: 0 out of 5 stars0 ratingsGetting Started with React Native Rating: 4 out of 5 stars4/5Instant jQuery Selectors Rating: 0 out of 5 stars0 ratingsInstant jQuery Masonry How-to Rating: 0 out of 5 stars0 ratingsAdvanced Express Web Application Development Rating: 0 out of 5 stars0 ratingsBuilding Slack Bots Rating: 0 out of 5 stars0 ratingsMastering Python Design Patterns Rating: 0 out of 5 stars0 ratingsGameMaker Essentials Rating: 0 out of 5 stars0 ratingsGetting Started with Magento Extension Development Rating: 0 out of 5 stars0 ratingsGradle Dependency Management Rating: 0 out of 5 stars0 ratingsGetting Started with PhantomJS Rating: 0 out of 5 stars0 ratingsGetting Started with OpenCart Module Development Rating: 0 out of 5 stars0 ratingsInstant Handlebars.js Rating: 0 out of 5 stars0 ratingsMastering PyCharm Rating: 5 out of 5 stars5/5OpenCart Theme and Module Development Rating: 0 out of 5 stars0 ratingsImplementing AppFog Rating: 0 out of 5 stars0 ratings
Programming For You
SQL QuickStart Guide: The Simplified Beginner's Guide to Managing, Analyzing, and Manipulating Data With SQL Rating: 4 out of 5 stars4/5Coding All-in-One For Dummies Rating: 4 out of 5 stars4/5Learn to Code. Get a Job. The Ultimate Guide to Learning and Getting Hired as a Developer. Rating: 5 out of 5 stars5/5Hacking: Ultimate Beginner's Guide for Computer Hacking in 2018 and Beyond: Hacking in 2018, #1 Rating: 4 out of 5 stars4/5Python Programming : How to Code Python Fast In Just 24 Hours With 7 Simple Steps Rating: 4 out of 5 stars4/5Excel : The Ultimate Comprehensive Step-By-Step Guide to the Basics of Excel Programming: 1 Rating: 5 out of 5 stars5/5Grokking Algorithms: An illustrated guide for programmers and other curious people Rating: 4 out of 5 stars4/5Learn PowerShell in a Month of Lunches, Fourth Edition: Covers Windows, Linux, and macOS Rating: 0 out of 5 stars0 ratingsHTML & CSS: Learn the Fundaments in 7 Days Rating: 4 out of 5 stars4/5SQL All-in-One For Dummies Rating: 3 out of 5 stars3/5Python: For Beginners A Crash Course Guide To Learn Python in 1 Week Rating: 4 out of 5 stars4/5The Unofficial Guide to Open Broadcaster Software: OBS: The World's Most Popular Free Live-Streaming Application Rating: 0 out of 5 stars0 ratingsPYTHON: Practical Python Programming For Beginners & Experts With Hands-on Project Rating: 5 out of 5 stars5/5Java for Beginners: A Crash Course to Learn Java Programming in 1 Week Rating: 5 out of 5 stars5/5Python for Beginners: Learn the Fundamentals of Computer Programming Rating: 0 out of 5 stars0 ratingsLearn JavaScript in 24 Hours Rating: 3 out of 5 stars3/5Python: Learn Python in 24 Hours Rating: 4 out of 5 stars4/5TensorFlow in 1 Day: Make your own Neural Network Rating: 4 out of 5 stars4/5SQL: For Beginners: Your Guide To Easily Learn SQL Programming in 7 Days Rating: 5 out of 5 stars5/5Linux: Learn in 24 Hours Rating: 5 out of 5 stars5/5Python Machine Learning By Example Rating: 4 out of 5 stars4/5HTML in 30 Pages Rating: 5 out of 5 stars5/5Programming Arduino: Getting Started with Sketches Rating: 4 out of 5 stars4/5
Reviews for Instant jQuery Boilerplate for Plugins
0 ratings0 reviews
Book preview
Instant jQuery Boilerplate for Plugins - Jonathan Fielding
Table of Contents
Instant jQuery Boilerplate for Plugins
Credits
About the Author
About the Reviewer
www.PacktPub.com
Support files, eBooks, discount offers and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Instant jQuery Boilerplate for Plugins
Getting started with jQuery plugins (Simple)
Getting ready
How to do it
There's more
Wrapping your plugin in a closure
Passing settings as an object literal
Claiming only one namespace
Always returning this
Getting started with your first plugin (Simple)
Getting ready
How to do it
Creating a simple JSON reader (Simple)
Getting ready
How to do it
jQuery Hover panels with jQuery Boilerplate (Simple)
Getting Ready
How to do it...
Writing a carousel with jQuery Boilerplate (Intermediate)
Getting Ready
How to do it...
There's more...
AJAX bookshelves with jQuery Boilerplate (Advanced)
Getting ready
How to do it…
There's more...
Extending our plugin
Writing a validation plugin using jQuery Boilerplate (Intermediate)
Getting ready
How to do it...
There's more...
jQuery plugins documentation
GitHub help
JonathanFielding.com
Instant jQuery Boilerplate for Plugins
Instant jQuery Boilerplate for Plugins
Copyright © 2013 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: August 2013
Production Reference: 1170813
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-84951-970-0
www.packtpub.com
Credits
Author
Jonathan Fielding
Reviewer
Marcello di Simone
Acquisition Editor
James Jones
Commissioning Editor
Shreerang Deshpande
Technical Editors
Anita Nayak
Sonali S. Vernekar
Copy Editors
Brandt T. D'Mello
Gladson Monteiro
Alfida Paiva
Laxmi Subramanian
Project Coordinator
Suraj Bist
Proofreader
Stephen Copestake
Production Coordinator
Conidon Miranda
Cover Work
Conidon Miranda
About the Author
Jonathan Fielding attended the University of Hull where he studied Internet computing. Since completing his degree, he has worked for a variety of companies across banking and marketing fields, developing both frontend and backend systems.
Jonathan currently works for McCormack & Morrison, a digital agency based in London, UK, developing responsive websites for clients that include Virgin Active, Nyetimber, and Intent Media.
As a regular contributor to open source, he has launched several of his own open source projects, including several jQuery plugins, and regularly publishes tutorials on his blog with the aim of sharing knowledge.
I would like to thank my wife, Charlie, and my two fantastic children for supporting me while I have been writing this book.
About the Reviewer
Marcello di Simone is a senior web developer with a strong focus on frontend technologies (such as JavaScript, Node.js, HTML, and CSS) and is currently developing native mobile games for Android at Innogames GmbH in his adopted home, Hamburg, Germany.
www.PacktPub.com
Support files, eBooks, discount offers and more
You might want to visit www.PacktPub.com for support files and downloads related to your book.
Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and, as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at
At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.
http://PacktLib.PacktPub.com
Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can access, read and search across Packt's entire library of books.
Why Subscribe?
Fully searchable across every book published by Packt
Copy-and-paste, print and bookmark content
On-demand and accessible via web browsers
Free Access for Packt account holders
If you have an account with Packt at www.PacktPub.com, you can use this to access PacktLib today and view nine entirely free books. Simply use your login credentials for immediate access.
Preface
Instant jQuery Boilerplate for Plugins is a guide to getting started with writing your first jQuery plugin. We will explore the different options available, offer a full breakdown of what jQuery Boilerplate has to offer, and then go through several tutorials to get you comfortable with writing a plugin. Once you have got to grips with writing your plugin, we will finally explore how you can go about making your own plugin and making it available as an open source project.
What this book covers
Getting started with jQuery plugins (Simple) explores the steps we need to take to prepare ourselves for jQuery plugin development using jQuery Boilerplate.
Getting started with your first plugin (Simple) will get us started with writing our first plugin. We will write a simple plugin that swaps the shape that is shown