SlideShare a Scribd company logo
1 of 47
Download to read offline
Open Source Process:
      jQuery
                  John Resig
 http://ejohn.org/ - http://twitter.com/jeresig
jQuery
✦   A JavaScript library designed to hide
    painful cross-browser compatibility issues
    while presenting a solid, usable, API.
Simple API
✦   $(“div > span”).addClass(“foo”);
    ✦ “Find some elements”
    ✦ “Do something with them”

✦   Makes complex manipulation of web pages
    simple
Points of Concern
✦   Primary issues:
    ✦ Quality of API
    ✦ Quality of browser-issue-hiding

✦   Other issues:
    ✦ Speed, community, licensing,
      development team, openness, test
      coverage, API documentation, tutorials,
      books, demos
Space
✦   Highly competitive space
✦   Released Jan. 2006 - already a dominant
    player: Prototype JavaScript Library
✦   (Bundled with Ruby on Rails, had some
    nice coattail growth.)
✦   Other libraries: Dojo, Yahoo UI,
    MooTools
Things That Are Important
✦   Technical
    ✦ API Design
      (Usability, documentation)
    ✦ Code Quality
      (Licensing, openness, test coverage)
✦   Non-technical
    ✦ Community
      (Resources, responsiveness)
    ✦ Learning Aides
      (Tutorials, books, demos)
What it all boils down to...
✦   How quickly can you get your user hooked
    - and are you giving them room, and the
    resources, to grow?


✦   Put yourself in your user’s shoes.
Se                                                In                                                        H
                           co                                                te                                                          om
                             nd                                                   gr                                                           ep
                                                                                     at
                                     Ap                                                 io                                                           ag
                                           p                                              n                                                            e


                         Ex                                                                                                         Vi
                              pl                                           AP                                                            ew
                                   or                                        ID                                                               Tu
                                     eA                                              oc                                                          t  or
                                       PI                                               s                                                              ial

                                                                           Co                                                        D
                                                                             m                                                           ow
                         Ex
                              te                                                   m                                                           nl
                                                                                    un                                                              oa
                                nd                                                     i   ty                                                         d
                                     AP
                                       I

                                                                                                                                    Tr
                         Re
                                                                            Tu
                                                                               t                                                       y   Tu
                           ad                                                     or                                                          t
                                                                                     ial                                                        or
                                   So                                                    s                                                         ial
                                     ur
                                       ce

The First Year: Growth
                                               The First Month: Learning
                                                                                                 The First Day: Can this help me?




                         Co
                           nt                                              Ex                                                       Ex
                                   rib                                       pe                                                          pe
                                      ut                                        r   im                                                      r   im
                                         e                                             en                                                            en
                                                                                             t                                                         t
                                                                                                                                                             Watch the full process
Attrition
Failure at any step costs your project another user.

      Your project is your own worst enemy.
The First Day
 “After spending less than 3 hours reading blog posts
  and perusing the documentation I was able to do a
lot more in a lot less time then ever before. The huge
   community and neatly organized jQuery plugins
 make me feel like a sucker for not having jQuery for
                    my pet-project.”

  http://aleembawany.com/2009/01/16/switching-from-prototype-to-jquery/
Homepage
✦   Set a good first impression
✦   Answer the questions:
    ✦ What is this?
    ✦ What can it do for me?
    ✦ Where can I go to learn more?
Getting Started Tutorial
✦   Clear, focused
✦   Assume no background knowledge
Download
✦   Make it super-easy, remove any barriers
✦   (We link straight to the source, no .zip)
Licensing
✦   Not a concern for some of people
✦   A huge concern for a lot of corporate users
✦   Use the most-open license possible
    ✦ Fewest number of restrictions gives you
      the largest possible market
✦   We use the MIT license for jQuery
    ✦ “Leave my name on the source file”
Try the Tutorial
✦   ...and subsequent Experimentation
✦   All about code quality
    ✦ For JavaScript libraries: Make sure your
      code is seamless across browsers
    ✦ For desktop apps: Is it truly cross-
      platform? Are there dependencies?
✦   The user should never be forced to ask for
    help in order to get started
    ✦ Asking for help “getting started” is a
      failure case on your end
Simplicity
✦   Simple APIs are king
✦   Users understand quicker
✦   Get started faster
✦   Become advanced quicker
The First Month
“Alright I am now really really into jQuery. I used to
hate javascript. WHAT HAS HAPPENED HERE?
           Javascript people, speak to me.”

            http://twitter.com/_ralph/status/1123503553
Community Resources
✦   Provide places for users to ask questions
✦   jQuery:
    ✦ jQuery Forum
    ✦ IRC Channel

✦   External:
    ✦ StackOverflow.com
    ✦ Twitter
    ✦ Blogs
Monitor Your Community
✦   Make sure that everyone is getting the
    help that they need
✦   We run an Evangelism Team
    “Developer Relations”
✦   Track all of the services they use
    ✦ Forum - Subscribe to the forums
    ✦ IRC - Sit in the IRC channel
    ✦ Blogs - Use Technorati and Google Blog
      Search
    ✦ Twitter - Use Twitter Search
Service
Treat every user as a potential, future, contributor.
Service




✦   Today Mike Alsup and Michael Geary are
    part of the jQuery team
Twitter Tracking
✦   Track people talking about the code:
    ✦ http://search.twitter.com/

✦   Look for people having trouble, asking
    questions
Answer Questions
✦   It takes a lot of time, but sometimes it’s
    really worth it
✦   You never know who could be having
    trouble
Follow-up With Large Users
✦   Maintain a list of contacts with your large
    users
✦   Ping them every once in a while
✦   Make sure that they’re having a good
    experience
✦   They frequently forget to file bugs - make
    sure that happens
API Documentation
✦   jQuery had API docs from the start (2006)
✦   Two other major libraries: Dojo, Prototype
    didn’t have any until 2007+
✦   Clarity and usability of documentation is
    huge
API Example
Alternative Views
Learn More
✦   Tutorials and Books
✦   Tutorials are short and drive home a point
    or single topic
✦   “Books” are more holistic and lead the
    reader from start to finish
Tutorials
The First Year
API Buy-in
✦   Once users start using an API for an
    application they generally stick with it
✦   Every new application is an opportunity to
    snag, or lose, a user
✦   All boils down to attrition: Did your user
    have a good experience building the first
    application?
Growth
You need to give users some place to grow to.
Open Process
✦   Open Source is easy
    (just release the code
    and be done with it)
✦   Open Process is hard
    (open source control,
    easy bug tracking)
✦   A good process helps
    users learn
Core Development Process
✦   Weekly, public, team meetings
✦   Defined release dates and schedule
✦   Frequent discussion in #jquery-dev (IRC)
    ✦ Active participation of the committers
      and the bug triage team
Weekly Meeting Notes
Bug Triage Team
✦   Responsible for processing all the bugs in
    the bug tracker
    ✦ Make sure test cases are filed

✦   Work through pulls in the Github pull
    request queue
✦   Make sure the test suite is passing
Bugs
Roadmap Decisions
✦   Put up a public form for people to submit
    possible feature suggestions
✦   The team works through all the feature
    suggestions and creates a list
    ✦ All of this is done in a publicly and
      discussed in a public meeting
Roadmap
Extensibility
✦   Your API isn’t perfect -
    it can’t include everything
    for everyone
✦   Give users the ability to
    add their own functionality
✦   jQuery has a healthy plugin
    community with hundreds
    of plugins.
✦   Gives jQuery a huge leg up
    on other libraries.
Complex Applications
✦   Users will attempt to build increasingly
    complex applications
✦   Need to be there to help, otherwise they’ll
    leave for something else
✦   jQuery UI - A set of complex User
    Interface components.
jQuery UI
Contributions
✦   How does a user become a contributor?
✦   Encouragement is the biggest factor
    ✦ Encourage users to submit bug reports
    ✦ Encourage them to build test cases
    ✦ Encourage them to submit patches

✦   Praise them when something good is done.
✦   Communication is a huge factor here,
    “dead” bugs or mailing list threads cripple
    participation.
Overview
✦   Help your users at every step of the way
✦   Track them and help the stragglers
✦   Help them grow and flourish




✦   Questions?
    ✦ jeresig@gmail.com
    ✦ http://ejohn.org/
    ✦ http://twitter.com/jeresig

More Related Content

What's hot

What's hot (8)

Open Source Success: jQuery
Open Source Success: jQueryOpen Source Success: jQuery
Open Source Success: jQuery
 
Prompt prezi online_educa_2010
Prompt prezi online_educa_2010Prompt prezi online_educa_2010
Prompt prezi online_educa_2010
 
Fringe eu procurement - sara piller
Fringe   eu procurement - sara pillerFringe   eu procurement - sara piller
Fringe eu procurement - sara piller
 
2010 Honda Insight Hybrid Portland
2010 Honda Insight Hybrid Portland2010 Honda Insight Hybrid Portland
2010 Honda Insight Hybrid Portland
 
Water Related Expertise In Toronto Region July09 Final
Water Related Expertise In Toronto Region   July09 FinalWater Related Expertise In Toronto Region   July09 Final
Water Related Expertise In Toronto Region July09 Final
 
