No video

APIs and Web Services: What's the Difference?

  Рет қаралды 24,649

Erik Wilde

Erik Wilde

Күн бұрын

What is the difference between APIs and Web Services? The short answer is that for the most common definitions of these terms, Web Services are a specific kind of APIs that use a technology stack that almost always includes SOAP and WSDL, and possibly UDDI as well.
But, as all non-trivial questions in real-world IT, the correct answer is always "it depends". For this reason we take a look back at the history of the terms, which for APIs goes as far back as 1968, whereas for Web Services this only goes back to 1998. XML-RPC was the first "Web Service technology", but never took off in a big way. SOAP/WSDL did, but it also suffered from what many found to be too complicated ways as how to use these kinds of Web Services.
Starting in 2001, JSON "Web Services" started becoming popular, and most importantly because of their simplicity. For this reason, oftentimes the term "Web Service" was avoided and people starting just calling them "APIs", because Roy Fielding has introduced the idea of "Network APIs" in his dissertation from 2000. From then on, oftentimes APIs are used to talk about a more general idea of network-capable interfaces, whereas Web Services often refer to the specific SOAP/WSDL technology stack.
But it all depends on the conversation. If you ever have to answer this question, make sure you understand the context and what's referred to by the two names. Only then will you be able to give a meaningful answer that makes sense both for the one asking the question, and for the one answering it.
00:00 Introduction
00:25 Short answer
01:23 The history of APIs
02:40 The history of Web services
04:00 The history of SOAP
06:05 The history of JSON
07:09 The API space keeps evolving
08:00 What can we learn from this history?
09:00 Always ask about the context of the question
10:06 A better version of the original short answer
10:41 Wrapping it up

Пікірлер: 25
@arpanbaishya5888
@arpanbaishya5888 2 жыл бұрын
Erik, Thank you so much for making this video!! It helped me a great deal to understand the timeline associated with these terms and also helped resolved much of the confusion that I had before watching this.
@ErikWilde
@ErikWilde 2 жыл бұрын
you're welcome, @arpan, good to hear that the video was helpful for you!
@HimanshuGupta-jx4nk
@HimanshuGupta-jx4nk 8 ай бұрын
Thank you, Sir! These terms are used in learning any new technologies but are hardly explained and cause a lot of confusion. Thank you for making such informative videos.
@musamehdiyevv
@musamehdiyevv 25 күн бұрын
Thank you for the great content
@ErikWilde
@ErikWilde 25 күн бұрын
@@musamehdiyevv, thanks for watching!
@taar
@taar 4 ай бұрын
Thank you. this was clear and simple to understand
@ErikWilde
@ErikWilde 4 ай бұрын
That's good to hear, thanks!
@NishthaJindal1111
@NishthaJindal1111 3 ай бұрын
thanks for making this! Very helpful 👍
@ErikWilde
@ErikWilde 3 ай бұрын
Thank you!!
@funkyboy4882
@funkyboy4882 Жыл бұрын
I found this channel helpful, thank u
@kamilp1567
@kamilp1567 Жыл бұрын
Great approach, context helped me a lot with understanding this, thanks!
@ErikWilde
@ErikWilde Жыл бұрын
thanks, @kamil! it seems like many things in tech could use a bit more context.
@GetachewSeyoumGebrezgi
@GetachewSeyoumGebrezgi Ай бұрын
Thank you so much!
@PierreRoehrs
@PierreRoehrs 6 ай бұрын
Best explanation ever!
@ErikWilde
@ErikWilde 6 ай бұрын
Thanks a lot!
@oo7ankit
@oo7ankit Жыл бұрын
Very well explained thankyou
@korbennnn
@korbennnn 6 ай бұрын
Thank you. Very educational content.
@def1963
@def1963 2 жыл бұрын
I do like more you definition of API in "APIs and Microservices: ..." (api is a design/ documentation and web services are implementations). Back in 80s-90s we used the term API in relation to description of module's o function's interface only.
@ErikWilde
@ErikWilde 2 жыл бұрын
thanks for the feedback. it's always tricky comparing and contrasting things. for the microservices video, it was all about implementation versus interface. for this one here, it's all about one specific style of defining interface versus the general practice of using them.
@tmaria.claudia
@tmaria.claudia Жыл бұрын
Great video! Thank you!
@DigsWigs2022
@DigsWigs2022 4 ай бұрын
Thank you!!
@lholhofox
@lholhofox Жыл бұрын
Amazing! thank you!!
@medredsr2641
@medredsr2641 Жыл бұрын
thank you so much
@Diegoad1
@Diegoad1 6 ай бұрын
Thank you!
@carsonjamesiv2512
@carsonjamesiv2512 2 ай бұрын
👍
API Formats: Why JSON won over XML
14:43
Erik Wilde
Рет қаралды 11 М.
Comparing web API types: SOAP, REST, GraphQL and RPC
15:19
AltexSoft
Рет қаралды 93 М.
ISSEI & yellow girl 💛
00:33
ISSEI / いっせい
Рет қаралды 19 МЛН
Box jumping challenge, who stepped on the trap? #FunnyFamily #PartyGames
00:31
Family Games Media
Рет қаралды 31 МЛН
Ouch.. 🤕
00:30
Celine & Michiel
Рет қаралды 42 МЛН
Kind Waiter's Gesture to Homeless Boy #shorts
00:32
I migliori trucchetti di Fabiosa
Рет қаралды 8 МЛН
What is a Web Service? And why is it called a Web Service?
7:17
Erik Wilde
Рет қаралды 116 М.
Turns out REST APIs weren't the answer (and that's OK!)
10:38
Dylan Beattie
Рет қаралды 140 М.
API vs. SDK: What's the difference?
9:21
IBM Technology
Рет қаралды 1,4 МЛН
The Right Way To Build REST APIs
10:07
Awesome
Рет қаралды 92 М.
What is a REST API?
9:12
IBM Technology
Рет қаралды 1,5 МЛН
REST API Interview Questions (Beginner Level)
7:07
Exponent
Рет қаралды 172 М.
Where should you use gRPC? And where NOT to use it!
10:57
CodeOpinion
Рет қаралды 80 М.
"I Hate Agile!" | Allen Holub On Why He Thinks Agile And Scrum Are Broken
8:33
ISSEI & yellow girl 💛
00:33
ISSEI / いっせい
Рет қаралды 19 МЛН