leverage the power of open source in your company
DESCRIPTION
Open source is a major tech key nowadays for companies. In this presentation I try to explain how to carefully choose your OS libraries and how to share some bits of your company code to the OS world.TRANSCRIPT
![Page 1: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/1.jpg)
Leverage the power of Open Source in your
company Blend Web Mix - 30/10/14
![Page 2: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/2.jpg)
Hi
@guillaumepotier
Entrepreneur, geek and web enthusiast. Co-founder & CTO @Wisembly
![Page 3: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/3.jpg)
Got a question ?
Ask it during the presentation on
app.wisembly.com/blend
![Page 4: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/4.jpg)
What does Open Source inspire you ?
3 words to define it
![Page 5: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/5.jpg)
Open Source
In production and development, open source as a development model promotes a universal access via a free license to a product's design or blueprint, and universal redistribution of that design or blueprint, including subsequent improvements to it by anyone.
— Wikipedia
/ˌoʊ.pənˈsɔːrs/
![Page 6: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/6.jpg)
Open Source
Generally, open source refers to a computer program in which the source code is available to the general public for use and/or modification from its original design.
— Wikipedia
![Page 7: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/7.jpg)
* Automattic, Wordpress editor - July 2013
19%of the web is running Wordpress websites*
![Page 8: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/8.jpg)
* W3Techs - February 2014
90%of the web is running UNIX servers*
![Page 9: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/9.jpg)
Your Mac is running UNIX..*
* No kidding. And Apple is making an insane amount of money out of this
![Page 10: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/10.jpg)
![Page 11: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/11.jpg)
Why you should use Open Source in your
company
1/
![Page 12: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/12.jpg)
PROS
![Page 13: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/13.jpg)
FREE*
* Free as in free speech, not as in free beer
![Page 14: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/14.jpg)
FAST*
* In term of releases rythme and software performances
![Page 15: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/15.jpg)
RELIABLE*
* Nowadays
![Page 16: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/16.jpg)
SECURE*
* Really. Look at Bleeding Heart and Shellshock
![Page 17: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/17.jpg)
CONVENIENT*
* Someone must have been through the same needs
![Page 18: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/18.jpg)
CONS
![Page 19: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/19.jpg)
FAST*
* And breaks things
![Page 20: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/20.jpg)
SLOW*
* Changing a line could take 10 ppl and 3 months
![Page 21: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/21.jpg)
COMPATIBILITY*
* Often too cutting edge technology
![Page 22: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/22.jpg)
MAINTENABILITY*
* It’s like a big puzzle
![Page 23: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/23.jpg)
SUPPORT*
* Have you ever tried to maintain an OS project?
![Page 24: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/24.jpg)
HOW?
![Page 25: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/25.jpg)
Choose carefully your libs
Look for traction: watchers, contributors
![Page 26: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/26.jpg)
Choose carefully your libs
Look for community activity: issues & PRs
Angular Backbone Ember
![Page 27: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/27.jpg)
Choose carefully your libs
Look for recent activity: commit frequency, release cycle
Angular Backbone Ember
v1.3.0 ~1 release / 15 days ~8 commits / day
!Last commit:
yesterday
v1.8.0 ~1 release / 15 days ~15 commits / day
!Last commit:
yesterday
v1.1.2 ~1 release / 2 months
~2 commits / day !
Last commit: last week
![Page 28: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/28.jpg)
Choose carefully your libs
Look for tests & test suites
![Page 29: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/29.jpg)
Choose carefully your libs
Other “intangible” things: !• lib philosophy • core team members • ecosystem • license type..
![Page 30: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/30.jpg)
2/
Why you should share some of your company
code in Open Source
![Page 31: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/31.jpg)
CONS
![Page 32: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/32.jpg)
COMPETITION
![Page 33: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/33.jpg)
PRODUCTIVITY
![Page 34: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/34.jpg)
SECURITY
![Page 35: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/35.jpg)
PROS
![Page 36: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/36.jpg)
QUALITY
![Page 37: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/37.jpg)
PRODUCTIVITY
![Page 38: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/38.jpg)
COMMUNITY
![Page 39: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/39.jpg)
RECRUITMENT
![Page 40: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/40.jpg)
HOW?
![Page 41: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/41.jpg)
Choose a proper name
Do not choose an
already existing name..
!Prefer a memorable
name (angular, ember..)
or a very explicit name
(intercom-php-client,
php-excel-exporter..)
![Page 42: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/42.jpg)
Respect language code standards
Try to use best fitting
language standard to
ease future contributors
reading your code and
writing new pieces of
code.
!!!!!http://sideeffect.kr/
popularconvention
![Page 43: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/43.jpg)
Try to ease code
understanding for others
developers.
Your code should be so
simple to read and
understand that it does
not needs comments,
unless it really does.
Produce good & documented code
![Page 44: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/44.jpg)
Have a good test suite
Developers would feel
comfortable then to
add new features /
modify code without
fearing to break things.
It also make your
project more robust and
trustable.
![Page 45: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/45.jpg)
Try to ease code
understanding for others
developers.
Your code should be so
simple to read and
understand that it does
not needs comments,
unless it really does.
Have a nice & friendly documentation
![Page 46: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/46.jpg)
AND
Have package managers configured (bower, npm, packagist..)
Display a contribution philosophy and guidelines guide
Try to answer in a reasonably timely fashion to issues & PRs..
Be gentle
Be patient
…
![Page 47: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/47.jpg)
EXAMPLES
![Page 48: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/48.jpg)
Elephant.io
![Page 49: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/49.jpg)
Elephant.io
![Page 50: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/50.jpg)
Elephant.io
Many improvements and small bug fixes socket.io 1.x protocol cracked for v3 socket.io 0.x protocol legacy implemented in v3
![Page 51: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/51.jpg)
Basil.js
Smart javascript frontend persistent layer
• Uses localStorage, sessionStorage, cookies and arrayStorage • Detect available storages and store in most appropriate one • Handles objects • Unified API for all storages • Exception and errors bulletproof • Available plugins Redis-like (lists, sets)
![Page 52: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/52.jpg)
Parsley
Front end javascript form validation framework
• Validates forms frontend • Handles UX • 15+ built-ins validators • 20+ languages provided • Easy DOM-API • Powerful remote validator plugin
![Page 53: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/53.jpg)
Others
What we also share: !• jsgettext • ExcelAnt • Totem • CalendArt.. !!Other pieces of code we could share: !• Single Page javascript application PDF exporter • Push server on socket.io • Backbone framework wrapper • Sketch to svg / sprite gulp script
![Page 54: Leverage the power of Open Source in your company](https://reader033.vdocuments.net/reader033/viewer/2022042715/55927fd11a28abe2588b4590/html5/thumbnails/54.jpg)
THANK YOU !
ANY QUESTIONS?
Guillaume Potier — @guillaumepotier