Bookbuzz imagination and innovation
Bookbuzz   imagination and innovationBookbuzz   imagination and innovation
Bookbuzz imagination and innovation
 
Austin Honda Insight Brochure 2010
Austin Honda Insight Brochure 2010Austin Honda Insight Brochure 2010
Austin Honda Insight Brochure 2010
 
Spiral Of Knowledge - 1967
Spiral Of Knowledge - 1967Spiral Of Knowledge - 1967
Spiral Of Knowledge - 1967
 

Viewers also liked

Rebel Prabhas speaks on his surgery
Rebel Prabhas speaks on his surgery   Rebel Prabhas speaks on his surgery
Rebel Prabhas speaks on his surgery telugustop.com
 
Prueba de la teoría de la deriva continental
Prueba de la teoría de la deriva continentalPrueba de la teoría de la deriva continental
Prueba de la teoría de la deriva continentalEdu 648
 
Linea del tiempo
Linea del tiempo Linea del tiempo
Linea del tiempo Dana Rivera
 
Opinión personal sobre la elavoración del blog
Opinión personal sobre la elavoración del blogOpinión personal sobre la elavoración del blog
Opinión personal sobre la elavoración del bloglaycar
 
Tecnologie e Startup: ICT è solo una commodity?
Tecnologie e Startup: ICT è solo una commodity? Tecnologie e Startup: ICT è solo una commodity?
Tecnologie e Startup: ICT è solo una commodity? Matteo Valoriani
 
final pres arts 340 morganm
final pres arts 340 morganmfinal pres arts 340 morganm
final pres arts 340 morganmColin Ingram
 
Syzmik Workwear-Uniform-Vests
Syzmik Workwear-Uniform-VestsSyzmik Workwear-Uniform-Vests
Syzmik Workwear-Uniform-VestsUniformstar
 
водорості
водоростіводорості
водоростіkatia0401
 
Desarrollo histórico de la formación de sociólogos en la universidad
Desarrollo histórico de la formación de sociólogos en la universidadDesarrollo histórico de la formación de sociólogos en la universidad
Desarrollo histórico de la formación de sociólogos en la universidadAnny Jimenez Torrano
 
Changes In Education
Changes In EducationChanges In Education
Changes In Educationbritte2204
 
Diseno de proyectos
Diseno de proyectosDiseno de proyectos
Diseno de proyectossandrap8858
 
Jesus granda criminologia
Jesus granda criminologiaJesus granda criminologia
Jesus granda criminologiajesus_granda07
 

Viewers also liked (20)

Rebel Prabhas speaks on his surgery
Rebel Prabhas speaks on his surgery   Rebel Prabhas speaks on his surgery
Rebel Prabhas speaks on his surgery
 
Final report cive 540 1
Final report cive 540 1Final report cive 540 1
Final report cive 540 1
 
MCPC 2011
MCPC 2011MCPC 2011
MCPC 2011
 
Vim Book
Vim BookVim Book
Vim Book
 
Prueba de la teoría de la deriva continental
Prueba de la teoría de la deriva continentalPrueba de la teoría de la deriva continental
Prueba de la teoría de la deriva continental
 
PDA
PDAPDA
PDA
 
Linea del tiempo
Linea del tiempo Linea del tiempo
Linea del tiempo
 
Opinión personal sobre la elavoración del blog
Opinión personal sobre la elavoración del blogOpinión personal sobre la elavoración del blog
Opinión personal sobre la elavoración del blog
 
Bio3º
Bio3ºBio3º
Bio3º
 
Tecnologie e Startup: ICT è solo una commodity?
Tecnologie e Startup: ICT è solo una commodity? Tecnologie e Startup: ICT è solo una commodity?
Tecnologie e Startup: ICT è solo una commodity?
 
final pres arts 340 morganm
final pres arts 340 morganmfinal pres arts 340 morganm
final pres arts 340 morganm
 
Syzmik Workwear-Uniform-Vests
Syzmik Workwear-Uniform-VestsSyzmik Workwear-Uniform-Vests
Syzmik Workwear-Uniform-Vests
 
водорості
водоростіводорості
водорості
 
Desarrollo histórico de la formación de sociólogos en la universidad
Desarrollo histórico de la formación de sociólogos en la universidadDesarrollo histórico de la formación de sociólogos en la universidad
Desarrollo histórico de la formación de sociólogos en la universidad
 
PTI
PTIPTI
PTI
 
Changes In Education
Changes In EducationChanges In Education
Changes In Education
 
Objects subjects
Objects subjectsObjects subjects
Objects subjects
 
