SlideShare ist ein Scribd-Unternehmen logo
1 von 19
APIs
THE PRETTY
FACE OF YOUR
MICROSERVICE
Andrea Stubbe
Product Lead YaaS.io, SAP Hybris
@andreastubbe
YAAS.IO IS A MARKETPLACE
FOR MICROSERVICES, EACH
HAVING AN API
PROTO-PERSONAPROTO-PERSONA
LIKES NEW STUFF.
BECAUSE IT’S NEW
WANTS TO TRY IT
OUT, NOW! IN
THE MIDDLE OF
THE NIGHT.
HAS HIS OWN
IDEAS.
WANTS TO BUILD,
NOT ONLY CONSUME.
DO IT FIRST, READ
THE MANUAL LATER,
INVENT SOMETHING
ON THE WAY.
WHY IS GOOD UX IMPORTANT TO US
THE NEXT API IS JUST
A CLICK AWAY!
IF YOU LIKE IT, YOU
TALK ABOUT IT
FUNCTIONALITY
SECURITY,
PERFORMANCE – IT’S
ALL THERE
THE FIRST
IMPRESSION COUNTS
DO IT FIRST, READ
THE MANUAL LATER,
INVENT SOMETHING
ON THE WAY.
WANTS TO TRY IT
OUT, NOW! IN THE
MIDDLE OF THE
NIGHT
LOOK AT APIs AS A
USER INTERFACE
API
THIS IS A USER INTERFACE
APPLY THESE NINE USER
EXPERIENCE GUIDELINES TO
MAKE YOUR APIS BETTER
THAN EVER BEFORE!
#1 START WITH A REALLY GOOD IDEA
A FANCY API
WON’T RESCUE
A USELESS
MICROSERVICE
DON’T BE
AFRAID TO
THROW THINGS
AWAY
#2 MATCH YOUR SYSTEM TO THE REAL
WORLD
EVERYBODY
KNOWS THE
REAL WORLD
USE CONCEPTS
THEY CAN
RELATE TO
USE METHAPHORS
WHEN THERE’S NO
REPRESENTATION IN
THE WORLD
APPLY DOMAIN
DRIVEN DESIGN
#3 DON’T REINVENT THE WHEEL
FOLLOW DE-
FACTO
STANDARDS
FAMILIAR IS
BETTER THAN
ELEGANT
SHARE
PATTERNS,
TRAITS AND
SHEMAS
#4 INTERNAL CONSISTENCY
THE SAME
ACTION SHOULD
WORK THE SAME
WAY. ALWAYS.
USE
CONSISTENT
ERROR CODES
AND MESSAGES
HAVE NAMING
GUIDELINES
USE A PATTERN
LIBRARY
#5 BREAK THE RULES
WHEN REST AND
USABILITY
DISAGREE, CHOOSE
USABILITY
BREAK RULES
ONLY AFTER
YOU MASTERED
THEM
BREAK RULES
CONSISTENTLY
#6 HELP AND DOCUMENTATION
ENSURE REALITY IS
THE SAME AS THE
DOCUMENTATION
MAKE PEOPLE
READ YOUR
DOCUMENTATION
USE CORRECT
RESPONSE CODES
ERROR MESSAGES
EXPLAIN HOW TO
RECOVER
#7 PREVENT ERRORS
MAKE IT VERY
HARD TO MAKE
MISTAKES
CLEARLY STATE
WHAT IS
REQUIRED
PUT VALIDATION
RULES IN THE API
DEFNITION
BE TOLERANT
WHEN READING
INPUT
#8 MINIMALIST DESIGN
LESS IS MORE.
DON’T OVERLOAD
THE API
ONLY ASK FOR
DATA THAT IS
REALLY NEEDED
AVOID
REDUNDANCIES
USE REFERENCES
INSTEAD OF THE
FULL DATA SET
#9 NEVER JUSTIFY YOUR DESIGN
IF YOUR USERS
DON’T LIKE IT, THEY
WON’T USE IT.
IF THEY DON’T
USE IT, YOUR API
FAILED
DEFINE YOUR API
TOGETHER WITH ITS
CONSUMERS
HOW TO MAKE YOUR APIS PRETTY
#1 START WITH A REALLY GOOD IDEA
#2 MATCH YOUR SYSTEM TO THE REAL WORLD
#3 DON’T REINVENT THE WHEEL
#4 INTERNAL CONSISTENCY
#5 BREAK THE RULES
#6 HELP AND DOCUMENTATION
#7 PREVENT ERRORS
#8 MINIMALIST DESIGN
#9 DON’T JUSTIFY YOUR DESIGN
THESE NINE USER EXPERIENCE
GUIDELINES WILL MAKE YOUR APIS
BETTER THAN EVER BEFORE
IF YOU TAKE CARE THEY ARE
UNDERSTOOD AND LIKED
YAAS.IO

