SlideShare une entreprise Scribd logo
1  sur  10
UNDISTURBED REST
A guide to designing the perfect API
1.WHAT IS AN API?
 API (Application Programming Interface) is a software
intermediary that allows two applications to talk to each other.
 There are many types of APIs.
 Web APIs: Simple Object Access Protocol (SOAP), Remote
Procedure Call (RPC), Representational StateTransfer (REST).
 …
1.WHAT IS AN API?
 1.1.Web APIs
 Web API (Web Service) provides an interface forWeb applications, or
applications that need to connect to each other via the Internet to
communicate.
 Since 2005, the use of web APIs has exploded exponentially, and
multipleWeb formats and standards have been created.
 Early on, one of the most popular enterprise formats for APIs was
SOAP.
 With the emergence of JavaScript Object Notation (JSON), REST
has grown in popularity and quickly become the de facto standard
for the generalWeb APIs today.
1.1WEB APIS
 1.1.1. SOAP
 It was designed to offer a new protocol and messaging framework.
 It relied on theWeb Service Definition Language (WSDL) & XML to
build and receive the different requests.
 1.1.2. XML-RPC (Remote Procedure Calls)
 It was the basic for SOAP.
 It was much quicker and easier to implement than SOAP.
 1.1.3. JSON-RPC
 The format was originally designed to take advantage of JavaScript’s
ability to act as a messaging system
 JSON was developed to provide a simple, concise format
1.1WEB APIS
 1.1.4. REST
 Provides an incredible layer of flexibility.
 Has ability to handle multiple types of calls, return different data
formats & even change structurally with the correct implementation
of hypermedia.
1.WHAT IS AN API?
 1.2. Understanding REST
 One of the most commonly missed constraints of REST is the
utilization of hypermedia as the engine of application state, or
HATEOAS
 There are six key constraints to REST:
 Client-Server
 Stateless
 Cache
 Uniform Interface
 Layered System
 Code on demand
1.2. UNDERSTANDING REST
 1.2.1. Client-server
 Operates on the concept that the client and the server should be
separate from each other and allowed to evolve individually.
 This creates a separation of concerns, letting each application grow
and scale independently of the other and allowing your organization
to grow quickly and efficiently.
 1.2.2. Stateless
 The calls can be made independently of one another, and each call
contains all of the data necessary to complete itself successfully.
 1.2.3. Cache
 When data is cacheable, the response should indicate that the data
can be stored up to a certain time.
1.2. UNDERSTANDING REST
 1.2.4. Uniform Interface
 The uniform interface lets the client talk to the server in a single
language, independent of the architectural backend of either.This
interface should provide an unchanging, standardized means of
communicating between the client and the server.
 1.2.5. Layered System
 Is a system comprised of layers, with each layer having a specific
functionality and responsibility.
 1.2.6. Code on demand
 Allows for code or applets to be transmitted via the API for use
within the application.
REFERENCE
 ebook-UndisturbedREST_v1.pdf
THE END!

Contenu connexe

Tendances

Deployment Automation with Microservices
Deployment Automation with MicroservicesDeployment Automation with Microservices
Deployment Automation with MicroservicesGanesh Ghag
 
Declarative User Interfaces Leveraging React, Redux and Apex Microservices
Declarative User Interfaces Leveraging  React, Redux and Apex MicroservicesDeclarative User Interfaces Leveraging  React, Redux and Apex Microservices
Declarative User Interfaces Leveraging React, Redux and Apex MicroservicesKenandy
 
Anypoint platform for API's glossary
Anypoint platform for API's glossaryAnypoint platform for API's glossary
Anypoint platform for API's glossaryAchyuta Lakshmi
 
Best practices for multi saa s integrations
Best practices for multi saa s integrationsBest practices for multi saa s integrations
Best practices for multi saa s integrationsD.Rajesh Kumar
 
Anypoint platform security components
Anypoint platform security componentsAnypoint platform security components
Anypoint platform security componentsD.Rajesh Kumar
 
Web services in j2 ee
Web services in j2 eeWeb services in j2 ee
Web services in j2 eeNaresh Chinnu
 
Introduction To Adobe Flex And Semantic Resources
Introduction To Adobe Flex And Semantic ResourcesIntroduction To Adobe Flex And Semantic Resources
Introduction To Adobe Flex And Semantic Resourceskeith_sutton100
 
Rate Limiting - SLA Based Policy
Rate Limiting - SLA Based PolicyRate Limiting - SLA Based Policy
Rate Limiting - SLA Based PolicyVince Soliza
 
Flex Air Intro
Flex Air IntroFlex Air Intro
Flex Air IntroJUG Genova
 
