Posts

Showing posts with the label API

What is an API?

Image
What exactly is an API? API stands for A pplication P rogramming I nterface. Perhaps some of you may have already used APIs in your software applications, which you may think that API is an already written piece of code dedicated to perform a specific task. Yes it is, but hold on! The API itself gives the actual meaning when it is read backwards.   an Interface used by Programs to interact with an Application. Essentially, an API could be anything in any form that is used by 2 software components to communicate with each other. Basically an API allows one application to talk to another, directly and securely. Some important facts about APIs will be listed below, No direct human usage of APIs. That is an API is normally invoked by some other code which is running on a computer. Normally this code is written by a developer to talk to the API. APIs expose something useful. You have APIs on your computer itself. (eg: when you type a key in the key...

Microservices

Image
You may have certainly come across this term, and may be curious what exactly it refers to. Okay I would say, this mainly refers to an architecture, which is used in developing software applications. It’s more like implementing specific use cases, independently. That is the software is being decomposed into independently deployable, simple services that could cater a specific business need. Microservice Architecture These components may use different languages, technologies, frameworks etc. and finally can communicate each other via well-defined interfaces, or rather APIs. That is they communicate each other in a loosely coupled way. This I would say, is ideal for large applications, providing better agility in the long term software development process. Especially when working with large teams, so now you can assign certain features of the app to certain team members. Also can scale fast unlike the monolithic architecture.   If not for micro services, how ca...