Weitere ähnliche Inhalte

Andere mochten auch

Discover the Power of Contextual Marketing
Discover the Power of Contextual MarketingDiscover the Power of Contextual Marketing
Discover the Power of Contextual MarketingSAP Customer Experience
 
Microservices: The Building Blocks for a Digital Future
Microservices: The Building Blocks for a Digital FutureMicroservices: The Building Blocks for a Digital Future
Microservices: The Building Blocks for a Digital FutureSAP Customer Experience
 
The Future of Service in the Omnichannel World
The Future of Service in the Omnichannel WorldThe Future of Service in the Omnichannel World
The Future of Service in the Omnichannel WorldSAP Customer Experience
 
Monetizing Postal Services with SAP Hybris Billing
Monetizing Postal Services with SAP Hybris BillingMonetizing Postal Services with SAP Hybris Billing
Monetizing Postal Services with SAP Hybris BillingSAP Customer Experience
 
The Future of Sales - Disrupt, Align and Connect to Your Customer's Journey
The Future of Sales - Disrupt, Align and Connect to Your Customer's JourneyThe Future of Sales - Disrupt, Align and Connect to Your Customer's Journey
The Future of Sales - Disrupt, Align and Connect to Your Customer's JourneySAP Customer Experience
 
Deliver the Perfect Omnichannel Commerce Experience
Deliver the Perfect Omnichannel Commerce ExperienceDeliver the Perfect Omnichannel Commerce Experience
Deliver the Perfect Omnichannel Commerce ExperienceSAP Customer Experience
 
Achieve Digital Transformation with SAP Hybris Cloud for Service
Achieve Digital Transformation with SAP Hybris Cloud for ServiceAchieve Digital Transformation with SAP Hybris Cloud for Service
Achieve Digital Transformation with SAP Hybris Cloud for ServiceSAP Customer Experience
 
Sales, Marketing and Artificial intelligence: Science Fiction or Reality?
Sales, Marketing and Artificial intelligence: Science Fiction or Reality?Sales, Marketing and Artificial intelligence: Science Fiction or Reality?
Sales, Marketing and Artificial intelligence: Science Fiction or Reality?SAP Customer Experience
 
Going Beyond Digital Disruption: harnessing the power of 'Design Thinking'
Going Beyond Digital Disruption: harnessing the power of 'Design Thinking'Going Beyond Digital Disruption: harnessing the power of 'Design Thinking'
Going Beyond Digital Disruption: harnessing the power of 'Design Thinking'SAP Customer Experience
 

Andere mochten auch (10)

Discover the Power of Contextual Marketing
Discover the Power of Contextual MarketingDiscover the Power of Contextual Marketing
Discover the Power of Contextual Marketing
 
Microservices: The Building Blocks for a Digital Future
Microservices: The Building Blocks for a Digital FutureMicroservices: The Building Blocks for a Digital Future
Microservices: The Building Blocks for a Digital Future
 
The Future of Service in the Omnichannel World
The Future of Service in the Omnichannel WorldThe Future of Service in the Omnichannel World
The Future of Service in the Omnichannel World
 
Monetizing Postal Services with SAP Hybris Billing
Monetizing Postal Services with SAP Hybris BillingMonetizing Postal Services with SAP Hybris Billing
Monetizing Postal Services with SAP Hybris Billing
 
The Future of Sales - Disrupt, Align and Connect to Your Customer's Journey
The Future of Sales - Disrupt, Align and Connect to Your Customer's JourneyThe Future of Sales - Disrupt, Align and Connect to Your Customer's Journey
The Future of Sales - Disrupt, Align and Connect to Your Customer's Journey
 
