0

Simple API Class

Simple API Class will help you to generate your apis with out many knowledge or work. With this class, you can create your own simple API ’s. The class is very easy to install and supports two output formats: Json and XML . The class created API ’s from any mysql table.

API Class Features:
easy to install
supports xml and json
cache
own url parameters
flexible

Usage:

In browser games
At sites such as Code Canyon
With analysis tools and many more.

DEMO -DOWNLOAD

An API may describe the ways in which a particular task is performed. For example, in Unix systems, the math.h include file for the C language contains the definition of the mathematical functions available in the C language library for mathematical processing (usually called libm). This file would describe how to use these functions and the expected result. For example, on a Unix system the command man 3 sqrt will present the signature of the function sqrt in the form: that means that the function returns the square root of a positive floating point number (single or double precision) as another floating point number. Hence the API in this case can be interpreted as the collection of the included files used by the C language and its human readable description provided by the man pages.

In object oriented languages, an API usually includes a description of a set of class definitions, with a set of behaviours associated with those classes. A behaviour is the set of rules for how an object, derived from that class, will act in a given circumstance. This abstract concept is associated with the real functionalities exposed, or made available, by the classes that are implemented in terms of class methods.

The API in this case can be conceived as the totality of all the methods publicly exposed by the classes (usually called the class interface). This means that the API prescribes the methods by which one handles the objects derived from the class definitions.

More generally, one can see the API as the collection of all the kind of objects one can derive from the class definitions, and their associated possible behaviours. The use again is mediated by the public methods, but in this interpretation, the methods are seen as a technical detail of how the behaviour is implemented.

For instance: a class representing a Stack can expose publicly two methods push() (to add a new item to the stack), and pop() (to extract the last item, ideally placed on top of the stack).

The API in this case can be interpreted as the two methods pop() and push(), or more generally as the idea that one can use an item of type Stack that implements the behaviour of a stack (a pile exposing its top to add/remove elements).

Be Sociable with WP Themes Forest, Share WordPress Themes!

About the Author

Well dont know what to say here, we just love Wordpress, Joomla and the Drupal and cant to offer some new articles for you everyday. However if you want to be part of this site please just submit your articles, tutorials or links we will do the rest.

Leave a Reply




If you want a picture to show with your comment, go get a Gravatar.

*