Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Explain two reasons why web applications are becoming more popular.
State common uses of web APIs.
Understand the API economy and why API growth has been significant.
Note
The number and types of devices that can be plugged into electrical sockets are limited
only by the imaginations of inventors and the capacity of the utility. In the same way, the
number of applications that can take advantage of the data abstracted by an API’s
endpoint is limited only by the imaginations of developers and the capacity of the API
provider’s infrastructure.
Case in point: It wasn’t long after Google offered an API for Google Maps that thousands
of third-party developers stepped forward with unique and innovative applications that
consumed the API, incorporating Google’s mapping functionality directly into their apps.
Think Yelp, Lyft, Tesla, and any other application that provides a map with the Google
copyright in the corner.
It is for this reason that APIs are often referred to as an engine of innovation.
https://trailhead.salesforce.com/fr/content/learn/modules/pw-api-basics/put-the-web-in-web-api?trail_id=great-integrations-mulesoft 1/4
13/05/2019 Unité Put the Web in Web API | Salesforce Trailhead
The API economy’s growth is driven by service providers that compete to address this
thirst for greater developer productivity and common data. For each of the various types
of functionality that can be invoked via API (such as credit card processing, mapping,
navigation, and translation), there are often multiple API providers competing for the
attention of application developers. In turn, as more features are supplied in the form of
API-based services, the API economy is accelerating the trend toward a world of
applications that are primarily composed of off-the-shelf APIs.
Back in the days when Unix first came out, it was not uncommon for programmers to
remotely invoke business logic from another machine across a network through a
technology called RPC, or remote procedure call.
Are you ready for some serious acronym soup? Over time, RPC’s gave way to other forms
of remote data and functionality request such as Network DDE (dynamic data
exchange), CORBA (common object request broker architecture), electronic data
https://trailhead.salesforce.com/fr/content/learn/modules/pw-api-basics/put-the-web-in-web-api?trail_id=great-integrations-mulesoft 2/4
13/05/2019 Unité Put the Web in Web API | Salesforce Trailhead
interchange (EDI), and so forth. Eventually, something called XML-RPC (woo hoo! RPC
Build Greatsurfaced,
again!) APIs and Integrations
which laterwith MuleSoft
evolved into(/content/learn/trails/great-integrations-mulesoft)
what we now know as web services, based on
APIXML and
Basics the simple object access protocol (SOAP).
(/content/learn/modules/pw-api-basics?trail_id=great-integrations-mulesoft)
Both have their own advantages over current web APIs. For example, GraphQL is
inspired by the idea of a social graph and how different data items like friends, photos,
places of work, and so on, form labyrinth of interrelated information. GraphQL makes it
possible to request information from across an entire graph of data at once (versus the
multiple round-trips of requests it takes traditional APIs to accomplish the same thing).
gRPC on the other hand has its own advantages. It relies on HTTP/2 (HTTP version 2)
which can stream data bidirectionally. gRPC can also turn an API into a streaming API
that feeds its data to the consuming application as soon as that data becomes available.
For certain real-time applications like a stock market ticker, that’s a much more efficient
way of getting data as opposed to forcing the app to constantly check if there’s new data
available like traditional APIs do.
(topic-title) Resources
Which API Types and Architectural Styles are Most Used?
(https://www.programmableweb.com/news/which-api-types-and-architectural-styles-
are-most-used/research/2017/11/26)
https://trailhead.salesforce.com/fr/content/learn/modules/pw-api-basics/put-the-web-in-web-api?trail_id=great-integrations-mulesoft 3/4
13/05/2019 Unité Put the Web in Web API | Salesforce Trailhead
True or false: When creating APIs you are limited to one application per
1 endpoint.
A True
B False
A type of API that checks for updated data within time increments to send
C
data to the consuming application.
A type of API that sends data to the consuming application as soon as that
D data is updated or becomes available.
https://trailhead.salesforce.com/fr/content/learn/modules/pw-api-basics/put-the-web-in-web-api?trail_id=great-integrations-mulesoft 4/4