SlideShare ist ein Scribd-Unternehmen logo
1 von 30
Downloaden Sie, um offline zu lesen
simple software solutions to big business problems
Making Software. Better.
Digital By Default
Building APIs for the Government
2
I believe the creation of the Government
Digital Service is one of the great unsung
triumphs of the last Parliament.
Prime Minister David Cameron
A barrier to innovation
3
SOAP-based proprietary webservices, which
software vendors currently integrate with, are
cumbersome, poorly documented and a disservice
to us, the taxpayer
Brave New World
By creating a new API platform built upon user
needs, based on RESTFul principles, we have
reduced the barrier to entry and innovation.
10 Years of AWS - APIs are forever
“.......Once customers started building their
applications and systems using our APIs, changing
those APIs becomes impossible, as we would be
impacting our customer’s business operations if we
would do so. We knew that designing APIs was a
very important task as we’d only have one chance
to get it right.”
http://www.allthingsdistributed.com/2016/03/10-lessons-from-10-years-of-aws.html
5 Golden RulesOf Building APIs at HMRC Digital
Golden Rule 1
Make it Work
Secure, performant and easy
An API platform is not fit for purpose unless it is
secure, handles appropriate throughput accurately,
is easy to integrate with and is easy to publish and
document
Protect your platform
Throttling is an important part of any API platform
but shouldn’t be seen as a backup option for a
poorly performing API, but as protection against
poorly written/abusive 3rd party software.
Plan for change
Define a versioning strategy early, one that fits your
architecture, organisation and clients. Make
backward compatibility a key goal.
Golden Rule 2
If you can’t make it good, at least make it look good - Bill Gates
Make it Beautiful
Importance of beautiful APIs
12
APIs are the public face of your IT. They are part
of your brand, reputation and an insight into
your quality. You wouldn’t deliver an ugly
website.
Golden Rule 3
Focus your APIs on your domain, not your offline processes
Change your perspective
Why not business processes?
Business processes were not created for the
digital world. They were created for cryptic
commands into mainframe terminals, paper
forms and human (intelligent) intervention.
Reflect these digitally and you limit APIs
Domain not processes
Create APIs that reflect your domain, using
Domain Driven Design concepts. You will not
limit yourselves to existing processes, you’ll
hide the implementation and you’ll use industry
language. In so doing, complexity is removed.
How have we changed our focus?
16
HMRC is traditionally siloed along the lines of
tax regimes. Code, systems, people, databases.
Tax regimes are the processes, not the domain.
The digital world reflected the offline. We’ve
changed our focus. Our APIs will be domain
centric and not regime centric.
Golden Rule 4
REST only has one level; Anything else is not REST
Use Hypermedia
Richardsons Maturity Model
Courtesy of www.
martinfowler.com
Why we should stop talking about it
Richardson’s Maturity Model has become a
justification to not use Hypermedia. It is not
meant to be a model for levels of valid REST
development. Just an observation of an
organisation’s proximity to REST
No Hypermedia, No REST
“If the engine of application state (and hence
the API) is not being driven by hypertext, then
it cannot be RESTful and cannot be a REST API.
Period.” - Roy Fielding
What is Hypermedia (HATEOAS)
{
self: {
url: “http://api.reda.com/users/reda”
},
data: {
name: “Reda Hmeid”,
age: “23”,
height: “6ft 2in”,
address_url: “http://api.reda.com/users/reda/addresses”,
messages_url: “http://api.reda.com/users/reda/messages”
},
links:[
{
url: “http://api.reda.com/users/reda/messages”,
rel: “Send a new message”,
method: “Post”
},
{
url: “http://api.reda.com/users/reda”,
rel: “Update details”,
method: “Put”
}
]
}
What does Hypermedia provide
By controlling flow and business logic within
the API, thereby hiding implementation, you
ensure loose coupling between the client and
the API. This allows for more frequent
impactless changes and added functionality.
But also
Hypermedia reduces latency and reduces load
on the server. Clients can be much dumber,
needing less business code, making it cheaper
to produce software.
Golden Rule 5
Your organisation is mature enough to build RESTFul APIs today
You’re Ready
You can maintain the status quo
Or you can make things better. Maturity of an
organisation is where it is now. Not where it can be
and what it can do.
Examples of the Good
Proof that beautiful APIs are “pragmatic” APIs
● Github.com
https://developer.github.
com/v3/pulls/
● Stormpath.com
https://docs.stormpath.
com/rest/product-
guide/latest/reference.
html#application
● Paypal.com
https://developer.paypal.
com/docs/rest/api/
● Visa
https://developer.visa.com
Examples
References
Want to learn more; try these
1. Rest in Practice - Jim Webber
2. Domain Driven Design - Eric Evans
3. RESTFul Web Services Cookbook - Subbu Allamajru
4. http://martinfowler.com/articles/richardsonMaturityModel.html
Thank You
Twitter
@EqualExperts
LinkedIn
linkedin.com/company/equal-experts
UNITED KINGDOM
+44 203 603 7830
helloUK@equalexperts.com
Equal Experts UK Ltd
30 Brock Street
London NW1 3FG
INDIA
+91 20 6607 7763
helloIndia@equalexperts.com
Equal Experts India Private Ltd
Office No. 4-C
Cerebrum IT Park No. B3
Kumar City, Kalyani Nagar
Pune, 411006
Web
www.equalexperts.com
CANADA
+1 403 775 4861
helloCanada@equalexperts.com
Equal Experts Devices Inc
205 - 279 Midpark way S.E.
T2X 1M2
Calgary, Alberta
Twitter:
@softwarereda
LinkedIn:
linkedin.com/in/redahmeid

