SlideShare a Scribd company logo
100 more developers
without recruiting:
Hello API First Paradigm
odeda@wix.com linkedin/oded-apel
Oded Apel - Software Architect
November 2022
Hi, I’m Oded
→ I ❤ code - been writing code since 7th grade
→ 13 years in the industry, 5 years in Wix
→ Started as a developer, became TL, and now an architect
Hello API First Paradigm
→ Already working on the next generation of developers
Agenda → The tale of Wix eCom integration with eBay
→ What is API first approach?
→ I want to be API first!
Hello API First Paradigm
Agenda → The tale of Wix eCom integration with eBay
→ What is API first approach?
→ I want to be API first!
Hello API First Paradigm
Wix is a leading website builder DIY solution, aimed to provide everything that you need for your online business.
Hello API First Paradigm
Wix eCommerce
Solution
1. You create products 2. People buy them 3. You manage the orders
Hello API First Paradigm
Wix users wish to integrate
with eBay
Hello API First Paradigm
Define products in Wix
When an order is made on eBay, show it in Wix
make them show up in eBay
So Wix decided to build it
Hello API First Paradigm
Wix + eBay
Integration
A team of 4 people was assigned to the task. They worked for 6 months.
So Wix decided to build it
Hello API First Paradigm
Wix + eBay
Integration
A team of 4 people was assigned to the task. They worked for 6 months.
A POC was made, it was clear that it would take a significant amount of time to get the product production-ready.
Code was thrown away :(
POC
Main pain point -
integration with eBay
Pain point -
integration with Wix
2 Years Later
Hello API First Paradigm
Hello API First Paradigm
Wix partners with Inkfrog
Wix + inkFrong
Integration
Inkfrog’s business is to integrate
eCom platforms with eBay
Hello API First Paradigm
Wix partners with Inkfrog
Wix + inkFrong
Integration
Inkfrog had to integrate their existing product with Wix.
To enable this, Wix exposed the required public APIs.
Within 6 months, the integration was live in production
Inkfrog’s business is to integrate
eCom platforms with eBay
Was it just luck?
No, it was a change in mindset.
→ Wix decided to invest in having public APIs
for all services
→ Taking advantage of these APIs, it was
made possible to let someone else build
this product
Hello API First Paradigm
Agenda → The tale of Wix eCom integration with eBay
→ What is API first approach?
→ I want to be API first!
Hello API First Paradigm
Not API First
Product Manager
→ Talks to users and researches other
products
→ Defines screens
Developer
→ Creates design (often starting from
DB schema)
→ API is created as bi-product to allow
client-server communication
Hello API First Paradigm
Not API First
Product Manager
→ Talks to users and researches other
products
→ Defines screens
Developer
→ Creates design (often starting from
DB schema)
→ API is created as bi-product to allow
client-server communication
Hello API First Paradigm
API First
Product Manager
→ Talks to users and researches other products, APIs and
external applications for competitors
→ Defines capabilities
Developer
→ Translates capabilities to an API
→ A design is created based on the API
Product manager defines screens, can be considered as
“default UI”
→
Example:
A To Do List
→
Remove task
Edit task
Mark a task as completed
My Tasks
✔ Task 1 …
Task 2 …
Task 3 …
Add task
Add task
→
→
→
+
Example:
Not API First
Hello API First Paradigm
Example:
Not API First
Hello API First Paradigm
API First
Hello API First Paradigm
Back to the eBay case
Wix + inkFrong
Integration
➔ APIs to allow reading products from Wix
➔ API to allow creating an order in Wix
➔ Events when product gets updated or deleted
And that’s it?
Not really, it’s a great phase 1.
Phase 2 happens when you expose SPIs -
interfaces that others can implement and
extend your product.
But that’s for another day …
Hello API First Paradigm
➔ APIs to allow reading products from Wix
➔ API to allow creating an order in Wix
➔ Events when product gets updated or deleted
Wix + inkFrong
Integration
How did Wix
benefit from
API first?
→ TLDR; Increased dev velocity
→ Encouraged reuse internally
→ External developers can provide features that users need
and are not first priority for Wix
→ Infinite scale
Hello API First Paradigm
Agenda → The tale of Wix eCom integration with eBay
→ What is API first approach?
→ I want to be API first!
Hello API First Paradigm
Standards
→ Authentication and authorization
→ API standards - many small decisions so that all your APIs feels like they are created by the same company.
Examples:
Common entities (e.g address)
HTTP paths
→ What is considered a good API?
Hello API First Paradigm
Why are Standards
important?
→ All APIs “feels” like they were created by the same company
→ Improves API quality
→ Can build tools for all services (e.g export)
Hello API First Paradigm
How can you ensure
Standards?
Forum
Discuss standards and
come up with guidelines
Experts
Experts in each group to
spread the knowledge
Hello API First Paradigm
Enforcement
Breaking the build
Product
Manager
Process & Mindset
Needs
defining API
capabilities
Needs a
different set
of skills
Owns the API -
needs to
understand what
it can provide
Hello API First Paradigm
TLDR; API is a product.
That’s why the product manager ...
Development
starts from API
design
Spends more
time on API
design than
previously
(YAGNI is not
as obvious as it
used to be)
Builds more
capabilities
than what the
current
product (UX)
needs
Hello API First Paradigm
Developer
Process & Mindset
Local experts in
each group
that review API
and ensure
standards
Ensure API
experience
including
naming,
documentation
and even
usability
Hello API First Paradigm
API Masters
Tech Writers
New Roles
Process & Mindset
Do I really
need all of this
for an internal
API?
Strive not to
have internal
APIs
Hello API First Paradigm
Every
external API
starts out as
internal
Internal APIs
Process & Mindset
Yes, like yourself as much as you like external developers
and invest in having a good API.
You still need
to QA your
“regular”
product
You also (or
mainly) need to
QA your APIs
using tools such
as postman
Hello API First Paradigm
Feedback on
invalid API
input is crucial
QA
Process & Mindset
Bugs will be found on the API level, possibly ones that
have no effect on your “regular” product.
You still need
to support
your “regular”
product
You also need a
support team
that can
support
developers
Hello API First Paradigm
Support
Process & Mindset
Hello API First Paradigm
Interface Definition Language (or IDL) allows you to define an API. In Wix we use Protobuf
IDL
Tools
Hello API First Paradigm
Where you see all APIs with documentation and playground
API Portal
Tools
Hello API First Paradigm
Where you can create applications | Users can find and install | Authentication | Webhooks
App Market
Tools
API first does
come with a
cost.
→ It increases the load on QA and support
→ It requires new roles such as tech writer
→ It’s a paradigm shift that your company needs to do
→ It may lead to analysis paralysis - API first requires
you to analyze your use cases upfront
→ Product-development tension - should the product
understand the API?
Hello API First Paradigm
API first paradigm allows you to
boost development velocity.
Hello API First Paradigm
The scale is infinite when both Wix and non-Wix developers can now
develop what our users need.
Thank You!
Any questions?
odeda@wix.com linkedin/oded-apel

More Related Content

Similar to API first.pptx

apidays LIVE Helsinki & North 2022_How to Win Friends and Influence People wi...
apidays LIVE Helsinki & North 2022_How to Win Friends and Influence People wi...apidays LIVE Helsinki & North 2022_How to Win Friends and Influence People wi...
apidays LIVE Helsinki & North 2022_How to Win Friends and Influence People wi...
apidays
 
From API-First to SDK-First
From API-First to SDK-FirstFrom API-First to SDK-First
From API-First to SDK-First
Nordic APIs
 
APIs as a Product Strategy
APIs as a Product StrategyAPIs as a Product Strategy
APIs as a Product Strategy
Ravi Kumar
 
10 Best Free and Paid App Builders of 2022.pdf
10 Best Free and Paid App Builders of 2022.pdf10 Best Free and Paid App Builders of 2022.pdf
10 Best Free and Paid App Builders of 2022.pdf
Ekta Patel
 
The Art of API Design, by David Biesack at Apiture
The Art of API Design, by David Biesack at ApitureThe Art of API Design, by David Biesack at Apiture
The Art of API Design, by David Biesack at Apiture
Nordic APIs
 
Auckland API & Microservices Meetup 1: API led design
Auckland API & Microservices Meetup 1: API led designAuckland API & Microservices Meetup 1: API led design
Auckland API & Microservices Meetup 1: API led design
Damian Harvey
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2
 
apidays New York 2022 - Supercharge digital democracy with API first approach...
apidays New York 2022 - Supercharge digital democracy with API first approach...apidays New York 2022 - Supercharge digital democracy with API first approach...
apidays New York 2022 - Supercharge digital democracy with API first approach...
apidays
 
INTERFACE, by apidays - The 8 Key Components of a Modern API Stack by Iddo G...
INTERFACE, by apidays  - The 8 Key Components of a Modern API Stack by Iddo G...INTERFACE, by apidays  - The 8 Key Components of a Modern API Stack by Iddo G...
INTERFACE, by apidays - The 8 Key Components of a Modern API Stack by Iddo G...
apidays
 
Simplifying the OpenAPI Development Experience
Simplifying the OpenAPI Development Experience Simplifying the OpenAPI Development Experience
Simplifying the OpenAPI Development Experience
confluent
 
The API SlideShare for Bankers and Fintech Executives
The API SlideShare for Bankers and Fintech ExecutivesThe API SlideShare for Bankers and Fintech Executives
The API SlideShare for Bankers and Fintech Executives
MX
 
Rebooting APIs at scale
Rebooting APIs at scaleRebooting APIs at scale
Rebooting APIs at scale
Rahul Dighe
 
How to build and deploy app on Replit
How to build and deploy app on ReplitHow to build and deploy app on Replit
How to build and deploy app on Replit
matiasfund
 
API Product Opportunity Responsibility Nicolas Sierro 2015.pptx
API Product Opportunity Responsibility Nicolas Sierro 2015.pptxAPI Product Opportunity Responsibility Nicolas Sierro 2015.pptx
API Product Opportunity Responsibility Nicolas Sierro 2015.pptx
Blockchainizator
 
Contract {Collaboration} Driven Development - APIdays Interface 2020
Contract {Collaboration} Driven Development - APIdays Interface 2020Contract {Collaboration} Driven Development - APIdays Interface 2020
Contract {Collaboration} Driven Development - APIdays Interface 2020
Alianna Inzana
 
API Webinar November 18th 2014
API Webinar November 18th 2014API Webinar November 18th 2014
API Webinar November 18th 2014
Yenlo
 
apidays Australia 2022 - Accelerate business innovation by improving API prog...
apidays Australia 2022 - Accelerate business innovation by improving API prog...apidays Australia 2022 - Accelerate business innovation by improving API prog...
apidays Australia 2022 - Accelerate business innovation by improving API prog...
apidays
 
SOA in the API World - Facades, Transactions, Stateless Services
SOA in the API World - Facades, Transactions, Stateless Services SOA in the API World - Facades, Transactions, Stateless Services
SOA in the API World - Facades, Transactions, Stateless Services Apigee | Google Cloud
 
Calling APIs with SharePoint Framework
Calling APIs with SharePoint FrameworkCalling APIs with SharePoint Framework
Calling APIs with SharePoint Framework
Giuseppe Marchi
 

Similar to API first.pptx (20)

apidays LIVE Helsinki & North 2022_How to Win Friends and Influence People wi...
apidays LIVE Helsinki & North 2022_How to Win Friends and Influence People wi...apidays LIVE Helsinki & North 2022_How to Win Friends and Influence People wi...
apidays LIVE Helsinki & North 2022_How to Win Friends and Influence People wi...
 
API.docx
API.docxAPI.docx
API.docx
 
From API-First to SDK-First
From API-First to SDK-FirstFrom API-First to SDK-First
From API-First to SDK-First
 
APIs as a Product Strategy
APIs as a Product StrategyAPIs as a Product Strategy
APIs as a Product Strategy
 
10 Best Free and Paid App Builders of 2022.pdf
10 Best Free and Paid App Builders of 2022.pdf10 Best Free and Paid App Builders of 2022.pdf
10 Best Free and Paid App Builders of 2022.pdf
 
The Art of API Design, by David Biesack at Apiture
The Art of API Design, by David Biesack at ApitureThe Art of API Design, by David Biesack at Apiture
The Art of API Design, by David Biesack at Apiture
 
Auckland API & Microservices Meetup 1: API led design
Auckland API & Microservices Meetup 1: API led designAuckland API & Microservices Meetup 1: API led design
Auckland API & Microservices Meetup 1: API led design
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
 
apidays New York 2022 - Supercharge digital democracy with API first approach...
apidays New York 2022 - Supercharge digital democracy with API first approach...apidays New York 2022 - Supercharge digital democracy with API first approach...
apidays New York 2022 - Supercharge digital democracy with API first approach...
 
INTERFACE, by apidays - The 8 Key Components of a Modern API Stack by Iddo G...
INTERFACE, by apidays  - The 8 Key Components of a Modern API Stack by Iddo G...INTERFACE, by apidays  - The 8 Key Components of a Modern API Stack by Iddo G...
INTERFACE, by apidays - The 8 Key Components of a Modern API Stack by Iddo G...
 
Simplifying the OpenAPI Development Experience
Simplifying the OpenAPI Development Experience Simplifying the OpenAPI Development Experience
Simplifying the OpenAPI Development Experience
 
The API SlideShare for Bankers and Fintech Executives
The API SlideShare for Bankers and Fintech ExecutivesThe API SlideShare for Bankers and Fintech Executives
The API SlideShare for Bankers and Fintech Executives
 
Rebooting APIs at scale
Rebooting APIs at scaleRebooting APIs at scale
Rebooting APIs at scale
 
How to build and deploy app on Replit
How to build and deploy app on ReplitHow to build and deploy app on Replit
How to build and deploy app on Replit
 
API Product Opportunity Responsibility Nicolas Sierro 2015.pptx
API Product Opportunity Responsibility Nicolas Sierro 2015.pptxAPI Product Opportunity Responsibility Nicolas Sierro 2015.pptx
API Product Opportunity Responsibility Nicolas Sierro 2015.pptx
 
Contract {Collaboration} Driven Development - APIdays Interface 2020
Contract {Collaboration} Driven Development - APIdays Interface 2020Contract {Collaboration} Driven Development - APIdays Interface 2020
Contract {Collaboration} Driven Development - APIdays Interface 2020
 
API Webinar November 18th 2014
API Webinar November 18th 2014API Webinar November 18th 2014
API Webinar November 18th 2014
 
apidays Australia 2022 - Accelerate business innovation by improving API prog...
apidays Australia 2022 - Accelerate business innovation by improving API prog...apidays Australia 2022 - Accelerate business innovation by improving API prog...
apidays Australia 2022 - Accelerate business innovation by improving API prog...
 
SOA in the API World - Facades, Transactions, Stateless Services
SOA in the API World - Facades, Transactions, Stateless Services SOA in the API World - Facades, Transactions, Stateless Services
SOA in the API World - Facades, Transactions, Stateless Services
 
Calling APIs with SharePoint Framework
Calling APIs with SharePoint FrameworkCalling APIs with SharePoint Framework
Calling APIs with SharePoint Framework
 

Recently uploaded

Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
CarlosHernanMontoyab2
 

Recently uploaded (20)

Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
 

API first.pptx

  • 1. 100 more developers without recruiting: Hello API First Paradigm odeda@wix.com linkedin/oded-apel Oded Apel - Software Architect November 2022
  • 2. Hi, I’m Oded → I ❤ code - been writing code since 7th grade → 13 years in the industry, 5 years in Wix → Started as a developer, became TL, and now an architect Hello API First Paradigm → Already working on the next generation of developers
  • 3. Agenda → The tale of Wix eCom integration with eBay → What is API first approach? → I want to be API first! Hello API First Paradigm
  • 4. Agenda → The tale of Wix eCom integration with eBay → What is API first approach? → I want to be API first! Hello API First Paradigm
  • 5. Wix is a leading website builder DIY solution, aimed to provide everything that you need for your online business. Hello API First Paradigm
  • 6. Wix eCommerce Solution 1. You create products 2. People buy them 3. You manage the orders Hello API First Paradigm
  • 7. Wix users wish to integrate with eBay Hello API First Paradigm Define products in Wix When an order is made on eBay, show it in Wix make them show up in eBay
  • 8. So Wix decided to build it Hello API First Paradigm Wix + eBay Integration A team of 4 people was assigned to the task. They worked for 6 months.
  • 9. So Wix decided to build it Hello API First Paradigm Wix + eBay Integration A team of 4 people was assigned to the task. They worked for 6 months. A POC was made, it was clear that it would take a significant amount of time to get the product production-ready. Code was thrown away :( POC Main pain point - integration with eBay Pain point - integration with Wix
  • 10. 2 Years Later Hello API First Paradigm
  • 11. Hello API First Paradigm Wix partners with Inkfrog Wix + inkFrong Integration Inkfrog’s business is to integrate eCom platforms with eBay
  • 12. Hello API First Paradigm Wix partners with Inkfrog Wix + inkFrong Integration Inkfrog had to integrate their existing product with Wix. To enable this, Wix exposed the required public APIs. Within 6 months, the integration was live in production Inkfrog’s business is to integrate eCom platforms with eBay
  • 13. Was it just luck? No, it was a change in mindset. → Wix decided to invest in having public APIs for all services → Taking advantage of these APIs, it was made possible to let someone else build this product Hello API First Paradigm
  • 14. Agenda → The tale of Wix eCom integration with eBay → What is API first approach? → I want to be API first! Hello API First Paradigm
  • 15. Not API First Product Manager → Talks to users and researches other products → Defines screens Developer → Creates design (often starting from DB schema) → API is created as bi-product to allow client-server communication Hello API First Paradigm
  • 16. Not API First Product Manager → Talks to users and researches other products → Defines screens Developer → Creates design (often starting from DB schema) → API is created as bi-product to allow client-server communication Hello API First Paradigm API First Product Manager → Talks to users and researches other products, APIs and external applications for competitors → Defines capabilities Developer → Translates capabilities to an API → A design is created based on the API Product manager defines screens, can be considered as “default UI” →
  • 17. Example: A To Do List → Remove task Edit task Mark a task as completed My Tasks ✔ Task 1 … Task 2 … Task 3 … Add task Add task → → → +
  • 18. Example: Not API First Hello API First Paradigm
  • 19. Example: Not API First Hello API First Paradigm API First
  • 20. Hello API First Paradigm Back to the eBay case Wix + inkFrong Integration ➔ APIs to allow reading products from Wix ➔ API to allow creating an order in Wix ➔ Events when product gets updated or deleted
  • 21. And that’s it? Not really, it’s a great phase 1. Phase 2 happens when you expose SPIs - interfaces that others can implement and extend your product. But that’s for another day … Hello API First Paradigm ➔ APIs to allow reading products from Wix ➔ API to allow creating an order in Wix ➔ Events when product gets updated or deleted Wix + inkFrong Integration
  • 22. How did Wix benefit from API first? → TLDR; Increased dev velocity → Encouraged reuse internally → External developers can provide features that users need and are not first priority for Wix → Infinite scale Hello API First Paradigm
  • 23. Agenda → The tale of Wix eCom integration with eBay → What is API first approach? → I want to be API first! Hello API First Paradigm
  • 24. Standards → Authentication and authorization → API standards - many small decisions so that all your APIs feels like they are created by the same company. Examples: Common entities (e.g address) HTTP paths → What is considered a good API? Hello API First Paradigm
  • 25. Why are Standards important? → All APIs “feels” like they were created by the same company → Improves API quality → Can build tools for all services (e.g export) Hello API First Paradigm
  • 26. How can you ensure Standards? Forum Discuss standards and come up with guidelines Experts Experts in each group to spread the knowledge Hello API First Paradigm Enforcement Breaking the build
  • 27. Product Manager Process & Mindset Needs defining API capabilities Needs a different set of skills Owns the API - needs to understand what it can provide Hello API First Paradigm TLDR; API is a product. That’s why the product manager ...
  • 28. Development starts from API design Spends more time on API design than previously (YAGNI is not as obvious as it used to be) Builds more capabilities than what the current product (UX) needs Hello API First Paradigm Developer Process & Mindset
  • 29. Local experts in each group that review API and ensure standards Ensure API experience including naming, documentation and even usability Hello API First Paradigm API Masters Tech Writers New Roles Process & Mindset
  • 30. Do I really need all of this for an internal API? Strive not to have internal APIs Hello API First Paradigm Every external API starts out as internal Internal APIs Process & Mindset Yes, like yourself as much as you like external developers and invest in having a good API.
  • 31. You still need to QA your “regular” product You also (or mainly) need to QA your APIs using tools such as postman Hello API First Paradigm Feedback on invalid API input is crucial QA Process & Mindset Bugs will be found on the API level, possibly ones that have no effect on your “regular” product.
  • 32. You still need to support your “regular” product You also need a support team that can support developers Hello API First Paradigm Support Process & Mindset
  • 33. Hello API First Paradigm Interface Definition Language (or IDL) allows you to define an API. In Wix we use Protobuf IDL Tools
  • 34. Hello API First Paradigm Where you see all APIs with documentation and playground API Portal Tools
  • 35. Hello API First Paradigm Where you can create applications | Users can find and install | Authentication | Webhooks App Market Tools
  • 36. API first does come with a cost. → It increases the load on QA and support → It requires new roles such as tech writer → It’s a paradigm shift that your company needs to do → It may lead to analysis paralysis - API first requires you to analyze your use cases upfront → Product-development tension - should the product understand the API? Hello API First Paradigm
  • 37. API first paradigm allows you to boost development velocity. Hello API First Paradigm The scale is infinite when both Wix and non-Wix developers can now develop what our users need.