Marketing Best Practices for High Tech
Marketing Best Practices for High TechMarketing Best Practices for High Tech
Marketing Best Practices for High Tech
 
Deliver the Perfect Omnichannel Commerce Experience
Deliver the Perfect Omnichannel Commerce ExperienceDeliver the Perfect Omnichannel Commerce Experience
Deliver the Perfect Omnichannel Commerce Experience
 
Achieve Digital Transformation with SAP Hybris Cloud for Service
Achieve Digital Transformation with SAP Hybris Cloud for ServiceAchieve Digital Transformation with SAP Hybris Cloud for Service
Achieve Digital Transformation with SAP Hybris Cloud for Service
 
Sales, Marketing and Artificial intelligence: Science Fiction or Reality?
Sales, Marketing and Artificial intelligence: Science Fiction or Reality?Sales, Marketing and Artificial intelligence: Science Fiction or Reality?
Sales, Marketing and Artificial intelligence: Science Fiction or Reality?
 
Going Beyond Digital Disruption: harnessing the power of 'Design Thinking'
Going Beyond Digital Disruption: harnessing the power of 'Design Thinking'Going Beyond Digital Disruption: harnessing the power of 'Design Thinking'
Going Beyond Digital Disruption: harnessing the power of 'Design Thinking'
 

Ähnlich wie APIs - The Pretty Face of Your Microservice

Strange but True: Counterintiutive Paths to Building a Business on APIs
Strange but True: Counterintiutive Paths to Building a Business on APIsStrange but True: Counterintiutive Paths to Building a Business on APIs
Strange but True: Counterintiutive Paths to Building a Business on APIsThomas Bouldin
 
The Do's and Don'ts of Stellar Push and In-App Messaging
The Do's and Don'ts of Stellar Push and In-App MessagingThe Do's and Don'ts of Stellar Push and In-App Messaging
The Do's and Don'ts of Stellar Push and In-App MessagingLocalytics
 
5 Easy Steps To Create An App for Your Business.pdf
5 Easy Steps To Create An App for Your Business.pdf5 Easy Steps To Create An App for Your Business.pdf
5 Easy Steps To Create An App for Your Business.pdfCloudester Software LLP
 
Ebook undisturbed rest-v1 [res_tful apis]
Ebook undisturbed rest-v1 [res_tful apis]Ebook undisturbed rest-v1 [res_tful apis]
Ebook undisturbed rest-v1 [res_tful apis]johnkbutcher
 
The Do's & Don'ts of Stellar Push and In-App Marketing Campaigns - June 2015
The Do's & Don'ts of Stellar Push and In-App Marketing Campaigns - June 2015The Do's & Don'ts of Stellar Push and In-App Marketing Campaigns - June 2015
The Do's & Don'ts of Stellar Push and In-App Marketing Campaigns - June 2015Localytics
 
Designing Good API & Its Importance
Designing Good API & Its ImportanceDesigning Good API & Its Importance
Designing Good API & Its ImportanceImran M Yousuf
 
The Do's & Don'ts of Push and In-App Messaging Campaigns: December 2014 Webinar
The Do's & Don'ts of Push and In-App Messaging Campaigns: December 2014 WebinarThe Do's & Don'ts of Push and In-App Messaging Campaigns: December 2014 Webinar
The Do's & Don'ts of Push and In-App Messaging Campaigns: December 2014 WebinarLocalytics
 
Creating Mobile Applications
Creating Mobile ApplicationsCreating Mobile Applications
Creating Mobile ApplicationsKathy Gill
 
Your API Sucks! Why developers hang up and how to stop that.
Your API Sucks! Why developers hang up and how to stop that.Your API Sucks! Why developers hang up and how to stop that.
Your API Sucks! Why developers hang up and how to stop that.Apigee | Google Cloud
 
Rebooting APIs at scale
Rebooting APIs at scaleRebooting APIs at scale
Rebooting APIs at scaleRahul Dighe
 