Mulesoft Anypoint platform for APIs
Mulesoft Anypoint platform for APIsMulesoft Anypoint platform for APIs
Mulesoft Anypoint platform for APIskumar gaurav
 
WSO2Con EU 2016: Identity Management – A Cornerstone for the Connected Enter...
WSO2Con EU 2016: Identity Management –  A Cornerstone for the Connected Enter...WSO2Con EU 2016: Identity Management –  A Cornerstone for the Connected Enter...
WSO2Con EU 2016: Identity Management – A Cornerstone for the Connected Enter...WSO2
 

Tendances (19)

Anypoint b2 b
Anypoint b2 bAnypoint b2 b
Anypoint b2 b
 
Deployment Automation with Microservices
Deployment Automation with MicroservicesDeployment Automation with Microservices
Deployment Automation with Microservices
 
Authentication and single sign on (sso)
Authentication and single sign on (sso)Authentication and single sign on (sso)
Authentication and single sign on (sso)
 
Declarative User Interfaces Leveraging React, Redux and Apex Microservices
Declarative User Interfaces Leveraging  React, Redux and Apex MicroservicesDeclarative User Interfaces Leveraging  React, Redux and Apex Microservices
Declarative User Interfaces Leveraging React, Redux and Apex Microservices
 
Mule architecture
Mule architectureMule architecture
Mule architecture
 
Anypoint platform for API's glossary
Anypoint platform for API's glossaryAnypoint platform for API's glossary
Anypoint platform for API's glossary
 
Best practices for multi saa s integrations
Best practices for multi saa s integrationsBest practices for multi saa s integrations
Best practices for multi saa s integrations
 
Mule esb api layer
Mule esb api layerMule esb api layer
Mule esb api layer
 
Api Layer
Api LayerApi Layer
Api Layer
 
Anypoint platform security components
Anypoint platform security componentsAnypoint platform security components
Anypoint platform security components
 
Web services in j2 ee
Web services in j2 eeWeb services in j2 ee
Web services in j2 ee
 
Introduction To Adobe Flex And Semantic Resources
Introduction To Adobe Flex And Semantic ResourcesIntroduction To Adobe Flex And Semantic Resources
Introduction To Adobe Flex And Semantic Resources
 
Introduction To REST
Introduction To RESTIntroduction To REST
Introduction To REST
 
Rate Limiting - SLA Based Policy
Rate Limiting - SLA Based PolicyRate Limiting - SLA Based Policy
Rate Limiting - SLA Based Policy
 
Flex Air Intro
Flex Air IntroFlex Air Intro
Flex Air Intro
 
Mule esb stripe
Mule esb stripeMule esb stripe
Mule esb stripe
 
Mulesoft Anypoint platform for APIs
Mulesoft Anypoint platform for APIsMulesoft Anypoint platform for APIs
Mulesoft Anypoint platform for APIs
 
Mule esb
Mule esbMule esb
Mule esb
 
WSO2Con EU 2016: Identity Management – A Cornerstone for the Connected Enter...
WSO2Con EU 2016: Identity Management –  A Cornerstone for the Connected Enter...WSO2Con EU 2016: Identity Management –  A Cornerstone for the Connected Enter...
WSO2Con EU 2016: Identity Management – A Cornerstone for the Connected Enter...
 

En vedette

En vedette (14)

Mídia kit - Gigante Paleztra
Mídia kit - Gigante PaleztraMídia kit - Gigante Paleztra
Mídia kit - Gigante Paleztra
 
Seminario de Economía 2do A 008 - Dabove - Scolari - Lombardi
Seminario de Economía   2do A 008 - Dabove - Scolari - LombardiSeminario de Economía   2do A 008 - Dabove - Scolari - Lombardi
Seminario de Economía 2do A 008 - Dabove - Scolari - Lombardi
 
Historia Del Computador
Historia Del ComputadorHistoria Del Computador
Historia Del Computador
 
HIPERVINCULOS POWER POINT
HIPERVINCULOS POWER POINT HIPERVINCULOS POWER POINT
HIPERVINCULOS POWER POINT
 
El internet de las cosas
El internet de las cosasEl internet de las cosas
El internet de las cosas
 
R_ActCH03_ARQD_12Mar2015
R_ActCH03_ARQD_12Mar2015R_ActCH03_ARQD_12Mar2015
R_ActCH03_ARQD_12Mar2015
 
la historia del computador
 la historia del computador la historia del computador
la historia del computador
 
Rest api
Rest apiRest api
Rest api
 
Macarena llanos 8°b
Macarena llanos 8°bMacarena llanos 8°b
Macarena llanos 8°b
 
Alexandre Basa CV16
Alexandre Basa CV16Alexandre Basa CV16
Alexandre Basa CV16
 