Weitere ähnliche Inhalte

Was ist angesagt?

Mastering Digital Channels with APIs
Mastering Digital Channels with APIsMastering Digital Channels with APIs
Mastering Digital Channels with APIsCA API Management
 
apidays LIVE JAKARTA - Event Driven APIs by Phil Scanlon
apidays LIVE JAKARTA - Event Driven APIs by Phil Scanlonapidays LIVE JAKARTA - Event Driven APIs by Phil Scanlon
apidays LIVE JAKARTA - Event Driven APIs by Phil Scanlonapidays
 
APIs: State of the Union - Ross Garrett @ AppsWorld 2014
APIs: State of the Union - Ross Garrett @ AppsWorld 2014APIs: State of the Union - Ross Garrett @ AppsWorld 2014
APIs: State of the Union - Ross Garrett @ AppsWorld 2014CA API Management
 
What 100TB's API Can Do For You
What 100TB's API Can Do For YouWhat 100TB's API Can Do For You
What 100TB's API Can Do For You100TB
 
The API Economy: API Provider Perspective / European Identity Summit 2012
The API Economy: API Provider Perspective / European Identity Summit 2012The API Economy: API Provider Perspective / European Identity Summit 2012
The API Economy: API Provider Perspective / European Identity Summit 20123scale
 
Melbourne API Management Seminar
Melbourne API Management SeminarMelbourne API Management Seminar
Melbourne API Management SeminarCA API Management
 
apidays LIVE JAKARTA - 359o of API Design: Things to consider when crafting y...
apidays LIVE JAKARTA - 359o of API Design: Things to consider when crafting y...apidays LIVE JAKARTA - 359o of API Design: Things to consider when crafting y...
apidays LIVE JAKARTA - 359o of API Design: Things to consider when crafting y...apidays
 
API Management in Digital Transformation
API Management in Digital TransformationAPI Management in Digital Transformation
API Management in Digital TransformationAditya Thatte
 
apidays LIVE JAKARTA - APIs as Products in payments, telecommunications and D...
apidays LIVE JAKARTA - APIs as Products in payments, telecommunications and D...apidays LIVE JAKARTA - APIs as Products in payments, telecommunications and D...
apidays LIVE JAKARTA - APIs as Products in payments, telecommunications and D...apidays
 
Digital Nirvana with HANA Cloud Platform
Digital Nirvana with HANA Cloud Platform Digital Nirvana with HANA Cloud Platform
Digital Nirvana with HANA Cloud Platform Darren Crowder
 
apidays LIVE LONDON - Architecting Scalable Software Platforms for IoT Applic...
apidays LIVE LONDON - Architecting Scalable Software Platforms for IoT Applic...apidays LIVE LONDON - Architecting Scalable Software Platforms for IoT Applic...
apidays LIVE LONDON - Architecting Scalable Software Platforms for IoT Applic...apidays
 
Alexio Cassani - Start-up & API Economy: opportunità e benefici | Codemotion ...
Alexio Cassani - Start-up & API Economy: opportunità e benefici | Codemotion ...Alexio Cassani - Start-up & API Economy: opportunità e benefici | Codemotion ...
Alexio Cassani - Start-up & API Economy: opportunità e benefici | Codemotion ...Codemotion
 