Diseno de proyectos
Diseno de proyectosDiseno de proyectos
Diseno de proyectos
 
Bouldrey cv 2015
Bouldrey cv 2015Bouldrey cv 2015
Bouldrey cv 2015
 
Jesus granda criminologia
Jesus granda criminologiaJesus granda criminologia
Jesus granda criminologia
 

Similar to How jQuery Grew Its User Base Through An Open And Supportive Development Process

jQuery Open Source (Fronteer 2011)
jQuery Open Source (Fronteer 2011)jQuery Open Source (Fronteer 2011)
jQuery Open Source (Fronteer 2011)jeresig
 
ete2009-jquery-success-ete-1
ete2009-jquery-success-ete-1ete2009-jquery-success-ete-1
ete2009-jquery-success-ete-1tutorialsruby
 
Collec+Ive Master
Collec+Ive MasterCollec+Ive Master
Collec+Ive Masterproducer
 
Enterprise Collaboration: Can You Connect Social Learning and Business Perfor...
Enterprise Collaboration: Can You Connect Social Learning and Business Perfor...Enterprise Collaboration: Can You Connect Social Learning and Business Perfor...
Enterprise Collaboration: Can You Connect Social Learning and Business Perfor...Human Capital Media
 
Crowdsourcing Citizen Science Data Quality with a Human-Computer Learning Net...
Crowdsourcing Citizen Science Data Quality with a Human-Computer Learning Net...Crowdsourcing Citizen Science Data Quality with a Human-Computer Learning Net...
Crowdsourcing Citizen Science Data Quality with a Human-Computer Learning Net...Andrea Wiggins
 
Data Visualization Meets Visual Storytelling
Data Visualization Meets Visual StorytellingData Visualization Meets Visual Storytelling
Data Visualization Meets Visual StorytellingJESS3
 
JESS3 Portfolio
JESS3 PortfolioJESS3 Portfolio
JESS3 PortfolioJESS3
 
2010 Honda Insight Hybrid Virginia Beach
2010 Honda Insight Hybrid Virginia Beach2010 Honda Insight Hybrid Virginia Beach
2010 Honda Insight Hybrid Virginia BeachCheckered Flag Honda
 
Intalio Corporate Presentation
Intalio Corporate PresentationIntalio Corporate Presentation
Intalio Corporate PresentationTomoaki Sawada
 
Reinventing Experience - Fabio Carnevale Maffè
Reinventing Experience - Fabio Carnevale MaffèReinventing Experience - Fabio Carnevale Maffè
Reinventing Experience - Fabio Carnevale MaffèCultura Digitale
 
ePortfolios: Documenting Life Long Learning of Professionals to Reflect Pract...
ePortfolios: Documenting Life Long Learning of Professionals to Reflect Pract...ePortfolios: Documenting Life Long Learning of Professionals to Reflect Pract...
ePortfolios: Documenting Life Long Learning of Professionals to Reflect Pract...Plan de Calidad para el SNS
 
The Ideacia ONE - Innovation Blueprint
The Ideacia ONE - Innovation BlueprintThe Ideacia ONE - Innovation Blueprint
The Ideacia ONE - Innovation BlueprintIdeacia ONE Inc.
 
2010 Honda Insight Hybrid Los Angeles
2010 Honda Insight Hybrid Los Angeles2010 Honda Insight Hybrid Los Angeles
2010 Honda Insight Hybrid Los AngelesMiller Honda Van Nuys
 
Intalio Corporate Presentation (BPMS)
Intalio Corporate Presentation (BPMS)Intalio Corporate Presentation (BPMS)
Intalio Corporate Presentation (BPMS)Fernando Gummà
 
A Curious Course on Coroutines and Concurrency
A Curious Course on Coroutines and ConcurrencyA Curious Course on Coroutines and Concurrency
A Curious Course on Coroutines and ConcurrencyHiroshi Ono
 
Drug Use in America
Drug Use in AmericaDrug Use in America
Drug Use in AmericaSam Beal
 
Designing learning spaces to meet the changing needs and expectations of stud...
Designing learning spaces to meet the changing needs and expectations of stud...Designing learning spaces to meet the changing needs and expectations of stud...
Designing learning spaces to meet the changing needs and expectations of stud...Dan Munnerley
 

Similar to How jQuery Grew Its User Base Through An Open And Supportive Development Process (20)

jQuery Open Source (Fronteer 2011)
jQuery Open Source (Fronteer 2011)jQuery Open Source (Fronteer 2011)
jQuery Open Source (Fronteer 2011)
 
ete2009-jquery-success-ete-1
ete2009-jquery-success-ete-1ete2009-jquery-success-ete-1
ete2009-jquery-success-ete-1
 
