learning from the best jquery plugins

102
Learning from the Best jQuery Plugins by Marc Grabanski

Upload: marc-grabanski

Post on 18-May-2015

9.677 views

Category:

Technology


1 download

DESCRIPTION

This talk is geared towards users of jQuery plugins who are looking to pick the best plugins and plugin authors who would like a holistic review of existing jQuery plugins and what things to consider when making your own plugins. Marketing tactics and approaches to spreading the word about your plugin will also be discussed.

TRANSCRIPT

Page 1: Learning from the Best jQuery Plugins

Learning from the Best jQuery Plugins

by Marc Grabanski

Page 2: Learning from the Best jQuery Plugins

Created jQuery UI Datepicker and watch it grow like a weed

Page 3: Learning from the Best jQuery Plugins

Made me very interestedin examining plugins projects

Page 4: Learning from the Best jQuery Plugins

TONS of jQuery Plugins

Page 5: Learning from the Best jQuery Plugins

Looked at 500+ pluginsand selected 30+ best

Page 6: Learning from the Best jQuery Plugins

Picked plugins based on what I use or what was recommended

Page 7: Learning from the Best jQuery Plugins

jQuery Plugins Toolboxhttp://marcgrabanski.com/jquery-plugins-toolbox/

My BEST plugins list

Page 8: Learning from the Best jQuery Plugins

What lessons can learn by examining plugin projects?

Page 10: Learning from the Best jQuery Plugins

Everything one click away

Page 11: Learning from the Best jQuery Plugins

Focused on Community

Page 12: Learning from the Best jQuery Plugins

“it started out as a little snippet of code that almost every web developer, at one

point or another, has written..”

Ben Alman

Page 15: Learning from the Best jQuery Plugins

Themes

Page 16: Learning from the Best jQuery Plugins

very customizable, 36 options

Page 17: Learning from the Best jQuery Plugins

“I would make a selection based on how well it's appearance fit the project at hand.”

Jack Moore

Page 18: Learning from the Best jQuery Plugins

“..added it to the jQuery plugin repository and make a post about it on Reddit.com. Bloggers

picked it up from there”

Page 20: Learning from the Best jQuery Plugins

Simple API, great functionality, looks good

Page 22: Learning from the Best jQuery Plugins

“jQuery itself lacked such functionality. cookie handling is such a basic requirement”

Klaus Hartl

Page 24: Learning from the Best jQuery Plugins

“at this stage in its lifecycle it's less about adding features and more about adding demos.”

Mike Alsup

Page 25: Learning from the Best jQuery Plugins

tons of demoscommitment to community

Page 27: Learning from the Best jQuery Plugins

mixes date picker with english

Page 28: Learning from the Best jQuery Plugins

http://lab.smashup.it/flip/

Page 29: Learning from the Best jQuery Plugins

“I built Flip after discovering that you can create triangles/polygons by changing border properties of an element”

Luca Manno

Page 30: Learning from the Best jQuery Plugins

“people started downloading it and ask me for new features/bug fixing”

Page 31: Learning from the Best jQuery Plugins

http://jquery.malsup.com/form/

Page 32: Learning from the Best jQuery Plugins

“early 2008 the form plugin initially evolved as a collaborative effort [through the mailing list].”

Mike Alsup

Page 33: Learning from the Best jQuery Plugins

“The most notable feature addition I made was the ability to support file uploads.”

Page 34: Learning from the Best jQuery Plugins

“I really don't make an effort to spread the word about the Form Plugin, it seems to thrive on its own.”

Page 35: Learning from the Best jQuery Plugins

http://code.google.com/p/flot/

Page 36: Learning from the Best jQuery Plugins

answers our burning questions of browser support

right away

Page 37: Learning from the Best jQuery Plugins

diverse demos shows versatility

Page 38: Learning from the Best jQuery Plugins

“the existing open source Javascript chart solutions were somewhat limited. We specifically missed some interactive features for a client”

Ole

Page 39: Learning from the Best jQuery Plugins

“It is complicated. Really, you need to weigh the usefulness of new features against the complexity they add.”

Page 42: Learning from the Best jQuery Plugins

“I built this plugin just to scratch an itch. I needed a masked input for a project I was working on and I wasn't happy with the current offerings” Josh

Page 43: Learning from the Best jQuery Plugins

“The only place I've ever really talked about it was on the jQuery mailing list”

Page 44: Learning from the Best jQuery Plugins

“Several people have submitted patches and bug reports. When I see something that I feel like I

might use, then I'll implement it or roll a patch in.”

Page 45: Learning from the Best jQuery Plugins

http://sorgalla.com/jcarousel/

Page 46: Learning from the Best jQuery Plugins

DEMOS!

Page 48: Learning from the Best jQuery Plugins

DEMOS!

Page 49: Learning from the Best jQuery Plugins

