NaijaGrows Forum

Welcome, Guest: Join NaijaGrows / Login / Trending / Recent / New
Stats: 142 members, 1,553 topics. Date: Friday 17th August 2018 at 10:30 am

User Level:

What Is Difference Between Api, Framework And Plugin. - Programming - NaijaGrows

NaijaGrows Forum / Technology / Programming / What Is Difference Between Api, Framework And Plugin. (562 Views)

What Is Difference Between Api, Framework And Plugin. / Difference Between Politicians And Diapers / Never Underestimate The Difference You Can Make In The Lives Of Others (2) (3)

(Reply) (Down)

What Is Difference Between Api, Framework And Plugin. by sherifastro(m): 05:10 pm On 9 Sep 2017
An API is really no more than a set of method signatures and other information necessary to use a class or set of classes.

The API is totally distinct from the implementation. For example, a number of vendors have implemented the servlet API, each in a different way.

The API by itself has no implementation.

A class library would have an API, as would a framework..

A framework is a set of classes which handles the flow necessary to perform a complex task, but which requires plug-in classes specific to your application (database, app server), and which allows for additional plug-in classes to extend the functionality.

For example, you could have a framework which handles the general flow of an online store.

This framework would handle tasks such as `put item in shopping cart`, `generate order on checkout`, etc.

On the other hand, you would need to provide the classes which enable the framework to persist the shopping cart to the database of your choice, to connect to a credit-card processor, to send orders to a warehouse, among other things.

Further, if you wanted to decided that you wanted to offer monogramming, you would need to provide classes to do so, and the framework should make it easy to plug these in.

A plugin is a Python script that gets loaded by Sublime Text when it's inside a package at its top level and interface with the Sublime Text API. Essentially, plugins can be part of packages, but packages can consist of many more different types of resources.</t>


Viewing this topic: 0 users and 1 guest(s)

(Go Up)

Download NaijaGrows app for Android Phones

Links: (0) (2) (3) (4) ... (11) (12) (13)
NaijaGrows - Copyright © 2016 - Sheriff Adeleke. All rights reserved.® See Privacy Policy , Terms & Conditions
Disclaimer: Every NaijaGrows member is solely responsible for anything that he/she posts or uploads on NaijaGrows.