Collec+Ive Master
Collec+Ive MasterCollec+Ive Master
Collec+Ive Master
 
Soffer CollectIve Master
Soffer CollectIve MasterSoffer CollectIve Master
Soffer CollectIve Master
 
Enterprise Collaboration: Can You Connect Social Learning and Business Perfor...
Enterprise Collaboration: Can You Connect Social Learning and Business Perfor...Enterprise Collaboration: Can You Connect Social Learning and Business Perfor...
Enterprise Collaboration: Can You Connect Social Learning and Business Perfor...
 
Crowdsourcing Citizen Science Data Quality with a Human-Computer Learning Net...
Crowdsourcing Citizen Science Data Quality with a Human-Computer Learning Net...Crowdsourcing Citizen Science Data Quality with a Human-Computer Learning Net...
Crowdsourcing Citizen Science Data Quality with a Human-Computer Learning Net...
 
Data Visualization Meets Visual Storytelling
Data Visualization Meets Visual StorytellingData Visualization Meets Visual Storytelling
Data Visualization Meets Visual Storytelling
 
1
11
1
 
JESS3 Portfolio
JESS3 PortfolioJESS3 Portfolio
JESS3 Portfolio
 
2010 Honda Insight Hybrid Virginia Beach
2010 Honda Insight Hybrid Virginia Beach2010 Honda Insight Hybrid Virginia Beach
2010 Honda Insight Hybrid Virginia Beach
 
Intalio Corporate Presentation
Intalio Corporate PresentationIntalio Corporate Presentation
Intalio Corporate Presentation
 
Reinventing Experience - Fabio Carnevale Maffè
Reinventing Experience - Fabio Carnevale MaffèReinventing Experience - Fabio Carnevale Maffè
Reinventing Experience - Fabio Carnevale Maffè
 
Gpa
GpaGpa
Gpa
 
ePortfolios: Documenting Life Long Learning of Professionals to Reflect Pract...
ePortfolios: Documenting Life Long Learning of Professionals to Reflect Pract...ePortfolios: Documenting Life Long Learning of Professionals to Reflect Pract...
ePortfolios: Documenting Life Long Learning of Professionals to Reflect Pract...
 
The Ideacia ONE - Innovation Blueprint
The Ideacia ONE - Innovation BlueprintThe Ideacia ONE - Innovation Blueprint
The Ideacia ONE - Innovation Blueprint
 
2010 Honda Insight Hybrid Los Angeles
2010 Honda Insight Hybrid Los Angeles2010 Honda Insight Hybrid Los Angeles
2010 Honda Insight Hybrid Los Angeles
 
Intalio Corporate Presentation (BPMS)
Intalio Corporate Presentation (BPMS)Intalio Corporate Presentation (BPMS)
Intalio Corporate Presentation (BPMS)
 
A Curious Course on Coroutines and Concurrency
A Curious Course on Coroutines and ConcurrencyA Curious Course on Coroutines and Concurrency
A Curious Course on Coroutines and Concurrency
 
Drug Use in America
Drug Use in AmericaDrug Use in America
Drug Use in America
 
Designing learning spaces to meet the changing needs and expectations of stud...
Designing learning spaces to meet the changing needs and expectations of stud...Designing learning spaces to meet the changing needs and expectations of stud...
Designing learning spaces to meet the changing needs and expectations of stud...
 

More from jeresig

Does Coding Every Day Matter?
Does Coding Every Day Matter?Does Coding Every Day Matter?
Does Coding Every Day Matter?jeresig
 
Accidentally Becoming a Digital Librarian
Accidentally Becoming a Digital LibrarianAccidentally Becoming a Digital Librarian
Accidentally Becoming a Digital Librarianjeresig
 
2014: John's Favorite Thing (Neo4j)
2014: John's Favorite Thing (Neo4j)2014: John's Favorite Thing (Neo4j)
2014: John's Favorite Thing (Neo4j)jeresig
 
Computer Vision as Art Historical Investigation
Computer Vision as Art Historical InvestigationComputer Vision as Art Historical Investigation
Computer Vision as Art Historical Investigationjeresig
 
Hacking Art History
Hacking Art HistoryHacking Art History
Hacking Art Historyjeresig
 
Using JS to teach JS at Khan Academy
Using JS to teach JS at Khan AcademyUsing JS to teach JS at Khan Academy
Using JS to teach JS at Khan Academyjeresig
 
Applying Computer Vision to Art History
Applying Computer Vision to Art HistoryApplying Computer Vision to Art History
Applying Computer Vision to Art Historyjeresig
 
