Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
php[world] 2016 Keynote - Cruft to Class: NPR’s...
Search
Nara Kasbergen
November 17, 2016
Programming
310
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
php[world] 2016 Keynote - Cruft to Class: NPR’s 15-year Journey with PHP
by Nara Kasbergen & Paul Miles
November 17, 2016
Nara Kasbergen
November 17, 2016
More Decks by Nara Kasbergen
See All by Nara Kasbergen
[Webinale] Voice: The New Frontend
xiehan
0
93
[IPC] Empathy as a Service: Supporting Mental Healthin the Tech Workplace
xiehan
0
120
[VoiceCon] The Voice Technology Landscape
xiehan
0
84
[NPR x phpworld] Improving Company Culture with Donut
xiehan
0
120
[GHC19] Empathy as a Service: Supporting Mental Health in the Tech Workplace
xiehan
0
240
[CascadiaPHP] Empathy as a Service: Supporting Mental Healthin the Tech Workplace
xiehan
0
110
[Tinel] Voice: The New Frontend
xiehan
0
85
Audio-First Voice Development: The good,the bad & the ugly
xiehan
0
99
[phpday] LET'S GET META! What the data from the joind.in API can teach us about the PHP community
xiehan
0
290
Other Decks in Programming
See All in Programming
Claude Opus 4.6以後の受託開発エンジニアの変化(Claude Code開発ノウハウ大公開スペシャルbyクラスメソッド)
iidatakuma
1
850
Laravelで学ぶ Webアプリケーションチューニング入門/web_application_tuning_101
hanhan1978
4
1.3k
壊れたパーサから始める関数型設計と構成的なパーサ #fp_matsuri
raiga0310
2
390
act1-costs.pdf
sumedhbala
0
250
The Bowling Game- From Imperative to Functional Programming - Part 1
philipschwarz
PRO
0
340
Generative UI & AI-Assistants for Your Angular Solutions
manfredsteyer
PRO
1
220
JAWS-UG横浜 #102 AWSサ終供養LT会 成仏できない AWS サービスたち 〜本日、三体供養します〜
maroon1st
0
230
変わらないものが、変わるものを決める — 意図駆動開発 × イベントソーシング × イミュータブル | What Doesn't Change Decides What Can — IDD × Event Sourcing × Immutability
tomohisa
0
250
Apache Hive: Toward a Cloud Native Lakehouse
okumin
0
160
Haskell/Servantを通してWebミドルウェアを捉え直す
pizzacat83
1
610
Lean は証明の正しさを確認するためだけのツールって思ってませんか?
inoueasei
1
110
Welcome to the "Parametricity" 🏙️ − Generic だけど Specific な世界 −
guvalif
PRO
1
180
Featured
See All Featured
Navigating Weather and Climate Data
rabernat
0
400
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
250
Designing for Performance
lara
611
70k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
How to Think Like a Performance Engineer
csswizardry
28
2.7k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
64
56k
30 Presentation Tips
portentint
PRO
1
350
How to make the Groovebox
asonas
2
2.3k
The Curse of the Amulet
leimatthew05
2
13k
Building Applications with DynamoDB
mza
96
7.1k
Exploring anti-patterns in Rails
aemeredith
3
450
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
400
Transcript
php[world] 2016 Cruft to Class: NPR’s 15-year Journey with PHP
Nara Kasbergen (@xiehan) & Paul Miles (@milespj) • November 17, 2016
None
None
A story in 5 acts
Act I: In the beginning…
November 2001 npr.org re-launches using PHP (previously just static files)
None
None
None
None
None
2 in 10 Americans regularly got their news online in
2000 Source: Pew Research
3 in 10 Americans regularly got their news online in
2006 Source: Pew Research
7% U.S. adults who used social media sites in 2005
Source: Pew Research
None
11% U.S. adults who had listened to at least one
podcast in 2006 Source: Edison Research
February 2004 First commit to NPR Digital Media's master repository
on CVS
January 2007 Steve Jobs announces the first Apple iPhone
November 2007 First version of our mobile site (m.npr.org) launches
Act II: Enter the API
August 2008 NPR Digital Media launches its "Story API", an
XML-based, PHP-powered public API
None
Spring 2009 NPR Digital Media adopts "Scrum" flavor of Agile
Spring 2009 Every NPR Digital Media developer gets their own
virtual machine set up almost identically to our stage/production servers
Spring 2009 NPR Digital Media switches from CVS to SVN
July 2009 Seamus (our CMS) and npr.org re-launch with a
complete redesign
July 2009 NPR Digital Media launches the NPR News app
for iOS
October 2009 npr.org upgrades to PHP 5.2
November 2009 npr.org switches from Oracle to MySQL under-the-hood
November 2009 Second version of m.npr.org, built by a third
party, launches
8,543 commits to the master repository from Sep 2007 –
May 2011 by 9 different developers
Act III: Let's go responsive
May 2011 NPR Digital Media holds its first-ever "Serendipity Days"
(hack week)
September 2011 npr.org upgrades to PHP 5.3.8 from 5.2.9
April 2012 NPR Digital Media adopts Jenkins for builds and
continuous integration (as a result of a Serendipity Days project!)
October 2012 NPR Digital Media launches a new responsive layout
for blogs on npr.org, the first phase in a multi-year responsive redesign project
May 2013 NPR Digital Media begins work on the "Carbon
Services", a new API that will power what eventually becomes NPR One
July 2013 npr.org upgrades to PHP 5.5.0 from 5.3.8
August 2013 NPR Digital Media launches a new responsive homepage
for npr.org
7,302 commits to the master repository from May 2011 –
Dec 2013 by 11 different developers
Act IV: New recruits, new ideas
March 2014 NPR Digital Media completes the switchover from SVN
to Git
March 2014 NPR Digital Media begins using Composer for dependency
management
July 2014 NPR Digital Media launches NPR One, our newest
mobile app for iOS and Android
April 2015 First true unit test is added our main
repository
June 2015 NPR Digital Media begins "DevOpsification" project
March 2016 npr.org retires its Flash-based pop-up audio player in
favor of a persistent HTML5 audio player
May 2016 NPR Digital Media launches a public developer blog,
npr.codes
November 2016 npr.org finally upgrades to PHP 5.6
4 in 10 Americans regularly get their news online in
2016 Source: Pew Research
65% U.S. adults who used social media sites in 2015
Source: Pew Research
21% U.S. adults who listened to a podcast last month
Source: Edison Research
17,354 commits to the master repository from Dec 2013 –
Nov 2016 by 22 different developers
Act V: The future
sometime in 2017 npr.org upgrades to PHP 7
7 strategies for success
1. Serendipity Days
Give people time & space to be creative
Put their best ideas into action
2. Agile
Don't fix what isn't broken
Always be open to changing the process if needed
Monday Tuesday Wednesday Thursday Friday SPRINT PLANNING Developer Mtg. Code
Code Code Code 5pm Code Complete Code Reviews (all day) Set Up Staging QA #1 QA #2 QA #3 2:30pm Code Freeze RELEASE Retrospectives Hotfixes
3. Continuous Deployment
Separate code concerns
Automate builds and deployments
Refactor while delivering features
4. DevOps
Treat infrastructure as code
Provides consistency
Fosters testing and QA
5. Invest in Testing
Run tests on every commit
Fix failing tests immediately
Story not done until tests written
Measure coverage
6. Community & Standards
Attend conferences
Speak at conferences & meetups
Blog openly npr.codes - NPR's public developer blog
Use open-source software
Use community standards & best practices
7. Happy Employees
Hire good coders
Hire good coders
Hire good humans
About Us Nara Kasbergen Software Engineer twitter.com/xiehan linkedin.com/in/narakasbergen Paul Miles
Development Manager twitter.com/milespj linkedin.com/in/milespj npr.codes - NPR's public developer blog twitter.com/NPRTechTeam
None