Tecnología Scolari - Lombardi - Dabove
Tecnología Scolari - Lombardi - DaboveTecnología Scolari - Lombardi - Dabove
Tecnología Scolari - Lombardi - Dabove
 
Animales En Peligro de Extinción.
Animales En Peligro de Extinción. Animales En Peligro de Extinción.
Animales En Peligro de Extinción.
 
El internet de las cosas
El internet de las cosasEl internet de las cosas
El internet de las cosas
 
Songuuliin tuhai huuli
Songuuliin tuhai huuliSonguuliin tuhai huuli
Songuuliin tuhai huuli
 

Similaire à Undisturbed rest chapter01

Weekly Tech Session
Weekly Tech SessionWeekly Tech Session
Weekly Tech SessionPravin Vaja
 
What is the difference between an api and web services
What is the difference between an api and web servicesWhat is the difference between an api and web services
What is the difference between an api and web servicesAparna Sharma
 
Oracle Integration Cloud_3rd_10042021.pptx
Oracle Integration Cloud_3rd_10042021.pptxOracle Integration Cloud_3rd_10042021.pptx
Oracle Integration Cloud_3rd_10042021.pptxssuser77e9de
 
Oracle Integration Cloud_3rd_10042021.pptx
Oracle Integration Cloud_3rd_10042021.pptxOracle Integration Cloud_3rd_10042021.pptx
Oracle Integration Cloud_3rd_10042021.pptxssuser77e9de
 
Getting started with dotnet core Web APIs
Getting started with dotnet core Web APIsGetting started with dotnet core Web APIs
Getting started with dotnet core Web APIsKnoldus Inc.
 
Secc tutorials development and deployment of rest web services in java_v2.0
Secc tutorials development and deployment of rest web services in java_v2.0Secc tutorials development and deployment of rest web services in java_v2.0
Secc tutorials development and deployment of rest web services in java_v2.0Aravindharamanan S
 
Best practices and advantages of REST APIs
Best practices and advantages of REST APIsBest practices and advantages of REST APIs
Best practices and advantages of REST APIsAparna Sharma
 
What are restful web services?
What are restful web services?What are restful web services?
What are restful web services?Aparna Sharma
 
zendframework2 restful
zendframework2 restfulzendframework2 restful
zendframework2 restfultom_li
 
REST and the Hypermedia Constraint
REST and the Hypermedia ConstraintREST and the Hypermedia Constraint
REST and the Hypermedia ConstraintInviqa
 
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
 
Restful web services by Sreeni Inturi
Restful web services by Sreeni InturiRestful web services by Sreeni Inturi
Restful web services by Sreeni InturiSreeni I
 
Overview of Rest Service and ASP.NET WEB API
Overview of Rest Service and ASP.NET WEB APIOverview of Rest Service and ASP.NET WEB API
Overview of Rest Service and ASP.NET WEB APIPankaj Bajaj
 
Monolithic and Microservice architecture, Feature of Node JS 10, HTTP2
Monolithic and Microservice architecture, Feature of Node JS 10, HTTP2Monolithic and Microservice architecture, Feature of Node JS 10, HTTP2
Monolithic and Microservice architecture, Feature of Node JS 10, HTTP2Atharva Jawalkar
 
IRJET- Rest API for E-Commerce Site
IRJET- Rest API for E-Commerce SiteIRJET- Rest API for E-Commerce Site
IRJET- Rest API for E-Commerce SiteIRJET Journal
 
LAJUG Napster REST API
LAJUG Napster REST APILAJUG Napster REST API
LAJUG Napster REST APIstephenbhadran
 

Similaire à Undisturbed rest chapter01 (20)

Weekly Tech Session
Weekly Tech SessionWeekly Tech Session
Weekly Tech Session
 
What is the difference between an api and web services
What is the difference between an api and web servicesWhat is the difference between an api and web services
What is the difference between an api and web services
 
Oracle Integration Cloud_3rd_10042021.pptx
Oracle Integration Cloud_3rd_10042021.pptxOracle Integration Cloud_3rd_10042021.pptx
Oracle Integration Cloud_3rd_10042021.pptx
 
Oracle Integration Cloud_3rd_10042021.pptx
Oracle Integration Cloud_3rd_10042021.pptxOracle Integration Cloud_3rd_10042021.pptx
Oracle Integration Cloud_3rd_10042021.pptx
 
Getting started with dotnet core Web APIs
Getting started with dotnet core Web APIsGetting started with dotnet core Web APIs
Getting started with dotnet core Web APIs
 
Secc tutorials development and deployment of rest web services in java_v2.0
Secc tutorials development and deployment of rest web services in java_v2.0Secc tutorials development and deployment of rest web services in java_v2.0
Secc tutorials development and deployment of rest web services in java_v2.0
 
