This helps reduce the amount of code developers need to create, and also helps create more consistency across apps for the same platform. APIs allow developers to save time by taking advantage of a platform’s implementation to do the nitty-gritty work. This isn’t a perfect metaphor, as developers may have to provide their own data to the API to get the results, so perhaps it’s more like a fancy restaurant where you can provide some of your own ingredients the kitchen will work with.īut it’s broadly accurate. They just need to know that it’s available for use in their app. The developer doesn’t necessarily need to know how, for example, an operating system builds and presents a “Save As” dialog box. Similarly, an API lists a bunch of operations that developers can use, along with a description of what they do. You don’t know exactly how the restaurant prepares that food, and you don’t really need to. When you specify what menu items you want, the restaurant’s kitchen does the work and provides you with some finished dishes. ![]() ![]() ![]() The menu provides a list of dishes you can order, along with a description of each dish. Think of an API like a menu in a restaurant. The term API is an acronym, and it stands for “Application Programming Interface.” ![]() What Is an Application Programming Interface
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |