why we (day) open source most of our code
DESCRIPTION
Slides my my presentation at TransferSummit 2010, "Why we Open Source most of our code", http://transfersummit.com/programme/67TRANSCRIPT
![Page 1: Why we (Day) open source most of our code](https://reader033.vdocuments.site/reader033/viewer/2022060108/5550fc58b4c90501448b4c66/html5/thumbnails/1.jpg)
Why We Openour Code Bertrand Delacrétaz
Bertrand DelacrétazSenior Developer, R&D, Day Software, www.day.com
Apache Software Foundation Memberhttp://grep.codeconsult.ch - twitter: @bdelacretaz - [email protected]
transfersummit.com, Oxford, June 2010
slides revision: 2010-06-23original image: http://www.flickr.com/photos/vermininc/2777441779/
1
Why we open source99% 95% 89%most of our code
![Page 2: Why we (Day) open source most of our code](https://reader033.vdocuments.site/reader033/viewer/2022060108/5550fc58b4c90501448b4c66/html5/thumbnails/2.jpg)
Why We Openour Code Bertrand Delacrétaz
Why would a successful commercial
software vendor open source most of their code?
![Page 3: Why we (Day) open source most of our code](https://reader033.vdocuments.site/reader033/viewer/2022060108/5550fc58b4c90501448b4c66/html5/thumbnails/3.jpg)
in the old times:code vault and fences
keep oursecrets!
hide ourugly code...
no outside ideas!
ugly code flourishes
pict
ure:
ronn
ieb
on m
orgu
efile
![Page 4: Why we (Day) open source most of our code](https://reader033.vdocuments.site/reader033/viewer/2022060108/5550fc58b4c90501448b4c66/html5/thumbnails/4.jpg)
this is
2010and this is
The Webno company is an island...
picture: Livah45 on morguefile
![Page 5: Why we (Day) open source most of our code](https://reader033.vdocuments.site/reader033/viewer/2022060108/5550fc58b4c90501448b4c66/html5/thumbnails/5.jpg)
open source
@Day?
![Page 6: Why we (Day) open source most of our code](https://reader033.vdocuments.site/reader033/viewer/2022060108/5550fc58b4c90501448b4c66/html5/thumbnails/6.jpg)
Basel, Switzerland headquarters(~80 people, ~150 worldwide)
Munich
London
NewportBeach, CA
Toronto
Survived tough times (SWX:DAYN)Roy T. Fielding and David Nuescheler,
“Mr. REST” and “Mr. JCR”
“Day allows us to quickly and reliably deliver content to our entire McFamily, helping us to be flexible and drive new opportunities.”
Steve Wilson, Senior Director of Web Communications, McDonald’s
Strong ties to the Apache Software Foundation
(everything is content)
content-centricproducts
www.day.comnote the 3-letter domain name: we’ve been doing this for a while...
Swiss open sourceaward / business / 2008
2001
2009
2001
![Page 7: Why we (Day) open source most of our code](https://reader033.vdocuments.site/reader033/viewer/2022060108/5550fc58b4c90501448b4c66/html5/thumbnails/7.jpg)
storagecomponents
OSGi framework(Apache Felix)
JCRcontent
repository
javascript
JSPRuby
Velocityetc..
debugger
WebDAVserver
Sling OSGiconsole
browserfilesystem
JSR-170 API
HTTP
resource resolution
custom servletsand components
JSR 223 scripting
servlet/script resolution
standardservlets
content administration UI
CQ5architecture
![Page 8: Why we (Day) open source most of our code](https://reader033.vdocuments.site/reader033/viewer/2022060108/5550fc58b4c90501448b4c66/html5/thumbnails/8.jpg)
OSGi framework(Apache Felix)
JCRrepository
javascript
JSPRuby
Velocityetc..
debugger
WebDAVserver
Sling OSGiconsole
browserfilesystem
JSR-170 API
resource resolution
JSR 223 scripting
servlet/script resolution
standardservlets
storagecomponents
custom servletsand components
content administration UI
HTTP
open source?you bet!
![Page 9: Why we (Day) open source most of our code](https://reader033.vdocuments.site/reader033/viewer/2022060108/5550fc58b4c90501448b4c66/html5/thumbnails/9.jpg)
Why We Openour Code
LOCof our open source core parts
full java and xml source code files
238’000625’000513’000
![Page 10: Why we (Day) open source most of our code](https://reader033.vdocuments.site/reader033/viewer/2022060108/5550fc58b4c90501448b4c66/html5/thumbnails/10.jpg)
Why We Openour Code
criticalityof our open source core parts
(based on the scientific «finger in the air» method)
15%25%50%
90%
![Page 11: Why we (Day) open source most of our code](https://reader033.vdocuments.site/reader033/viewer/2022060108/5550fc58b4c90501448b4c66/html5/thumbnails/11.jpg)
open source @Day?
YESdefinitely
![Page 12: Why we (Day) open source most of our code](https://reader033.vdocuments.site/reader033/viewer/2022060108/5550fc58b4c90501448b4c66/html5/thumbnails/12.jpg)
Why We Openour Code
but
Why?
![Page 13: Why we (Day) open source most of our code](https://reader033.vdocuments.site/reader033/viewer/2022060108/5550fc58b4c90501448b4c66/html5/thumbnails/13.jpg)
having the best team is not enough, you need to be fast!
clean architecture and modularity enables agility for our customers.
pict
ure:
tarr
101
on m
orgu
efile
![Page 14: Why we (Day) open source most of our code](https://reader033.vdocuments.site/reader033/viewer/2022060108/5550fc58b4c90501448b4c66/html5/thumbnails/14.jpg)
Why We Openour Code
ok, but
are we the bestanyway?
![Page 15: Why we (Day) open source most of our code](https://reader033.vdocuments.site/reader033/viewer/2022060108/5550fc58b4c90501448b4c66/html5/thumbnails/15.jpg)
Why We Openour Code
Day’s R&D team(highlights)
Roy T. Fielding and David Nuescheler,“Mr. REST” and “Mr. JCR”
Thomas Mülleroriginal author
Hypersonic SQL and H2 databases
Carsten Ziegeler, Felix Meschberger, Jukka Zitting
VPs, Apache Excalibur, Sling and Jackrabbit
(among other fun things)
and quite a few other peopleof this caliber...
![Page 16: Why we (Day) open source most of our code](https://reader033.vdocuments.site/reader033/viewer/2022060108/5550fc58b4c90501448b4c66/html5/thumbnails/16.jpg)
Why We Openour Code
we’re not bad, but still,
more eyeballsfrom more places
help a lot!open sourcing our crown jewels
makes us stronger.
pict
ure:
fede
graf
o on
mor
guefi
le
![Page 17: Why we (Day) open source most of our code](https://reader033.vdocuments.site/reader033/viewer/2022060108/5550fc58b4c90501448b4c66/html5/thumbnails/17.jpg)
Why We Openour Code
Expert Group:
JSR-170 JSR-283
Content Repository for JavaTM technology API v2.0Spec-Lead:Day SoftwareStatus: Final Release 14-sept-2009
BTW:
being spec lead for JCR also helps
![Page 18: Why we (Day) open source most of our code](https://reader033.vdocuments.site/reader033/viewer/2022060108/5550fc58b4c90501448b4c66/html5/thumbnails/18.jpg)
open source @Day?
YESwe need the help!
![Page 19: Why we (Day) open source most of our code](https://reader033.vdocuments.site/reader033/viewer/2022060108/5550fc58b4c90501448b4c66/html5/thumbnails/19.jpg)
Why We Openour Code
ok but what’s the
impact?
![Page 20: Why we (Day) open source most of our code](https://reader033.vdocuments.site/reader033/viewer/2022060108/5550fc58b4c90501448b4c66/html5/thumbnails/20.jpg)
impact on quality:very high!
pict
ure:
kev
inro
ssee
l on
mor
guefi
le
more eyeballs
more use cases
more users of all kinds
more opinionated developers
![Page 21: Why we (Day) open source most of our code](https://reader033.vdocuments.site/reader033/viewer/2022060108/5550fc58b4c90501448b4c66/html5/thumbnails/21.jpg)
impact on structure:very high!
reuse requires cleaner structures
more use cases -> generalization
pict
ure:
hot
blac
k on
mor
guefi
le
![Page 22: Why we (Day) open source most of our code](https://reader033.vdocuments.site/reader033/viewer/2022060108/5550fc58b4c90501448b4c66/html5/thumbnails/22.jpg)
impact on reputation:high!
pict
ure:
cla
rita
on m
orgu
efilegood things
(and mistakes) in public...
![Page 23: Why we (Day) open source most of our code](https://reader033.vdocuments.site/reader033/viewer/2022060108/5550fc58b4c90501448b4c66/html5/thumbnails/23.jpg)
pict
ure:
ban
dini
on
mor
guefi
le
impact on sustainability: high!
Apache community best practices...
![Page 24: Why we (Day) open source most of our code](https://reader033.vdocuments.site/reader033/viewer/2022060108/5550fc58b4c90501448b4c66/html5/thumbnails/24.jpg)
pict
ure:
em
lyn
on m
orgu
efile
impact on people networking:
high!
![Page 25: Why we (Day) open source most of our code](https://reader033.vdocuments.site/reader033/viewer/2022060108/5550fc58b4c90501448b4c66/html5/thumbnails/25.jpg)
Why We Openour Code
ok, ok, so can we
tracethat impact on Day’s business?
![Page 26: Why we (Day) open source most of our code](https://reader033.vdocuments.site/reader033/viewer/2022060108/5550fc58b4c90501448b4c66/html5/thumbnails/26.jpg)
SWX:DAYN share price, 2003-2010not the absolute truth about everything, but still...
![Page 27: Why we (Day) open source most of our code](https://reader033.vdocuments.site/reader033/viewer/2022060108/5550fc58b4c90501448b4c66/html5/thumbnails/27.jpg)
pict
ure:
cen
eal1
on
mor
guefi
le
win-win-winfor our users, communities
and business
![Page 28: Why we (Day) open source most of our code](https://reader033.vdocuments.site/reader033/viewer/2022060108/5550fc58b4c90501448b4c66/html5/thumbnails/28.jpg)
conclusion: win-win-win
pict
ures
: xen
ia, h
otbl
ack,
kev
inro
ssee
l, m
orgu
efile
users and communityconversations
higher code quality better structuresand modularity
...and good business
![Page 29: Why we (Day) open source most of our code](https://reader033.vdocuments.site/reader033/viewer/2022060108/5550fc58b4c90501448b4c66/html5/thumbnails/29.jpg)
This slide deck is licensed under the Creative Commons Attribution-Noncommercial-Share Alike 3 license.
Copyright (C) 2010, Bertrand Delacretaz