NYARC 2014: Frick/Zeri Results
NYARC 2014: Frick/Zeri ResultsNYARC 2014: Frick/Zeri Results
NYARC 2014: Frick/Zeri Resultsjeresig
 
EmpireJS: Hacking Art with Node js and Image Analysis
EmpireJS: Hacking Art with Node js and Image AnalysisEmpireJS: Hacking Art with Node js and Image Analysis
EmpireJS: Hacking Art with Node js and Image Analysisjeresig
 
Applying Computer Vision to Art History
Applying Computer Vision to Art HistoryApplying Computer Vision to Art History
Applying Computer Vision to Art Historyjeresig
 
JavaScript Libraries (Ajax Exp 2006)
JavaScript Libraries (Ajax Exp 2006)JavaScript Libraries (Ajax Exp 2006)
JavaScript Libraries (Ajax Exp 2006)jeresig
 
Introduction to jQuery (Ajax Exp 2006)
Introduction to jQuery (Ajax Exp 2006)Introduction to jQuery (Ajax Exp 2006)
Introduction to jQuery (Ajax Exp 2006)jeresig
 
jQuery Recommendations to the W3C (2011)
jQuery Recommendations to the W3C (2011)jQuery Recommendations to the W3C (2011)
jQuery Recommendations to the W3C (2011)jeresig
 
jQuery Open Source Process (Knight Foundation 2011)
jQuery Open Source Process (Knight Foundation 2011)jQuery Open Source Process (Knight Foundation 2011)
jQuery Open Source Process (Knight Foundation 2011)jeresig
 
jQuery Mobile
jQuery MobilejQuery Mobile
jQuery Mobilejeresig
 
Holistic JavaScript Performance
Holistic JavaScript PerformanceHolistic JavaScript Performance
Holistic JavaScript Performancejeresig
 