iPhone & iPad App Cash - The *COMPLETE GUIDE* to create iPhone app and how to...
iPhone & iPad App Cash - The *COMPLETE GUIDE* to create iPhone app and how to...iPhone & iPad App Cash - The *COMPLETE GUIDE* to create iPhone app and how to...
iPhone & iPad App Cash - The *COMPLETE GUIDE* to create iPhone app and how to...jcitnmkt
 
Traceable.ai Debuts Platform for Building API Knowledge that Detects And Thwa...
Traceable.ai Debuts Platform for Building API Knowledge that Detects And Thwa...Traceable.ai Debuts Platform for Building API Knowledge that Detects And Thwa...
Traceable.ai Debuts Platform for Building API Knowledge that Detects And Thwa...Dana Gardner
 
6 steps-for-successful-app-store-optimization
6 steps-for-successful-app-store-optimization6 steps-for-successful-app-store-optimization
6 steps-for-successful-app-store-optimizationPrismetric
 
Web API Design: Crafting Interfaces that Developers Love
Web API Design:  Crafting Interfaces that Developers LoveWeb API Design:  Crafting Interfaces that Developers Love
Web API Design: Crafting Interfaces that Developers LoveJamison K. Bell | OvenPOP 360
 
Practical iOS App Security
Practical iOS App SecurityPractical iOS App Security
Practical iOS App SecurityTotem_Training
 
Top Reasons Why The Mobile Apps Fail and How To Avoid Them
Top Reasons Why The Mobile Apps Fail and How To Avoid ThemTop Reasons Why The Mobile Apps Fail and How To Avoid Them
Top Reasons Why The Mobile Apps Fail and How To Avoid ThemElijahj Williams
 
How to Make an App for Android and Ios
How to Make an App for Android and IosHow to Make an App for Android and Ios
How to Make an App for Android and Iossimonedaniels3
 
The Complete Guide To Custom Web Application Development.pdf
The Complete Guide To Custom Web Application Development.pdfThe Complete Guide To Custom Web Application Development.pdf
The Complete Guide To Custom Web Application Development.pdfSuccessiveDigital
 

Ähnlich wie APIs - The Pretty Face of Your Microservice (20)

How to make an app?
How to make an app?How to make an app?
How to make an app?
 
Strange but True: Counterintiutive Paths to Building a Business on APIs
Strange but True: Counterintiutive Paths to Building a Business on APIsStrange but True: Counterintiutive Paths to Building a Business on APIs
Strange but True: Counterintiutive Paths to Building a Business on APIs
 
The Do's and Don'ts of Stellar Push and In-App Messaging
The Do's and Don'ts of Stellar Push and In-App MessagingThe Do's and Don'ts of Stellar Push and In-App Messaging
The Do's and Don'ts of Stellar Push and In-App Messaging
 
5 Easy Steps To Create An App for Your Business.pdf
5 Easy Steps To Create An App for Your Business.pdf5 Easy Steps To Create An App for Your Business.pdf
5 Easy Steps To Create An App for Your Business.pdf
 
Ebook undisturbed rest-v1 [res_tful apis]
Ebook undisturbed rest-v1 [res_tful apis]Ebook undisturbed rest-v1 [res_tful apis]
Ebook undisturbed rest-v1 [res_tful apis]
 
The Do's & Don'ts of Stellar Push and In-App Marketing Campaigns - June 2015
The Do's & Don'ts of Stellar Push and In-App Marketing Campaigns - June 2015The Do's & Don'ts of Stellar Push and In-App Marketing Campaigns - June 2015
The Do's & Don'ts of Stellar Push and In-App Marketing Campaigns - June 2015
 
Designing Good API & Its Importance
Designing Good API & Its ImportanceDesigning Good API & Its Importance
Designing Good API & Its Importance
 
The Do's & Don'ts of Push and In-App Messaging Campaigns: December 2014 Webinar
The Do's & Don'ts of Push and In-App Messaging Campaigns: December 2014 WebinarThe Do's & Don'ts of Push and In-App Messaging Campaigns: December 2014 Webinar
The Do's & Don'ts of Push and In-App Messaging Campaigns: December 2014 Webinar
 
Creating Mobile Applications
Creating Mobile ApplicationsCreating Mobile Applications
Creating Mobile Applications
 
