Web Development Jargons Explained in 4 Different Ways
TLDR: Application Programming Interface (API) is an interface that programmers can use to interact with a software system. For example, Bob is a waiter at a restaurant. He relays your order to the kitchen, and Bob brings the food back to you. The kitchen is the software system, and Bob is the API.
Application Programming Interface (API) is an interface that programmers can use to interact with a software system. For example, Bob is a waiter at a restaurant. He relays your order to the kitchen, and Bob brings the food back to you. The kitchen is the software system, and Bob is the API.
The API is in charge of handling requests, checking with the system whether the requests are attainable, and sending back a response. In the restaurant, if the dish you ordered is sold out, the waiter will inform you and ask you to choose another dish.
An API doesn't expose the inner workings of a software system, just like a waiter doesn't tell you about the chaos that goes on in the kitchen.
In web development, an API is usually about creating, retrieving, modifying, and deleting information in a database. The famous Twitter API allows users with programming skills to read their feed, post a new tweet, follow a user, etc., all without using the Twitter App or Twitter website.
Programmers can even use the Twitter API to build custom websites and mobile apps that work just like Twitter. API is the interface created by programmers, for programmers, to interact with a software system.
API is a general term for a programmatic interface programmers use to interact with a software system. DIY electronics such as Arduino and RaspberryPi, computer operating systems such as Windows and Linux, web services such as Twitter and Facebook, and software libraries will often have an API.
Programmers can use these APIs to interact with the systems, or create new applications out of them.
In web development, APIs mostly conform to the REST (Representational State Transfer) architecture. RESTful APIs have a standard way for retrieving, creating, modifying, and deleting information. These operations are called GET, POST, PUT, DELETE. This standard allows programmers to expect consistency across web service APIs.
Did you know Facebook built an alternative API architecture called the GraphQL? It allows the client to modify the scope and boundaries of the request on the fly. So there is no need to have endpoints that cover all needs. Prevents unnecessary large datasets being returned.
Ruby on Rails is a web application framework built using the programming language Ruby. It is very popular amongst early stage startups with small teams as you can create a working website very quickly.
Cohort 85 begins on January 1st, 2024
Learn back-end development with Ruby and Rails. Computer science fundamentals with practical programming skills.
Students and instructors from world-class organizations