New Features Coming in Browsers (RIT '09)
New Features Coming in Browsers (RIT '09)New Features Coming in Browsers (RIT '09)
New Features Coming in Browsers (RIT '09)jeresig
 
Introduction to jQuery (Ajax Exp 2007)
Introduction to jQuery (Ajax Exp 2007)Introduction to jQuery (Ajax Exp 2007)
Introduction to jQuery (Ajax Exp 2007)jeresig
 
Advanced jQuery (Ajax Exp 2007)
Advanced jQuery (Ajax Exp 2007)Advanced jQuery (Ajax Exp 2007)
Advanced jQuery (Ajax Exp 2007)jeresig
 
JavaScript Library Overview (Ajax Exp West 2007)
JavaScript Library Overview (Ajax Exp West 2007)JavaScript Library Overview (Ajax Exp West 2007)
JavaScript Library Overview (Ajax Exp West 2007)jeresig
 

More from jeresig (20)

Does Coding Every Day Matter?
Does Coding Every Day Matter?Does Coding Every Day Matter?
Does Coding Every Day Matter?
 
Accidentally Becoming a Digital Librarian
Accidentally Becoming a Digital LibrarianAccidentally Becoming a Digital Librarian
Accidentally Becoming a Digital Librarian
 
2014: John's Favorite Thing (Neo4j)
2014: John's Favorite Thing (Neo4j)2014: John's Favorite Thing (Neo4j)
2014: John's Favorite Thing (Neo4j)
 
Computer Vision as Art Historical Investigation
Computer Vision as Art Historical InvestigationComputer Vision as Art Historical Investigation
Computer Vision as Art Historical Investigation
 
Hacking Art History
Hacking Art HistoryHacking Art History
Hacking Art History
 
Using JS to teach JS at Khan Academy
Using JS to teach JS at Khan AcademyUsing JS to teach JS at Khan Academy
Using JS to teach JS at Khan Academy
 
Applying Computer Vision to Art History
Applying Computer Vision to Art HistoryApplying Computer Vision to Art History
Applying Computer Vision to Art History
 
NYARC 2014: Frick/Zeri Results
NYARC 2014: Frick/Zeri ResultsNYARC 2014: Frick/Zeri Results
NYARC 2014: Frick/Zeri Results
 
EmpireJS: Hacking Art with Node js and Image Analysis
EmpireJS: Hacking Art with Node js and Image AnalysisEmpireJS: Hacking Art with Node js and Image Analysis
EmpireJS: Hacking Art with Node js and Image Analysis
 
Applying Computer Vision to Art History
Applying Computer Vision to Art HistoryApplying Computer Vision to Art History
Applying Computer Vision to Art History
 
JavaScript Libraries (Ajax Exp 2006)
JavaScript Libraries (Ajax Exp 2006)JavaScript Libraries (Ajax Exp 2006)
JavaScript Libraries (Ajax Exp 2006)
 
Introduction to jQuery (Ajax Exp 2006)
Introduction to jQuery (Ajax Exp 2006)Introduction to jQuery (Ajax Exp 2006)
Introduction to jQuery (Ajax Exp 2006)
 
jQuery Recommendations to the W3C (2011)
jQuery Recommendations to the W3C (2011)jQuery Recommendations to the W3C (2011)
jQuery Recommendations to the W3C (2011)
 
jQuery Open Source Process (Knight Foundation 2011)
jQuery Open Source Process (Knight Foundation 2011)jQuery Open Source Process (Knight Foundation 2011)
jQuery Open Source Process (Knight Foundation 2011)
 
jQuery Mobile
jQuery MobilejQuery Mobile
jQuery Mobile
 
Holistic JavaScript Performance
Holistic JavaScript PerformanceHolistic JavaScript Performance
Holistic JavaScript Performance
 
New Features Coming in Browsers (RIT '09)
New Features Coming in Browsers (RIT '09)New Features Coming in Browsers (RIT '09)
New Features Coming in Browsers (RIT '09)
 
Introduction to jQuery (Ajax Exp 2007)
Introduction to jQuery (Ajax Exp 2007)Introduction to jQuery (Ajax Exp 2007)
Introduction to jQuery (Ajax Exp 2007)
 
Advanced jQuery (Ajax Exp 2007)
Advanced jQuery (Ajax Exp 2007)Advanced jQuery (Ajax Exp 2007)
Advanced jQuery (Ajax Exp 2007)
 
JavaScript Library Overview (Ajax Exp West 2007)
JavaScript Library Overview (Ajax Exp West 2007)JavaScript Library Overview (Ajax Exp West 2007)
JavaScript Library Overview (Ajax Exp West 2007)
 

How jQuery Grew Its User Base Through An Open And Supportive Development Process

  • 1. Open Source Process: jQuery John Resig http://ejohn.org/ - http://twitter.com/jeresig
  • 2. jQuery ✦ A JavaScript library designed to hide painful cross-browser compatibility issues while presenting a solid, usable, API.
  • 3. Simple API ✦ $(“div > span”).addClass(“foo”); ✦ “Find some elements” ✦ “Do something with them” ✦ Makes complex manipulation of web pages simple
  • 4. Points of Concern ✦ Primary issues: ✦ Quality of API ✦ Quality of browser-issue-hiding ✦ Other issues: ✦ Speed, community, licensing, development team, openness, test coverage, API documentation, tutorials, books, demos
  • 5. Space ✦ Highly competitive space ✦ Released Jan. 2006 - already a dominant player: Prototype JavaScript Library ✦ (Bundled with Ruby on Rails, had some nice coattail growth.) ✦ Other libraries: Dojo, Yahoo UI, MooTools
  • 6.
  • 7.
  • 8. Things That Are Important ✦ Technical ✦ API Design (Usability, documentation) ✦ Code Quality (Licensing, openness, test coverage) ✦ Non-technical ✦ Community (Resources, responsiveness) ✦ Learning Aides (Tutorials, books, demos)
  • 9. What it all boils down to... ✦ How quickly can you get your user hooked - and are you giving them room, and the resources, to grow? ✦ Put yourself in your user’s shoes.
  • 10. Se In H co te om nd gr ep at Ap io ag p n e Ex Vi pl AP ew or ID Tu eA oc t or PI s ial Co D m ow Ex te m nl un oa nd i ty d AP I Tr Re Tu t y Tu ad or t ial or So s ial ur ce The First Year: Growth The First Month: Learning The First Day: Can this help me? Co nt Ex Ex rib pe pe ut r im r im e en en t t Watch the full process
  • 11. Attrition Failure at any step costs your project another user. Your project is your own worst enemy.
  • 12. The First Day “After spending less than 3 hours reading blog posts and perusing the documentation I was able to do a lot more in a lot less time then ever before. The huge community and neatly organized jQuery plugins make me feel like a sucker for not having jQuery for my pet-project.” http://aleembawany.com/2009/01/16/switching-from-prototype-to-jquery/
  • 13. Homepage ✦ Set a good first impression ✦ Answer the questions: ✦ What is this? ✦ What can it do for me? ✦ Where can I go to learn more?
  • 14.
  • 15. Getting Started Tutorial ✦ Clear, focused ✦ Assume no background knowledge
  • 16. Download ✦ Make it super-easy, remove any barriers ✦ (We link straight to the source, no .zip)
  • 17. Licensing ✦ Not a concern for some of people ✦ A huge concern for a lot of corporate users ✦ Use the most-open license possible ✦ Fewest number of restrictions gives you the largest possible market ✦ We use the MIT license for jQuery ✦ “Leave my name on the source file”
  • 18. Try the Tutorial ✦ ...and subsequent Experimentation ✦ All about code quality ✦ For JavaScript libraries: Make sure your code is seamless across browsers ✦ For desktop apps: Is it truly cross- platform? Are there dependencies? ✦ The user should never be forced to ask for help in order to get started ✦ Asking for help “getting started” is a failure case on your end
  • 19. Simplicity ✦ Simple APIs are king ✦ Users understand quicker ✦ Get started faster ✦ Become advanced quicker
  • 20. The First Month “Alright I am now really really into jQuery. I used to hate javascript. WHAT HAS HAPPENED HERE? Javascript people, speak to me.” http://twitter.com/_ralph/status/1123503553
  • 21. Community Resources ✦ Provide places for users to ask questions ✦ jQuery: ✦ jQuery Forum ✦ IRC Channel ✦ External: ✦ StackOverflow.com ✦ Twitter ✦ Blogs
  • 22. Monitor Your Community ✦ Make sure that everyone is getting the help that they need ✦ We run an Evangelism Team “Developer Relations” ✦ Track all of the services they use ✦ Forum - Subscribe to the forums ✦ IRC - Sit in the IRC channel ✦ Blogs - Use Technorati and Google Blog Search ✦ Twitter - Use Twitter Search
  • 23. Service Treat every user as a potential, future, contributor.
  • 24. Service ✦ Today Mike Alsup and Michael Geary are part of the jQuery team
  • 25. Twitter Tracking ✦ Track people talking about the code: ✦ http://search.twitter.com/ ✦ Look for people having trouble, asking questions
  • 26. Answer Questions ✦ It takes a lot of time, but sometimes it’s really worth it ✦ You never know who could be having trouble
  • 27. Follow-up With Large Users ✦ Maintain a list of contacts with your large users ✦ Ping them every once in a while ✦ Make sure that they’re having a good experience ✦ They frequently forget to file bugs - make sure that happens
  • 28. API Documentation ✦ jQuery had API docs from the start (2006) ✦ Two other major libraries: Dojo, Prototype didn’t have any until 2007+ ✦ Clarity and usability of documentation is huge
  • 31. Learn More ✦ Tutorials and Books ✦ Tutorials are short and drive home a point or single topic ✦ “Books” are more holistic and lead the reader from start to finish
  • 34. API Buy-in ✦ Once users start using an API for an application they generally stick with it ✦ Every new application is an opportunity to snag, or lose, a user ✦ All boils down to attrition: Did your user have a good experience building the first application?
  • 35. Growth You need to give users some place to grow to.
  • 36. Open Process ✦ Open Source is easy (just release the code and be done with it) ✦ Open Process is hard (open source control, easy bug tracking) ✦ A good process helps users learn
  • 37. Core Development Process ✦ Weekly, public, team meetings ✦ Defined release dates and schedule ✦ Frequent discussion in #jquery-dev (IRC) ✦ Active participation of the committers and the bug triage team
  • 39. Bug Triage Team ✦ Responsible for processing all the bugs in the bug tracker ✦ Make sure test cases are filed ✦ Work through pulls in the Github pull request queue ✦ Make sure the test suite is passing
  • 40. Bugs
  • 41. Roadmap Decisions ✦ Put up a public form for people to submit possible feature suggestions ✦ The team works through all the feature suggestions and creates a list ✦ All of this is done in a publicly and discussed in a public meeting
  • 43. Extensibility ✦ Your API isn’t perfect - it can’t include everything for everyone ✦ Give users the ability to add their own functionality ✦ jQuery has a healthy plugin community with hundreds of plugins. ✦ Gives jQuery a huge leg up on other libraries.
  • 44. Complex Applications ✦ Users will attempt to build increasingly complex applications ✦ Need to be there to help, otherwise they’ll leave for something else ✦ jQuery UI - A set of complex User Interface components.
  • 46. Contributions ✦ How does a user become a contributor? ✦ Encouragement is the biggest factor ✦ Encourage users to submit bug reports ✦ Encourage them to build test cases ✦ Encourage them to submit patches ✦ Praise them when something good is done. ✦ Communication is a huge factor here, “dead” bugs or mailing list threads cripple participation.
  • 47. Overview ✦ Help your users at every step of the way ✦ Track them and help the stragglers ✦ Help them grow and flourish ✦ Questions? ✦ jeresig@gmail.com ✦ http://ejohn.org/ ✦ http://twitter.com/jeresig