Your API Sucks! Why developers hang up and how to stop that.
Your API Sucks! Why developers hang up and how to stop that.Your API Sucks! Why developers hang up and how to stop that.
Your API Sucks! Why developers hang up and how to stop that.
 
Rebooting APIs at scale
Rebooting APIs at scaleRebooting APIs at scale
Rebooting APIs at scale
 
iPhone & iPad App Cash - The *COMPLETE GUIDE* to create iPhone app and how to...
iPhone & iPad App Cash - The *COMPLETE GUIDE* to create iPhone app and how to...iPhone & iPad App Cash - The *COMPLETE GUIDE* to create iPhone app and how to...
iPhone & iPad App Cash - The *COMPLETE GUIDE* to create iPhone app and how to...
 
Traceable.ai Debuts Platform for Building API Knowledge that Detects And Thwa...
Traceable.ai Debuts Platform for Building API Knowledge that Detects And Thwa...Traceable.ai Debuts Platform for Building API Knowledge that Detects And Thwa...
Traceable.ai Debuts Platform for Building API Knowledge that Detects And Thwa...
 
6 steps-for-successful-app-store-optimization
6 steps-for-successful-app-store-optimization6 steps-for-successful-app-store-optimization
6 steps-for-successful-app-store-optimization
 
Web API Design
Web API DesignWeb API Design
Web API Design
 
Web API Design: Crafting Interfaces that Developers Love
Web API Design:  Crafting Interfaces that Developers LoveWeb API Design:  Crafting Interfaces that Developers Love
Web API Design: Crafting Interfaces that Developers Love
 
Practical iOS App Security
Practical iOS App SecurityPractical iOS App Security
Practical iOS App Security
 
Top Reasons Why The Mobile Apps Fail and How To Avoid Them
Top Reasons Why The Mobile Apps Fail and How To Avoid ThemTop Reasons Why The Mobile Apps Fail and How To Avoid Them
Top Reasons Why The Mobile Apps Fail and How To Avoid Them
 
How to Make an App for Android and Ios
How to Make an App for Android and IosHow to Make an App for Android and Ios
How to Make an App for Android and Ios
 
The Complete Guide To Custom Web Application Development.pdf
The Complete Guide To Custom Web Application Development.pdfThe Complete Guide To Custom Web Application Development.pdf
The Complete Guide To Custom Web Application Development.pdf
 

Mehr von SAP Customer Experience

See Your Business Take Off with SAP® Leonardo
See Your Business Take Off with SAP® LeonardoSee Your Business Take Off with SAP® Leonardo
See Your Business Take Off with SAP® LeonardoSAP Customer Experience
 
Personalization through Contextual Marketing
Personalization through Contextual MarketingPersonalization through Contextual Marketing
Personalization through Contextual MarketingSAP Customer Experience
 
Omnichannel Master Class with TJ Chandler, Pragmatist
Omnichannel Master Class with TJ Chandler, PragmatistOmnichannel Master Class with TJ Chandler, Pragmatist
Omnichannel Master Class with TJ Chandler, PragmatistSAP Customer Experience
 
Omnichannel and the Future: Master Class with Anders Sörman-Nilsson
Omnichannel and the Future: Master Class with Anders Sörman-NilssonOmnichannel and the Future: Master Class with Anders Sörman-Nilsson
Omnichannel and the Future: Master Class with Anders Sörman-NilssonSAP Customer Experience
 
Engaging the Digital Connected Customer - with Albert Yip
Engaging the Digital Connected Customer - with Albert Yip Engaging the Digital Connected Customer - with Albert Yip
Engaging the Digital Connected Customer - with Albert Yip SAP Customer Experience
 
How to create a frictionless customer experience
How to create a frictionless customer experienceHow to create a frictionless customer experience
How to create a frictionless customer experienceSAP Customer Experience
 
The Perfect Store Execution (Picture of Success)
The Perfect Store Execution (Picture of Success)The Perfect Store Execution (Picture of Success)
The Perfect Store Execution (Picture of Success)SAP Customer Experience
 
The Consumer-Driven Digital Economy: Creating value in a digital world where ...
The Consumer-Driven Digital Economy: Creating value in a digital world where ...The Consumer-Driven Digital Economy: Creating value in a digital world where ...
The Consumer-Driven Digital Economy: Creating value in a digital world where ...SAP Customer Experience
 
