Upgrade to Pro — share decks privately, control downloads, hide ads and more …

a community story of Electron

Cheng Zhao
November 25, 2016

a community story of Electron

A presentation at JSConf.Asia Singapore 2016.

Cheng Zhao

November 25, 2016
Tweet

More Decks by Cheng Zhao

Other Decks in Programming

Transcript

  1. a community story of Electron
    JSConf.Asia Singapore 2016

    View full-size slide

  2. introduction
    ‣ $IFOH;IBP
    ‣ DSFBUFE&MFDUSPOGSBNFXPSL
    ‣ XPSLJOHBU(JU)VC
    ‣ IUUQTHJUIVCDPN[DCFO[

    View full-size slide

  3. a brief history of Electron
    ‣ OPEFXFCLJU OPEFKTNPEVMF

    ‣ OPEFXFCLJU GSBNFXPSL

    ‣ BUPNTIFMMTUBSUFE
    ‣ BUPNTIFMMPQFOTPVSDFE
    ‣ SFOBNFEUP&MFDUSPO
    ‣ &MFDUSPO

    View full-size slide

  4. story started from node-webkit

    View full-size slide

  5. early days of node-webkit
    ‣ TPMPEFWFMPQFS
    ‣ JOUFSOQSPKFDU
    ‣ TUBSUFEXJUIVTFST

    View full-size slide

  6. early days of node-webkit
    ‣ TPMPEFWFMPQFS
    ‣ JOUFSOQSPKFDU
    ‣ TUBSUFEXJUIVTFST
    ‣ OPPOFHBWFBBCPVUJU

    View full-size slide

  7. set a target
    ‣ lEFWFMPQEFTLUPQBQQTXJUIIUNMBOEOPEFKTz
    ‣ UIFSFXFSFQSPKFDUTEPJOHTJNJMBSUIJOHT
    ‣ CVUBMMPGUIFNXFSF

    View full-size slide

  8. after spending a few months
    developing node-webkit

    View full-size slide

  9. built a simple community
    ‣ (JU)VCJTTVFT
    ‣ NBJMJOHMJTUPO(PPHMFHSPVQ

    View full-size slide

  10. promotion
    ‣ BEWFSUJTFEBUNBJMJOHMJTUT
    ‣ BOTXFSFEBMMLJOETPGRVFTUJPOT
    ‣ LFQUQVCMJTIJOHOFXSFMFBTFT

    View full-size slide

  11. got first user

    View full-size slide

  12. got first user

    View full-size slide

  13. kept early users
    ‣ NBEFUIFNIBQQZ
    ‣ DBSFGVMMZUSFBUFEFWFSZJTTVFBOEQVMMSFRVFTU

    View full-size slide

  14. the project became famous

    View full-size slide

  15. what to do next (usually)
    ‣ BTLGPSTQPOTPSTIJQT
    ‣ HFUDPOUSJCVUPSTJOUPUIFUFBN
    ‣ TUBSUBDBSFFS

    View full-size slide

  16. what to do next (usually)
    ‣ BTLGPSTQPOTPSTIJQT
    ‣ HFUDPOUSJCVUPSTJOUPUIFUFBN
    ‣ TUBSUBDBSFFS
    ‣ LFFQUIFQSPKFDUSPMMJOH

    View full-size slide

  17. however for me...
    ‣ UIFPSJHJOBMBVUIPSUPPLPWFSMFBEFSTIJQ
    ‣ *IBEEJ⒎FSFOUPQJOJPOTXJUIIJN☹

    View full-size slide

  18. started the atom-shell project

    View full-size slide

  19. first year of Electron
    ‣ TPMPEFWFMPQFS
    ‣ EFWFMPQFETFDSFUMZGPS(JU)VC

    View full-size slide

  20. open sourced after one year
    ‣ BQSPEVDUPG(JU)VC
    ‣ XJUIBOPQFOTPVSDFVTFS"UPN

    View full-size slide

  21. open sourced after one year
    ‣ BQSPEVDUPG(JU)VC
    ‣ XJUIBOPQFOTPVSDFVTFS"UPN
    ‣ OJDFMBVODILTUBSTpSTUEBZ
    ‣ HPUMPUTPGVTFSTPOFBSMZEBZT

    View full-size slide

  22. keep project well maintained

    View full-size slide

  23. community channels
    ‣ 4MBDL
    ‣ GPSVN
    ‣ OPNBJMJOHMJTU
    ‣ OPRVFTUJPOTJO(JU)VCJTTVFT

    View full-size slide

  24. answer every issue
    ‣ NBLFFWFSZJTTVFUBHHFEPSDMPTFE
    ‣ FYQMBJOXIZUIFJTTVFJTDMPTFE
    ‣ HJWFDPOUSJCVUPSTQFSNJTTJPOUPDMPTFJTTVFT

    View full-size slide

  25. respect pull requests
    ‣ SFWJFXQVMMSFRVFTUTJOUJNF
    ‣ HVJEFUIFDPOUSJCVUPSTUISPVHIDPEFSFWJFX

    View full-size slide

  26. respect pull requests
    ‣ SFWJFXQVMMSFRVFTUTJOUJNF
    ‣ HVJEFUIFDPOUSJCVUPSTUISPVHIDPEFSFWJFX
    ‣ CVUBMTPCFTUSJDUBCPVUQVMMSFRVFTUT
    ‣ DPEFRVBMJUZJTNPTUJNQPSUBOU
    ‣ SFGBDUPSUIFDPEFBGUFSNFSHJOH

    View full-size slide

  27. make contribution easy
    ‣ lCPPUTUSBQzTDSJQU
    ‣ EFWFMPQNFOUEPDVNFOUBUJPO
    ‣ DPEJOHTUZMFBOECFTUQSBDUJDF
    ‣ UBHUBTLTGPSCFHJOOFST

    View full-size slide

  28. companies started to use it

    View full-size slide

  29. company users are good
    ‣ UIFQSPKFDUXJMMOFWFSEJFXIFOQFPQMFBSF
    NBLJOHNPOFZGSPNJU
    ‣ IBWJOHDPNQBOZVTFSTBUUSBDUTNPSFVTFST
    ‣ UIFZPGUFODPOUSJCVUFCBDL

    View full-size slide

  30. they can be bad
    ‣ UIFJSTQFDJBMOFFETNBZEJTUVSCZPVSQMBO
    ‣ UIFZNBZKVTUGPSLUIFQSPKFDU

    View full-size slide

  31. then there are too many users
    for one developer to handle

    View full-size slide

  32. then there are too many users
    for one developer to handle

    View full-size slide

  33. grew to a team
    ‣ IBWFPUIFS(JU)VCEFWFMPQFSTKPJO&MFDUSPO
    ‣ IJSFOFXEFWFMPQFST
    ‣ XFBSFIJSJOH

    View full-size slide

  34. want to join electron team?
    send email to [email protected]

    View full-size slide