Best practices and advantages of REST APIs
Best practices and advantages of REST APIsBest practices and advantages of REST APIs
Best practices and advantages of REST APIs
 
Day03 api
Day03   apiDay03   api
Day03 api
 
What are restful web services?
What are restful web services?What are restful web services?
What are restful web services?
 
zendframework2 restful
zendframework2 restfulzendframework2 restful
zendframework2 restful
 
REST and the Hypermedia Constraint
REST and the Hypermedia ConstraintREST and the Hypermedia Constraint
REST and the Hypermedia Constraint
 
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]
 
Restful web services by Sreeni Inturi
Restful web services by Sreeni InturiRestful web services by Sreeni Inturi
Restful web services by Sreeni Inturi
 
Overview of Rest Service and ASP.NET WEB API
Overview of Rest Service and ASP.NET WEB APIOverview of Rest Service and ASP.NET WEB API
Overview of Rest Service and ASP.NET WEB API
 
Monolithic and Microservice architecture, Feature of Node JS 10, HTTP2
Monolithic and Microservice architecture, Feature of Node JS 10, HTTP2Monolithic and Microservice architecture, Feature of Node JS 10, HTTP2
Monolithic and Microservice architecture, Feature of Node JS 10, HTTP2
 
Apitesting.pptx
Apitesting.pptxApitesting.pptx
Apitesting.pptx
 
IRJET- Rest API for E-Commerce Site
IRJET- Rest API for E-Commerce SiteIRJET- Rest API for E-Commerce Site
IRJET- Rest API for E-Commerce Site
 
Rest web service
Rest web serviceRest web service
Rest web service
 
REST full API Design
REST full API DesignREST full API Design
REST full API Design
 
LAJUG Napster REST API
LAJUG Napster REST APILAJUG Napster REST API
LAJUG Napster REST API
 

Dernier

Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 

Dernier (20)

Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 

Undisturbed rest chapter01

  • 1. UNDISTURBED REST A guide to designing the perfect API
  • 2. 1.WHAT IS AN API?  API (Application Programming Interface) is a software intermediary that allows two applications to talk to each other.  There are many types of APIs.  Web APIs: Simple Object Access Protocol (SOAP), Remote Procedure Call (RPC), Representational StateTransfer (REST).  …
  • 3. 1.WHAT IS AN API?  1.1.Web APIs  Web API (Web Service) provides an interface forWeb applications, or applications that need to connect to each other via the Internet to communicate.  Since 2005, the use of web APIs has exploded exponentially, and multipleWeb formats and standards have been created.  Early on, one of the most popular enterprise formats for APIs was SOAP.  With the emergence of JavaScript Object Notation (JSON), REST has grown in popularity and quickly become the de facto standard for the generalWeb APIs today.
  • 4. 1.1WEB APIS  1.1.1. SOAP  It was designed to offer a new protocol and messaging framework.  It relied on theWeb Service Definition Language (WSDL) & XML to build and receive the different requests.  1.1.2. XML-RPC (Remote Procedure Calls)  It was the basic for SOAP.  It was much quicker and easier to implement than SOAP.  1.1.3. JSON-RPC  The format was originally designed to take advantage of JavaScript’s ability to act as a messaging system  JSON was developed to provide a simple, concise format
  • 5. 1.1WEB APIS  1.1.4. REST  Provides an incredible layer of flexibility.  Has ability to handle multiple types of calls, return different data formats & even change structurally with the correct implementation of hypermedia.
  • 6. 1.WHAT IS AN API?  1.2. Understanding REST  One of the most commonly missed constraints of REST is the utilization of hypermedia as the engine of application state, or HATEOAS  There are six key constraints to REST:  Client-Server  Stateless  Cache  Uniform Interface  Layered System  Code on demand
  • 7. 1.2. UNDERSTANDING REST  1.2.1. Client-server  Operates on the concept that the client and the server should be separate from each other and allowed to evolve individually.  This creates a separation of concerns, letting each application grow and scale independently of the other and allowing your organization to grow quickly and efficiently.  1.2.2. Stateless  The calls can be made independently of one another, and each call contains all of the data necessary to complete itself successfully.  1.2.3. Cache  When data is cacheable, the response should indicate that the data can be stored up to a certain time.
  • 8. 1.2. UNDERSTANDING REST  1.2.4. Uniform Interface  The uniform interface lets the client talk to the server in a single language, independent of the architectural backend of either.This interface should provide an unchanging, standardized means of communicating between the client and the server.  1.2.5. Layered System  Is a system comprised of layers, with each layer having a specific functionality and responsibility.  1.2.6. Code on demand  Allows for code or applets to be transmitted via the API for use within the application.