How to create Magic Moments for your customers with Process Mining
How to create Magic Moments for your customers with Process MiningHow to create Magic Moments for your customers with Process Mining
How to create Magic Moments for your customers with Process MiningSAP Customer Experience
 
Empower Store Associates with Mobile Apps to Reinvent the In-Store Experience
Empower Store Associates with Mobile Apps to Reinvent the In-Store ExperienceEmpower Store Associates with Mobile Apps to Reinvent the In-Store Experience
Empower Store Associates with Mobile Apps to Reinvent the In-Store ExperienceSAP Customer Experience
 
Unleash Your B2X Potential with Flieger Plug & Play Based on SAP Hybris Solut...
Unleash Your B2X Potential with Flieger Plug & Play Based on SAP Hybris Solut...Unleash Your B2X Potential with Flieger Plug & Play Based on SAP Hybris Solut...
Unleash Your B2X Potential with Flieger Plug & Play Based on SAP Hybris Solut...SAP Customer Experience
 
Data-Driven Desicision-Making with Mindray Medical International Co.
Data-Driven Desicision-Making with Mindray Medical International Co.Data-Driven Desicision-Making with Mindray Medical International Co.
Data-Driven Desicision-Making with Mindray Medical International Co.SAP Customer Experience
 
Protect Sponsorship Business Value by Measuring What You Pay For
Protect Sponsorship Business Value by Measuring What You Pay ForProtect Sponsorship Business Value by Measuring What You Pay For
Protect Sponsorship Business Value by Measuring What You Pay ForSAP Customer Experience
 
Monetizing Microsoft High Volume Revenue using SAP Hybris Billing
Monetizing Microsoft High Volume Revenue using SAP Hybris BillingMonetizing Microsoft High Volume Revenue using SAP Hybris Billing
Monetizing Microsoft High Volume Revenue using SAP Hybris BillingSAP Customer Experience
 
Grupo DIA advancing digital transformation
Grupo DIA advancing digital transformationGrupo DIA advancing digital transformation
Grupo DIA advancing digital transformationSAP Customer Experience
 
Grupo DIA advancing digital transformation
Grupo DIA advancing digital transformationGrupo DIA advancing digital transformation
Grupo DIA advancing digital transformationSAP Customer Experience
 
Fuel Trusted Customer Relationships with Personalization, Preference & Privacy
Fuel Trusted Customer Relationships with Personalization, Preference & PrivacyFuel Trusted Customer Relationships with Personalization, Preference & Privacy
Fuel Trusted Customer Relationships with Personalization, Preference & PrivacySAP Customer Experience
 
Improve Customer Experience in the Cognitive and 5G Era
Improve Customer Experience in the Cognitive and 5G EraImprove Customer Experience in the Cognitive and 5G Era
Improve Customer Experience in the Cognitive and 5G EraSAP Customer Experience
 

Mehr von SAP Customer Experience (20)

See Your Business Take Off with SAP® Leonardo
See Your Business Take Off with SAP® LeonardoSee Your Business Take Off with SAP® Leonardo
See Your Business Take Off with SAP® Leonardo
 
The Top Trends Shaping CX in 2019
The Top Trends Shaping CX in 2019The Top Trends Shaping CX in 2019
The Top Trends Shaping CX in 2019
 
Personalization through Contextual Marketing
Personalization through Contextual MarketingPersonalization through Contextual Marketing
Personalization through Contextual Marketing
 
Omnichannel Master Class with TJ Chandler, Pragmatist
Omnichannel Master Class with TJ Chandler, PragmatistOmnichannel Master Class with TJ Chandler, Pragmatist
Omnichannel Master Class with TJ Chandler, Pragmatist
 
Omnichannel and the Future: Master Class with Anders Sörman-Nilsson
Omnichannel and the Future: Master Class with Anders Sörman-NilssonOmnichannel and the Future: Master Class with Anders Sörman-Nilsson
Omnichannel and the Future: Master Class with Anders Sörman-Nilsson
 