“I originally built Jcrop because I had searched for competing image cropping plugins for jQuery and the offerings were marginal.” Kelly Hallman

Page 50: Learning from the Best jQuery Plugins

“I sent out a message to the jQuery mailing list and sent messages inviting several high-profile web

development blogs.”

Page 53: Learning from the Best jQuery Plugins

DEMOS!

Page 54: Learning from the Best jQuery Plugins

 “as a Mac user I was familiar with Growl and decided that would serve as a good basis for what

we were trying to do.”

Stan Lemon

Page 56: Learning from the Best jQuery Plugins

Deep API and supporting documentation

Page 57: Learning from the Best jQuery Plugins

DEMOS!

Page 58: Learning from the Best jQuery Plugins

“I started the idea when I needed an easy way to represent database information in my project.” Tony

Page 59: Learning from the Best jQuery Plugins

“I really try to extract the essence from the user requests.”

Page 61: Learning from the Best jQuery Plugins

http://www.jstree.com/

Page 62: Learning from the Best jQuery Plugins

deep documentation and demos

Page 63: Learning from the Best jQuery Plugins

“I decided to create a tree view after spending countless hours in searching for a tree that met all the requirements for a web-based CMS I was creating” Ivan

Page 64: Learning from the Best jQuery Plugins

http://layout.jquery-dev.net/

Page 66: Learning from the Best jQuery Plugins

“I build it for my personal need. I needed an simple editor which was not a bloated WYSIWYG editor.” Jay Salvat

Page 70: Learning from the Best jQuery Plugins

“I was really tired of seeing the same lightbox modal windows”

Christoph Schüßler

“I wanted a gallery that could exist inline with the content”

Page 71: Learning from the Best jQuery Plugins

“I posted a link on dzone and on on digg.”

Page 72: Learning from the Best jQuery Plugins

“I added a dedicated site and an account at uservoice ... there are also many requests which I'm not going to follow, as they deviated too much from

the original purpose of the plugin.”

Page 74: Learning from the Best jQuery Plugins

Partnered with a designer to“create stunning demo & documentation website”

Page 75: Learning from the Best jQuery Plugins

“I loved this effect on Mac apps”

Jack

“I don't like Flash”

“[I wanted to] do something cool and share it with people.. give back”

Page 76: Learning from the Best jQuery Plugins

“submitted the plugin to the jQuery website plugin repository, and drop a message on the jQuery group.”

Page 78: Learning from the Best jQuery Plugins

“After reading Karl's article I realized that was a pretty useful thing that I needed myself”

Ariel Flesler

Page 79: Learning from the Best jQuery Plugins

“I didn't do much really, I posted on jquery-en about it, and kept doing that for major releases.”

Page 80: Learning from the Best jQuery Plugins

“I tried filtering through the requests and rejecting those features that seemed out of scope.”

Page 82: Learning from the Best jQuery Plugins

http://tablesorter.com/docs/

Page 84: Learning from the Best jQuery Plugins

“[there is a] universally accepted form and behavior [of calendars] while there is no such thing for a time picker.”

“Principally for fun and exploration purpose.”

Maxime Haineault

Page 85: Learning from the Best jQuery Plugins

“I posted a link on reddit and woke up the next morning to see that my submission had taken off quite well, enough to crash my VPS and down my

site overnight.”

Page 86: Learning from the Best jQuery Plugins

“.. when other programmers send me patches, I always commit them as soon as I can.”

Page 87: Learning from the Best jQuery Plugins

“The most enriching part was probably learning how to deal with many ‘willing’ contributors. I

learned that often hell is paved with good intentions, but I also learned how to manage hell.”

Page 89: Learning from the Best jQuery Plugins

http://jqueryui.com/

Page 90: Learning from the Best jQuery Plugins

ThemeRoller

Page 92: Learning from the Best jQuery Plugins

http://www.uploadify.com/

Page 94: Learning from the Best jQuery Plugins

Demos

Page 95: Learning from the Best jQuery Plugins

“The validation plugin is the only one I've wrote from scratch, the others, like Tooltip, Accordion and Autocomplete, started with some code from someone else, usually where someone abandoned his plugin.”

Jörn

Page 97: Learning from the Best jQuery Plugins

plugin theme SONG

Page 98: Learning from the Best jQuery Plugins

In Summary

Page 99: Learning from the Best jQuery Plugins

Authors Build Plugins to..

• Make Something Better• Fun / Exploration• Client Needs it

Page 100: Learning from the Best jQuery Plugins

It is tough to decide on features and manage users’ feedback and patches.

Page 101: Learning from the Best jQuery Plugins

The Best Plugins Have

• Great demos• Documentation• Browser Support / Testing• Fun!

Page 102: Learning from the Best jQuery Plugins

Questions?

Marc Grabanski: http://marcgrabanski.com

Twitter: http://twitter.com/1MarcEmail: [email protected]

User interface and web application development. Examples: http://mjgin.com/work.html