Api architectures for the modern enterprise
Api architectures for the modern enterpriseApi architectures for the modern enterprise
Api architectures for the modern enterpriseCA API Management
 
apidays LIVE Jakarta - Serverless powered Low Code by Alex-Adrien Auger, Sipios
apidays LIVE Jakarta - Serverless powered Low Code by Alex-Adrien Auger, Sipiosapidays LIVE Jakarta - Serverless powered Low Code by Alex-Adrien Auger, Sipios
apidays LIVE Jakarta - Serverless powered Low Code by Alex-Adrien Auger, Sipiosapidays
 
AADI Mashery/Coca-Cola Enterprises November 2012
AADI Mashery/Coca-Cola Enterprises November 2012  AADI Mashery/Coca-Cola Enterprises November 2012
AADI Mashery/Coca-Cola Enterprises November 2012 BAPISFNYLONDON
 
API360 – A How-To Guide for Enterprise APIs - Learn how to position your ente...
API360 – A How-To Guide for Enterprise APIs - Learn how to position your ente...API360 – A How-To Guide for Enterprise APIs - Learn how to position your ente...
API360 – A How-To Guide for Enterprise APIs - Learn how to position your ente...CA API Management
 
APIs: What’s in it for me – How can APIs bring value to our Business (Philipp...
APIs: What’s in it for me – How can APIs bring value to our Business (Philipp...APIs: What’s in it for me – How can APIs bring value to our Business (Philipp...
APIs: What’s in it for me – How can APIs bring value to our Business (Philipp...Nordic APIs
 
Securely expose protected resources as ap is with app42 api gateway
Securely expose protected resources as ap is with app42 api gatewaySecurely expose protected resources as ap is with app42 api gateway
Securely expose protected resources as ap is with app42 api gatewayZuaib
 

Was ist angesagt? (20)

Mastering Digital Channels with APIs
Mastering Digital Channels with APIsMastering Digital Channels with APIs
Mastering Digital Channels with APIs
 
apidays LIVE JAKARTA - Event Driven APIs by Phil Scanlon
apidays LIVE JAKARTA - Event Driven APIs by Phil Scanlonapidays LIVE JAKARTA - Event Driven APIs by Phil Scanlon
apidays LIVE JAKARTA - Event Driven APIs by Phil Scanlon
 
APIs: State of the Union - Ross Garrett @ AppsWorld 2014
APIs: State of the Union - Ross Garrett @ AppsWorld 2014APIs: State of the Union - Ross Garrett @ AppsWorld 2014
APIs: State of the Union - Ross Garrett @ AppsWorld 2014
 
What 100TB's API Can Do For You
What 100TB's API Can Do For YouWhat 100TB's API Can Do For You
What 100TB's API Can Do For You
 
The API Economy: API Provider Perspective / European Identity Summit 2012
The API Economy: API Provider Perspective / European Identity Summit 2012The API Economy: API Provider Perspective / European Identity Summit 2012
The API Economy: API Provider Perspective / European Identity Summit 2012
 
Melbourne API Management Seminar
Melbourne API Management SeminarMelbourne API Management Seminar
Melbourne API Management Seminar
 
apidays LIVE JAKARTA - 359o of API Design: Things to consider when crafting y...
apidays LIVE JAKARTA - 359o of API Design: Things to consider when crafting y...apidays LIVE JAKARTA - 359o of API Design: Things to consider when crafting y...
apidays LIVE JAKARTA - 359o of API Design: Things to consider when crafting y...
 
API Management in Digital Transformation
API Management in Digital TransformationAPI Management in Digital Transformation
API Management in Digital Transformation
 
apidays LIVE JAKARTA - APIs as Products in payments, telecommunications and D...
apidays LIVE JAKARTA - APIs as Products in payments, telecommunications and D...apidays LIVE JAKARTA - APIs as Products in payments, telecommunications and D...
apidays LIVE JAKARTA - APIs as Products in payments, telecommunications and D...
 
Definitive Guide to API Management
Definitive Guide to API ManagementDefinitive Guide to API Management
Definitive Guide to API Management
 
Digital Nirvana with HANA Cloud Platform
Digital Nirvana with HANA Cloud Platform Digital Nirvana with HANA Cloud Platform
Digital Nirvana with HANA Cloud Platform
 
apidays LIVE LONDON - Architecting Scalable Software Platforms for IoT Applic...
apidays LIVE LONDON - Architecting Scalable Software Platforms for IoT Applic...apidays LIVE LONDON - Architecting Scalable Software Platforms for IoT Applic...
apidays LIVE LONDON - Architecting Scalable Software Platforms for IoT Applic...
 
Alexio Cassani - Start-up & API Economy: opportunità e benefici | Codemotion ...
Alexio Cassani - Start-up & API Economy: opportunità e benefici | Codemotion ...Alexio Cassani - Start-up & API Economy: opportunità e benefici | Codemotion ...
Alexio Cassani - Start-up & API Economy: opportunità e benefici | Codemotion ...
 
Api architectures for the modern enterprise
Api architectures for the modern enterpriseApi architectures for the modern enterprise
Api architectures for the modern enterprise
 
apidays LIVE Jakarta - Serverless powered Low Code by Alex-Adrien Auger, Sipios
apidays LIVE Jakarta - Serverless powered Low Code by Alex-Adrien Auger, Sipiosapidays LIVE Jakarta - Serverless powered Low Code by Alex-Adrien Auger, Sipios
apidays LIVE Jakarta - Serverless powered Low Code by Alex-Adrien Auger, Sipios
 
SlideShare Test-1
SlideShare Test-1SlideShare Test-1
SlideShare Test-1
 
AADI Mashery/Coca-Cola Enterprises November 2012
AADI Mashery/Coca-Cola Enterprises November 2012  AADI Mashery/Coca-Cola Enterprises November 2012
AADI Mashery/Coca-Cola Enterprises November 2012
 
API360 – A How-To Guide for Enterprise APIs - Learn how to position your ente...
API360 – A How-To Guide for Enterprise APIs - Learn how to position your ente...API360 – A How-To Guide for Enterprise APIs - Learn how to position your ente...
API360 – A How-To Guide for Enterprise APIs - Learn how to position your ente...
 
APIs: What’s in it for me – How can APIs bring value to our Business (Philipp...
APIs: What’s in it for me – How can APIs bring value to our Business (Philipp...APIs: What’s in it for me – How can APIs bring value to our Business (Philipp...
APIs: What’s in it for me – How can APIs bring value to our Business (Philipp...
 
Securely expose protected resources as ap is with app42 api gateway
Securely expose protected resources as ap is with app42 api gatewaySecurely expose protected resources as ap is with app42 api gateway
Securely expose protected resources as ap is with app42 api gateway
 

Andere mochten auch

The Rise of the Agile Architect
The Rise of the Agile ArchitectThe Rise of the Agile Architect
The Rise of the Agile ArchitectReda Hmeid MBCS
 
RELACIÓN DE REPRESENTANTES DOCENTES Y ESTUDIANTES A LOS ORGANOS DE GOBIERNO, ...
RELACIÓN DE REPRESENTANTES DOCENTES Y ESTUDIANTES A LOS ORGANOS DE GOBIERNO, ...RELACIÓN DE REPRESENTANTES DOCENTES Y ESTUDIANTES A LOS ORGANOS DE GOBIERNO, ...
RELACIÓN DE REPRESENTANTES DOCENTES Y ESTUDIANTES A LOS ORGANOS DE GOBIERNO, ...Carlos Gutierrez Delgado
 
Webinar la simulazione__uno_strumento_per_migliorare_la_realta_10.11.2016
Webinar la simulazione__uno_strumento_per_migliorare_la_realta_10.11.2016Webinar la simulazione__uno_strumento_per_migliorare_la_realta_10.11.2016
Webinar la simulazione__uno_strumento_per_migliorare_la_realta_10.11.2016AIMFirst
 
Aspe improved user_story_writing_techniques_ppt
Aspe improved user_story_writing_techniques_pptAspe improved user_story_writing_techniques_ppt
Aspe improved user_story_writing_techniques_pptTatiya Siengdang
 
The Agile Architect - Agile India 2016
The Agile Architect - Agile India 2016The Agile Architect - Agile India 2016
The Agile Architect - Agile India 2016Chris Edwards, P.Eng.
 
Paolo Cascone_The Urban Fabrication Laboratory
Paolo Cascone_The Urban Fabrication LaboratoryPaolo Cascone_The Urban Fabrication Laboratory
Paolo Cascone_The Urban Fabrication LaboratoryLa Scuola Open Source
 
Agile software development and UML
Agile software development and UMLAgile software development and UML
Agile software development and UMLJohn C. Immanuel
 
Welcome Home: Designing the Syrian Refugee Intake Experience - Justin Kirkey
Welcome Home: Designing the Syrian Refugee Intake Experience -  Justin Kirkey  Welcome Home: Designing the Syrian Refugee Intake Experience -  Justin Kirkey
Welcome Home: Designing the Syrian Refugee Intake Experience - Justin Kirkey Service Design Network Canada
 
Protection against overvoltage
Protection against overvoltageProtection against overvoltage
Protection against overvoltagevishalgohel12195
 
How to Write Amazing Functional Analysis Documents for your SharePoint Projects
How to Write Amazing Functional Analysis Documents for your SharePoint Projects How to Write Amazing Functional Analysis Documents for your SharePoint Projects
How to Write Amazing Functional Analysis Documents for your SharePoint Projects GSoft
 
User Stories for Agile Requirements
User Stories for Agile RequirementsUser Stories for Agile Requirements
User Stories for Agile RequirementsMike Cohn
 
How to Break the Requirements into User Stories
How to Break the Requirements into User StoriesHow to Break the Requirements into User Stories
How to Break the Requirements into User StoriesShriKant Vashishtha
 

Andere mochten auch (20)

The Rise of the Agile Architect
The Rise of the Agile ArchitectThe Rise of the Agile Architect
The Rise of the Agile Architect
 
ahmed saad
ahmed saadahmed saad
ahmed saad
 
Cronograma de elecciones dic 2015
Cronograma de elecciones dic 2015Cronograma de elecciones dic 2015
Cronograma de elecciones dic 2015
 
RELACIÓN DE REPRESENTANTES DOCENTES Y ESTUDIANTES A LOS ORGANOS DE GOBIERNO, ...
RELACIÓN DE REPRESENTANTES DOCENTES Y ESTUDIANTES A LOS ORGANOS DE GOBIERNO, ...RELACIÓN DE REPRESENTANTES DOCENTES Y ESTUDIANTES A LOS ORGANOS DE GOBIERNO, ...
RELACIÓN DE REPRESENTANTES DOCENTES Y ESTUDIANTES A LOS ORGANOS DE GOBIERNO, ...
 
Webinar la simulazione__uno_strumento_per_migliorare_la_realta_10.11.2016
Webinar la simulazione__uno_strumento_per_migliorare_la_realta_10.11.2016Webinar la simulazione__uno_strumento_per_migliorare_la_realta_10.11.2016
Webinar la simulazione__uno_strumento_per_migliorare_la_realta_10.11.2016
 
IRAS
IRASIRAS
IRAS
 
Razonamiento logico
Razonamiento logicoRazonamiento logico
Razonamiento logico
 
Aspe improved user_story_writing_techniques_ppt
Aspe improved user_story_writing_techniques_pptAspe improved user_story_writing_techniques_ppt
Aspe improved user_story_writing_techniques_ppt
 
The Agile Architect - Agile India 2016
The Agile Architect - Agile India 2016The Agile Architect - Agile India 2016
The Agile Architect - Agile India 2016
 
Paolo Cascone_The Urban Fabrication Laboratory
Paolo Cascone_The Urban Fabrication LaboratoryPaolo Cascone_The Urban Fabrication Laboratory
Paolo Cascone_The Urban Fabrication Laboratory
 
Use Cases Vs User Stories
Use Cases Vs User StoriesUse Cases Vs User Stories
Use Cases Vs User Stories
 
Agile software development and UML
Agile software development and UMLAgile software development and UML
Agile software development and UML
 
Scott Meyers Self Storage Investing PowerPoint
Scott Meyers Self Storage Investing PowerPointScott Meyers Self Storage Investing PowerPoint
Scott Meyers Self Storage Investing PowerPoint
 
Welcome Home: Designing the Syrian Refugee Intake Experience - Justin Kirkey
Welcome Home: Designing the Syrian Refugee Intake Experience -  Justin Kirkey  Welcome Home: Designing the Syrian Refugee Intake Experience -  Justin Kirkey
Welcome Home: Designing the Syrian Refugee Intake Experience - Justin Kirkey
 
Protection against overvoltage
Protection against overvoltageProtection against overvoltage
Protection against overvoltage
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
How to Write Amazing Functional Analysis Documents for your SharePoint Projects
How to Write Amazing Functional Analysis Documents for your SharePoint Projects How to Write Amazing Functional Analysis Documents for your SharePoint Projects
How to Write Amazing Functional Analysis Documents for your SharePoint Projects
 
User Story
User StoryUser Story
User Story
 
User Stories for Agile Requirements
User Stories for Agile RequirementsUser Stories for Agile Requirements
User Stories for Agile Requirements
 
How to Break the Requirements into User Stories
How to Break the Requirements into User StoriesHow to Break the Requirements into User Stories
How to Break the Requirements into User Stories
 

Ähnlich wie 5 Golden Rules to Building APIs

Leveraging Cloud and APIs as a Platform for Innovation
Leveraging Cloud and APIs as a Platform for InnovationLeveraging Cloud and APIs as a Platform for Innovation
Leveraging Cloud and APIs as a Platform for InnovationMikael Puittinen
 
Design - Start Your API Journey Today
Design - Start Your API Journey TodayDesign - Start Your API Journey Today
Design - Start Your API Journey TodayLaurenWendler
 
Mule api and service management
Mule api and service managementMule api and service management
Mule api and service managementD.Rajesh Kumar
 
Mule api and service management
Mule api and service managementMule api and service management
Mule api and service managementD.Rajesh Kumar
 
API Management point of view
API Management point of viewAPI Management point of view
API Management point of viewRavish Adka Rao
 
APIs: the Glue of Cloud Computing
APIs: the Glue of Cloud ComputingAPIs: the Glue of Cloud Computing
APIs: the Glue of Cloud Computing3scale
 
Mediterranea.apidays.io 2013: APIs for Biz Dev 2.0 - Which business model?
Mediterranea.apidays.io 2013: APIs for Biz Dev 2.0 - Which business model?Mediterranea.apidays.io 2013: APIs for Biz Dev 2.0 - Which business model?
Mediterranea.apidays.io 2013: APIs for Biz Dev 2.0 - Which business model?3scale
 
Design - Start Your API Journey Today
Design - Start Your API Journey TodayDesign - Start Your API Journey Today
Design - Start Your API Journey TodayLaurenWendler
 
Creating Datadipity
Creating DatadipityCreating Datadipity
Creating DatadipityClickslide
 
Meetup 2022 - API Gateway landscape.pdf
Meetup 2022 - API Gateway landscape.pdfMeetup 2022 - API Gateway landscape.pdf
Meetup 2022 - API Gateway landscape.pdfRed Hat
 
Understanding API Architectures: Web API vs. Minimal API – An In-Depth Compar...
Understanding API Architectures: Web API vs. Minimal API – An In-Depth Compar...Understanding API Architectures: Web API vs. Minimal API – An In-Depth Compar...
Understanding API Architectures: Web API vs. Minimal API – An In-Depth Compar...Polyxer Systems
 
Ibm white paper_harnessing_ap_is_and_platforms_0
Ibm white paper_harnessing_ap_is_and_platforms_0Ibm white paper_harnessing_ap_is_and_platforms_0
Ibm white paper_harnessing_ap_is_and_platforms_0Diego Alberto Tamayo
 
API Integration Services Provider
API Integration Services ProviderAPI Integration Services Provider
API Integration Services ProviderAadhyaNandhan
 
Top API Lifecycle Management Trends.pdf
Top API Lifecycle Management Trends.pdfTop API Lifecycle Management Trends.pdf
Top API Lifecycle Management Trends.pdfDhruvD7
 
AWS Serverless per startup: come innovare senza preoccuparsi dei server
AWS Serverless per startup: come innovare senza preoccuparsi dei serverAWS Serverless per startup: come innovare senza preoccuparsi dei server
AWS Serverless per startup: come innovare senza preoccuparsi dei serverAmazon Web Services
 
IBM API management Philip Little
IBM API management Philip LittleIBM API management Philip Little
IBM API management Philip LittleValeri Illescas
 
Iag api management architect presentation
Iag   api management architect presentationIag   api management architect presentation
Iag api management architect presentationsflynn073
 
Open Ap Is State Of The Market
Open Ap Is State Of The MarketOpen Ap Is State Of The Market
Open Ap Is State Of The MarketConSanFrancisco123
 

Ähnlich wie 5 Golden Rules to Building APIs (20)

Leveraging Cloud and APIs as a Platform for Innovation
Leveraging Cloud and APIs as a Platform for InnovationLeveraging Cloud and APIs as a Platform for Innovation
Leveraging Cloud and APIs as a Platform for Innovation
 
Design - Start Your API Journey Today
Design - Start Your API Journey TodayDesign - Start Your API Journey Today
Design - Start Your API Journey Today
 
Mule api and service management
Mule api and service managementMule api and service management
Mule api and service management
 
Mule api and service management
Mule api and service managementMule api and service management
Mule api and service management
 
API Management point of view
API Management point of viewAPI Management point of view
API Management point of view
 
APIs: the Glue of Cloud Computing
APIs: the Glue of Cloud ComputingAPIs: the Glue of Cloud Computing
APIs: the Glue of Cloud Computing
 
Mediterranea.apidays.io 2013: APIs for Biz Dev 2.0 - Which business model?
Mediterranea.apidays.io 2013: APIs for Biz Dev 2.0 - Which business model?Mediterranea.apidays.io 2013: APIs for Biz Dev 2.0 - Which business model?
Mediterranea.apidays.io 2013: APIs for Biz Dev 2.0 - Which business model?
 
Design - Start Your API Journey Today
Design - Start Your API Journey TodayDesign - Start Your API Journey Today
Design - Start Your API Journey Today
 
Creating Datadipity
Creating DatadipityCreating Datadipity
Creating Datadipity
 
Meetup 2022 - API Gateway landscape.pdf
Meetup 2022 - API Gateway landscape.pdfMeetup 2022 - API Gateway landscape.pdf
Meetup 2022 - API Gateway landscape.pdf
 
Understanding API Architectures: Web API vs. Minimal API – An In-Depth Compar...
Understanding API Architectures: Web API vs. Minimal API – An In-Depth Compar...Understanding API Architectures: Web API vs. Minimal API – An In-Depth Compar...
Understanding API Architectures: Web API vs. Minimal API – An In-Depth Compar...
 
Ibm white paper_harnessing_ap_is_and_platforms_0
Ibm white paper_harnessing_ap_is_and_platforms_0Ibm white paper_harnessing_ap_is_and_platforms_0
Ibm white paper_harnessing_ap_is_and_platforms_0
 
Third party api integration
Third party api integrationThird party api integration
Third party api integration
 
API Integration Services Provider
API Integration Services ProviderAPI Integration Services Provider
API Integration Services Provider
 
Top API Lifecycle Management Trends.pdf
Top API Lifecycle Management Trends.pdfTop API Lifecycle Management Trends.pdf
Top API Lifecycle Management Trends.pdf
 
AWS Serverless per startup: come innovare senza preoccuparsi dei server
AWS Serverless per startup: come innovare senza preoccuparsi dei serverAWS Serverless per startup: come innovare senza preoccuparsi dei server
AWS Serverless per startup: come innovare senza preoccuparsi dei server
 
IBM API management Philip Little
IBM API management Philip LittleIBM API management Philip Little
IBM API management Philip Little
 
3Scale
3Scale3Scale
3Scale
 
Iag api management architect presentation
Iag   api management architect presentationIag   api management architect presentation
Iag api management architect presentation
 
Open Ap Is State Of The Market
Open Ap Is State Of The MarketOpen Ap Is State Of The Market
Open Ap Is State Of The Market
 

Kürzlich hochgeladen

Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...apidays
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbuapidays
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusZilliz
 

Kürzlich hochgeladen (20)

Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 

5 Golden Rules to Building APIs

  • 1. simple software solutions to big business problems Making Software. Better. Digital By Default Building APIs for the Government
  • 2. 2 I believe the creation of the Government Digital Service is one of the great unsung triumphs of the last Parliament. Prime Minister David Cameron
  • 3. A barrier to innovation 3 SOAP-based proprietary webservices, which software vendors currently integrate with, are cumbersome, poorly documented and a disservice to us, the taxpayer
  • 4. Brave New World By creating a new API platform built upon user needs, based on RESTFul principles, we have reduced the barrier to entry and innovation.
  • 5. 10 Years of AWS - APIs are forever “.......Once customers started building their applications and systems using our APIs, changing those APIs becomes impossible, as we would be impacting our customer’s business operations if we would do so. We knew that designing APIs was a very important task as we’d only have one chance to get it right.” http://www.allthingsdistributed.com/2016/03/10-lessons-from-10-years-of-aws.html
  • 6. 5 Golden RulesOf Building APIs at HMRC Digital
  • 8. Secure, performant and easy An API platform is not fit for purpose unless it is secure, handles appropriate throughput accurately, is easy to integrate with and is easy to publish and document
  • 9. Protect your platform Throttling is an important part of any API platform but shouldn’t be seen as a backup option for a poorly performing API, but as protection against poorly written/abusive 3rd party software.
  • 10. Plan for change Define a versioning strategy early, one that fits your architecture, organisation and clients. Make backward compatibility a key goal.
  • 11. Golden Rule 2 If you can’t make it good, at least make it look good - Bill Gates Make it Beautiful
  • 12. Importance of beautiful APIs 12 APIs are the public face of your IT. They are part of your brand, reputation and an insight into your quality. You wouldn’t deliver an ugly website.
  • 13. Golden Rule 3 Focus your APIs on your domain, not your offline processes Change your perspective
  • 14. Why not business processes? Business processes were not created for the digital world. They were created for cryptic commands into mainframe terminals, paper forms and human (intelligent) intervention. Reflect these digitally and you limit APIs
  • 15. Domain not processes Create APIs that reflect your domain, using Domain Driven Design concepts. You will not limit yourselves to existing processes, you’ll hide the implementation and you’ll use industry language. In so doing, complexity is removed.
  • 16. How have we changed our focus? 16 HMRC is traditionally siloed along the lines of tax regimes. Code, systems, people, databases. Tax regimes are the processes, not the domain. The digital world reflected the offline. We’ve changed our focus. Our APIs will be domain centric and not regime centric.
  • 17. Golden Rule 4 REST only has one level; Anything else is not REST Use Hypermedia
  • 18. Richardsons Maturity Model Courtesy of www. martinfowler.com
  • 19. Why we should stop talking about it Richardson’s Maturity Model has become a justification to not use Hypermedia. It is not meant to be a model for levels of valid REST development. Just an observation of an organisation’s proximity to REST
  • 20. No Hypermedia, No REST “If the engine of application state (and hence the API) is not being driven by hypertext, then it cannot be RESTful and cannot be a REST API. Period.” - Roy Fielding
  • 21. What is Hypermedia (HATEOAS) { self: { url: “http://api.reda.com/users/reda” }, data: { name: “Reda Hmeid”, age: “23”, height: “6ft 2in”, address_url: “http://api.reda.com/users/reda/addresses”, messages_url: “http://api.reda.com/users/reda/messages” }, links:[ { url: “http://api.reda.com/users/reda/messages”, rel: “Send a new message”, method: “Post” }, { url: “http://api.reda.com/users/reda”, rel: “Update details”, method: “Put” } ] }
  • 22. What does Hypermedia provide By controlling flow and business logic within the API, thereby hiding implementation, you ensure loose coupling between the client and the API. This allows for more frequent impactless changes and added functionality.
  • 23. But also Hypermedia reduces latency and reduces load on the server. Clients can be much dumber, needing less business code, making it cheaper to produce software.
  • 24. Golden Rule 5 Your organisation is mature enough to build RESTFul APIs today You’re Ready
  • 25. You can maintain the status quo Or you can make things better. Maturity of an organisation is where it is now. Not where it can be and what it can do.
  • 26. Examples of the Good Proof that beautiful APIs are “pragmatic” APIs
  • 28. References Want to learn more; try these
  • 29. 1. Rest in Practice - Jim Webber 2. Domain Driven Design - Eric Evans 3. RESTFul Web Services Cookbook - Subbu Allamajru 4. http://martinfowler.com/articles/richardsonMaturityModel.html
  • 30. Thank You Twitter @EqualExperts LinkedIn linkedin.com/company/equal-experts UNITED KINGDOM +44 203 603 7830 helloUK@equalexperts.com Equal Experts UK Ltd 30 Brock Street London NW1 3FG INDIA +91 20 6607 7763 helloIndia@equalexperts.com Equal Experts India Private Ltd Office No. 4-C Cerebrum IT Park No. B3 Kumar City, Kalyani Nagar Pune, 411006 Web www.equalexperts.com CANADA +1 403 775 4861 helloCanada@equalexperts.com Equal Experts Devices Inc 205 - 279 Midpark way S.E. T2X 1M2 Calgary, Alberta Twitter: @softwarereda LinkedIn: linkedin.com/in/redahmeid