Engaging the Digital Connected Customer - with Albert Yip
Engaging the Digital Connected Customer - with Albert Yip Engaging the Digital Connected Customer - with Albert Yip
Engaging the Digital Connected Customer - with Albert Yip
 
How to create a frictionless customer experience
How to create a frictionless customer experienceHow to create a frictionless customer experience
How to create a frictionless customer experience
 
The Perfect Store Execution (Picture of Success)
The Perfect Store Execution (Picture of Success)The Perfect Store Execution (Picture of Success)
The Perfect Store Execution (Picture of Success)
 
The Consumer-Driven Digital Economy: Creating value in a digital world where ...
The Consumer-Driven Digital Economy: Creating value in a digital world where ...The Consumer-Driven Digital Economy: Creating value in a digital world where ...
The Consumer-Driven Digital Economy: Creating value in a digital world where ...
 
How to create Magic Moments for your customers with Process Mining
How to create Magic Moments for your customers with Process MiningHow to create Magic Moments for your customers with Process Mining
How to create Magic Moments for your customers with Process Mining
 
Empower Store Associates with Mobile Apps to Reinvent the In-Store Experience
Empower Store Associates with Mobile Apps to Reinvent the In-Store ExperienceEmpower Store Associates with Mobile Apps to Reinvent the In-Store Experience
Empower Store Associates with Mobile Apps to Reinvent the In-Store Experience
 
Unleash Your B2X Potential with Flieger Plug & Play Based on SAP Hybris Solut...
Unleash Your B2X Potential with Flieger Plug & Play Based on SAP Hybris Solut...Unleash Your B2X Potential with Flieger Plug & Play Based on SAP Hybris Solut...
Unleash Your B2X Potential with Flieger Plug & Play Based on SAP Hybris Solut...
 
Data-Driven Desicision-Making with Mindray Medical International Co.
Data-Driven Desicision-Making with Mindray Medical International Co.Data-Driven Desicision-Making with Mindray Medical International Co.
Data-Driven Desicision-Making with Mindray Medical International Co.
 
Protect Sponsorship Business Value by Measuring What You Pay For
Protect Sponsorship Business Value by Measuring What You Pay ForProtect Sponsorship Business Value by Measuring What You Pay For
Protect Sponsorship Business Value by Measuring What You Pay For
 
Monetizing Microsoft High Volume Revenue using SAP Hybris Billing
Monetizing Microsoft High Volume Revenue using SAP Hybris BillingMonetizing Microsoft High Volume Revenue using SAP Hybris Billing
Monetizing Microsoft High Volume Revenue using SAP Hybris Billing
 
Grupo DIA advancing digital transformation
Grupo DIA advancing digital transformationGrupo DIA advancing digital transformation
Grupo DIA advancing digital transformation
 
Grupo DIA advancing digital transformation
Grupo DIA advancing digital transformationGrupo DIA advancing digital transformation
Grupo DIA advancing digital transformation
 
Fuel Trusted Customer Relationships with Personalization, Preference & Privacy
Fuel Trusted Customer Relationships with Personalization, Preference & PrivacyFuel Trusted Customer Relationships with Personalization, Preference & Privacy
Fuel Trusted Customer Relationships with Personalization, Preference & Privacy
 
Explore the Impact of AI on E-Commerce
Explore the Impact of AI on E-CommerceExplore the Impact of AI on E-Commerce
Explore the Impact of AI on E-Commerce
 
Improve Customer Experience in the Cognitive and 5G Era
Improve Customer Experience in the Cognitive and 5G EraImprove Customer Experience in the Cognitive and 5G Era
Improve Customer Experience in the Cognitive and 5G Era
 

