jQuery Plugin Development in 30 Minutes: How to build jQuery plugins that are easy to maintain, update, and collaborate on

i30 Media Corporation
Free sample

As an experienced jQuery plugin developer and the operator of a website devoted to jQuery education, I have had many opportunities to talk with other developers and understand what works and what doesn’t when it comes to learning how to build plugins. This short guide is intended to quickly get you up to speed with core concepts, which enable you to start building plugins of your own.

Experienced developers know that well-written jQuery plugins can reduce bugs, increase efficiency, improve collaboration, and save time. In jQuery Plugin Development in 30 Minutes, I'll show you how to write clean and efficient jQuery plugins that are easy to maintain and collaborate on. While jQuery Plugin Development in 30 Minutes is intended for people who already have some experience with JavaScript and jQuery, most of the concepts in the guide will not require any advanced knowledge. Topics include:
  • Creating a plugin 
  • Prototyping
  • Generate, Init, and Destroy
  • Handling events
  • Plugin options
  • Setters and Getters
  • Styling, CSS, and themes
  • Callbacks
  • Browser and mobile support
  • File organization and versioning
  • Boilerplate
I've also included bonus content, including sections on jQuery methods, utilities, selectors, and events, as well as a jQuery glossary. jQuery Plugin Development in 30 Minutes really is intended to be a short but productive read -- my intention is to avoid the fluff and filler that make up 80% of most programming books, and just get straight to the point!

The full table of contents is below:

Introduction
- About This Guide 
- Why jQuery Plugins? 

Section 01: Creation 
- Naming 
- Closures 
- Plugin Function 
- Summary 

Section 02: Prototyping
- The Main Loop 
- The get() Method
- Plugin Class
- Prototyping
- Summary

Section 03: Conventions 
- Generate
- Destroy 
- Init 
- $var 
- Private Functions 
- This & That 
- $.proxy() 
- Summary 

Section 04: Events 
- Note on .hover() 
- e.currentTarget vs e.target 
- Disabling Event Bubbling 
- Naming Events 
- Naming Functions 
- Summary 

Section 05: Options 
- Default Options 
- Plugin Options 
- Additional Options 
- Data Options 
- Advanced Options Setter 
- Summary 

Section 06: Setters and Getters 
- Setters 
- Getters 
- Methods 
- The Routine 
- Auto-Creation 
- Summary 

Section 07: CSS and Themes 
- Naming 
- CSS 
- Setting Themes 
- Multiple Themes 
- Summary 

Section 08: Effects 
- States 
- Controller 
- Summary 

Section 09: Callbacks 
- Setup 
- Ajax 
- Naming 
- Summary 

Section 10: Browser and Mobile Support 
- Browser Support 
- Extending $.support 
- Mobile Support 
- Summary 

Section 11: File Organization 
- Simple 
- With Grunt 
- Git 
- Versioning 
- Summary 

Section 12: Boilerplate 

Section 13: Conclusion 

Bonus Content 
Section 14: jQuery Methods 
Section 15: jQuery Utilities 
Section 16: jQuery Selectors 
Section 17: jQuery Events 
Glossary
Read more

About the author

Robert Duchnik is an experienced full-stack web developer with over ten years of experience in the field. He has worked as a lead coordinating large-scale projects serving millions of users. He is also the author of Websanova, a blog that covers web development topics and hosts a myriad of popular open source jQuery plugins. jQuery Plugin Development in 30 Minutes is Duchnik's first guide. 

Read more
Loading...

Additional Information

Publisher
i30 Media Corporation
Read more
Published on
Apr 1, 2014
Read more
Pages
86
Read more
ISBN
9781939924599
Read more
Language
English
Read more
Genres
Computers / General
Computers / Internet / Application Development
Computers / Programming / General
Computers / Programming Languages / JavaScript
Read more
Content Protection
This content is DRM free.
Read more
Read Aloud
Available on Android devices
Read more
Eligible for Family Library

Reading information

Smartphones and Tablets

Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.

Laptops and Computers

You can read books purchased on Google Play using your computer's web browser.

eReaders and other devices

To read on e-ink devices like the Sony eReader or Barnes & Noble Nook, you'll need to download a file and transfer it to your device. Please follow the detailed Help center instructions to transfer the files to supported eReaders.
Node.js is the platform of choice for creating modern web services. This fast-paced book gets you up to speed on server-side programming with Node.js 8, as you develop real programs that are small, fast, low-profile, and useful. Take JavaScript beyond the browser, explore dynamic language features, and embrace evented programming.Harness the power of the event loop and non-blocking I/O to create highly parallel microservices and applications. This expanded and updated second edition showcases the latest ECMAScript features, current best practices, and modern development techniques.

JavaScript is the backbone of the modern web, powering nearly every web app's user interface. Node.js is JavaScript for the server. This greatly expanded second edition introduces new language features while dramatically increasing coverage of core topics. Each hands-on chapter offers progressively more challenging topics and techniques, broadening your skill set and enabling you to think in Node.js.

Write asynchronous, non-blocking code using Node.js's style and patterns. Cluster and load balance services with Node.js core features and third-party tools. Harness the power of databases such as Elasticsearch and Redis. Work with many protocols, create RESTful web services, TCP socket clients and servers, and more. Test your code's functionality with Mocha, and manage its life cycle with npm. Discover how Node.js pairs a server-side event loop with a JavaScript runtime to produce screaming fast, non-blocking concurrency. Through a series of practical programming domains, use the latest available ECMAScript features and harness key Node.js classes and popular modules. Create rich command-line tools and a web-based UI using modern web development techniques.

Join the smart and diverse community that's rapidly advancing the state of the art in JavaScript development.

What You Need:

Node.js 8.xOperating system with bash-like shellOMQ (pronounced "Zero-M-Q") library, version 3.2 or higherElasticsearch version 5.0 or higherjq version 1.5 or higherRedis version 3.2 or higher

©2018 GoogleSite Terms of ServicePrivacyDevelopersArtistsAbout Google|Location: United StatesLanguage: English (United States)
By purchasing this item, you are transacting with Google Payments and agreeing to the Google Payments Terms of Service and Privacy Notice.