Don’t let a CMS get in the way of shipping software. Contentful provides a content infrastructure that enables teams to power content in any digital product.
Slide 4
Let’s talk about Software Engineering
Slide 5
Regardless of what you make Something is gonna break
Slide 6
Stuff breaks
Slide 7
Slide 8
Use APIs
Writes APIs
Slide 9
How do we Minimize risk?
Slide 10
If you can change an API In a way that breaks your codebase
Slide 11
And you can’t make that change programmatically
Slide 12
Slide 13
Let’s take a look at Databases
Slide 14
DON’T FUCK IT UP Critical to business Store user data In Sync with Codebase Outages translate to $$ lost
Slide 15
Production should be Non-Trivial to change
Slide 16
Fun Fact: SQL is 44 years old
Slide 17
Database Migrations No more developers manually alternating a DB Schema alterations as code Version Control for Migrations Repeatable and Testable
Slide 18
Cool. Can we talk about APIs again?
Slide 19
Slide 20
Slide 21
Can we learn anything from Continuous Integration?
Slide 22
Simple CI Pipeline Build Test Deploy
Slide 23
WHAT CI DOES •
Forces testing and checks on changes
•
Automates deployment
•
Cancelable
•
Repeatable
Slide 24
Saves Time
Creates Trust
Slide 25
Process is key
Slide 26
Ok. Now we can talk about External APIs
Slide 27
Slide 28
Treat APIs like Databases
Slide 29
MAKE PRODUCTION NON-TRIVIAL TO EDIT
Slide 30
WRITE/ENABLE PROGRAMMATIC API MIGRATIONS
Slide 31
API KEYS FOR EVERY BRANCH
Slide 32
Automate your changes via Continuous Integration
Slide 33
TEST YOUR APIS
Slide 34
MAKE CHANGE PART OF DEPLOYMENT
Slide 35
Less Simple CI Pipeline Build - Use Branch API Key - Implement API Configuration Changes Test - Run tests that use that API Deploy - Update Production API Key