APIs - The Pretty Face of Your Microservice

  • 1. APIs THE PRETTY FACE OF YOUR MICROSERVICE Andrea Stubbe Product Lead YaaS.io, SAP Hybris @andreastubbe
  • 2. YAAS.IO IS A MARKETPLACE FOR MICROSERVICES, EACH HAVING AN API
  • 3. PROTO-PERSONAPROTO-PERSONA LIKES NEW STUFF. BECAUSE IT’S NEW WANTS TO TRY IT OUT, NOW! IN THE MIDDLE OF THE NIGHT. HAS HIS OWN IDEAS. WANTS TO BUILD, NOT ONLY CONSUME. DO IT FIRST, READ THE MANUAL LATER, INVENT SOMETHING ON THE WAY.
  • 4. WHY IS GOOD UX IMPORTANT TO US THE NEXT API IS JUST A CLICK AWAY! IF YOU LIKE IT, YOU TALK ABOUT IT FUNCTIONALITY SECURITY, PERFORMANCE – IT’S ALL THERE THE FIRST IMPRESSION COUNTS DO IT FIRST, READ THE MANUAL LATER, INVENT SOMETHING ON THE WAY. WANTS TO TRY IT OUT, NOW! IN THE MIDDLE OF THE NIGHT
  • 5. LOOK AT APIs AS A USER INTERFACE
  • 6. API THIS IS A USER INTERFACE
  • 7. APPLY THESE NINE USER EXPERIENCE GUIDELINES TO MAKE YOUR APIS BETTER THAN EVER BEFORE!
  • 8. #1 START WITH A REALLY GOOD IDEA A FANCY API WON’T RESCUE A USELESS MICROSERVICE DON’T BE AFRAID TO THROW THINGS AWAY
  • 9. #2 MATCH YOUR SYSTEM TO THE REAL WORLD EVERYBODY KNOWS THE REAL WORLD USE CONCEPTS THEY CAN RELATE TO USE METHAPHORS WHEN THERE’S NO REPRESENTATION IN THE WORLD APPLY DOMAIN DRIVEN DESIGN
  • 10. #3 DON’T REINVENT THE WHEEL FOLLOW DE- FACTO STANDARDS FAMILIAR IS BETTER THAN ELEGANT SHARE PATTERNS, TRAITS AND SHEMAS
  • 11. #4 INTERNAL CONSISTENCY THE SAME ACTION SHOULD WORK THE SAME WAY. ALWAYS. USE CONSISTENT ERROR CODES AND MESSAGES HAVE NAMING GUIDELINES USE A PATTERN LIBRARY
  • 12. #5 BREAK THE RULES WHEN REST AND USABILITY DISAGREE, CHOOSE USABILITY BREAK RULES ONLY AFTER YOU MASTERED THEM BREAK RULES CONSISTENTLY
  • 13. #6 HELP AND DOCUMENTATION ENSURE REALITY IS THE SAME AS THE DOCUMENTATION MAKE PEOPLE READ YOUR DOCUMENTATION USE CORRECT RESPONSE CODES ERROR MESSAGES EXPLAIN HOW TO RECOVER
  • 14. #7 PREVENT ERRORS MAKE IT VERY HARD TO MAKE MISTAKES CLEARLY STATE WHAT IS REQUIRED PUT VALIDATION RULES IN THE API DEFNITION BE TOLERANT WHEN READING INPUT
  • 15. #8 MINIMALIST DESIGN LESS IS MORE. DON’T OVERLOAD THE API ONLY ASK FOR DATA THAT IS REALLY NEEDED AVOID REDUNDANCIES USE REFERENCES INSTEAD OF THE FULL DATA SET
  • 16. #9 NEVER JUSTIFY YOUR DESIGN IF YOUR USERS DON’T LIKE IT, THEY WON’T USE IT. IF THEY DON’T USE IT, YOUR API FAILED DEFINE YOUR API TOGETHER WITH ITS CONSUMERS
  • 17. HOW TO MAKE YOUR APIS PRETTY #1 START WITH A REALLY GOOD IDEA #2 MATCH YOUR SYSTEM TO THE REAL WORLD #3 DON’T REINVENT THE WHEEL #4 INTERNAL CONSISTENCY #5 BREAK THE RULES #6 HELP AND DOCUMENTATION #7 PREVENT ERRORS #8 MINIMALIST DESIGN #9 DON’T JUSTIFY YOUR DESIGN
  • 18. THESE NINE USER EXPERIENCE GUIDELINES WILL MAKE YOUR APIS BETTER THAN EVER BEFORE IF YOU TAKE CARE THEY ARE UNDERSTOOD AND LIKED

Hinweis der Redaktion

  1. Like, GET does not modify, Oauth for security. Sharing the patterns also has another advantage, ensuring consistency.
  2. Again, use a pattern library.