Best Jquery Plugins

Post on 10-Nov-2014

29 views 5 download

description

Jquery tutorial, best tutorial

Transcript of Best Jquery Plugins

Learning from the Best jQuery Plugins

by Marc Grabanski

Created jQuery UI Datepicker and watch it grow like a weed

Made me very interestedin examining plugins projects

TONS of jQuery Plugins

Looked at 500+ pluginsand selected 30+ best

Picked plugins based on what I use or what was recommended

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

My BEST plugins list

What lessons can learn by examining plugin projects?

Everything one click away

Focused on Community

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

point or another, has written..”

Ben Alman

Themes

very customizable, 36 options

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

Jack Moore

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

picked it up from there”

Simple API, great functionality, looks good

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

Klaus Hartl

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

Mike Alsup

tons of demoscommitment to community

mixes date picker with english

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

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

Luca Manno

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

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

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

Mike Alsup

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

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

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

answers our burning questions of browser support

right away

diverse demos shows versatility

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

Ole

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

“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

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

“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.”

http://sorgalla.com/jcarousel/

DEMOS!

DEMOS!

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

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

development blogs.”

DEMOS!

 “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

Deep API and supporting documentation

DEMOS!

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

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

http://www.jstree.com/

deep documentation and demos

“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

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

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

“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”

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

“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.”

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

“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”

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

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

Ariel Flesler

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

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

http://tablesorter.com/docs/

“[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

“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.”

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

“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.”

http://jqueryui.com/

ThemeRoller

http://www.uploadify.com/

Demos

“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

plugin theme SONG

In Summary

Authors Build Plugins to..

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

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

The Best Plugins Have

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

Questions?

Marc Grabanski: http://marcgrabanski.com

Twitter: http://twitter.com/1MarcEmail: m@marcgrabanski.com

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