NameSilo

API Question

Spaceship Spaceship
Watch

newsiness

VIP Member
Impact
49
I am using postnuke & also joomla...
what is API? How to integrate API into these site? Any example? Any sample of postnuke & joomla sites use API? Thanks
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
API is an Application Programming Interface. It's not a 'thing' as such.

It's just a way for one lot of code to integrate with another. Every Joomla component uses the Joomla API, which is the collection of constants, classes, objects, global variables and functions that Joomla provides specifically for those components. This is just the same as how every Windows program uses the functions that the Windows API provides to interact with the user.

Hopefully that makes sense!
 
0
•••
newsiness said:
I am using postnuke & also joomla...
what is API? How to integrate API into these site?

in practical terms, an API is in the form of a set of method calls (with a set of specific arguments) that results in data being generated that is the return value of the particular method being called. This data can be used by a website (as an example).

Some examples of APIs are Amazon's web services API, and the google search API. If you are interested in using web services such as the above, then you would need to use nuSOAP (a web services client for PHP) that would make it easy to access the API defined by a particular web service.

can you be more specific about the kind of API you want to use ?
 
0
•••
Appraise.net

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Payment Flexibility
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back