Home All Groups Group Topic Archive Search About
Author
7 Jun 2006 6:22 AM
mohit.akl
guys a stupid question.....
what does API stands 4?????
plz reply asap
thanks

Author
7 Jun 2006 6:35 AM
Cor Ligthert [MVP]
Application Program(ming) Interface.

A great source for this kind of questions

http://en.wikipedia.org/wiki/Application_programming_interface

I hope this helps,

Cor
Author
7 Jun 2006 8:57 AM
Herfried K. Wagner [MVP]
<mohit.***@gmail.com> schrieb:
> what does API stands 4?????

"Application Programming Interface".  Often API is used as synonym for the
Win32 API and 'Declare'/'DllImport' stuff, but in general even the .NET
Framework is an API.

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
7 Jun 2006 9:11 AM
Cor Ligthert [MVP]
Herfried,

> but in general even the .NET Framework is an API.

As the .Net Framework is a layer from the OS than it cannot be an interface
to that.

In see definitly the .Net Framework as a layer from the OS.

Cor
Author
7 Jun 2006 9:45 AM
Herfried K. Wagner [MVP]
"Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> schrieb:
>> but in general even the .NET Framework is an API.
>
> As the .Net Framework is a layer from the OS than it cannot be an
> interface to that.
>
> In see definitly the .Net Framework as a layer from the OS.

This doesn't mean it's not an API.  API simply means "interface used to
program an application".  Check out the Wikipedia article in your post :-).

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
7 Jun 2006 11:19 AM
Cerebrus
Herfried K. Wagner [MVP] wrote:

Show quoteHide quote
> "Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> schrieb:
> >> but in general even the .NET Framework is an API.
> >
> > As the .Net Framework is a layer from the OS than it cannot be an
> > interface to that.
> >
> > In see definitly the .Net Framework as a layer from the OS.
>
> This doesn't mean it's not an API.  API simply means "interface used to
> program an application".  Check out the Wikipedia article in your post :-).
>
> --
>  M S   Herfried K. Wagner
> M V P  <URL:http://dotnet.mvps.org/>
>  V B   <URL:http://classicvb.org/petition/>

Cor just loves to tease... ;-)

But seriously, I would tend to agree with Cor that the .NET Framework
does not fall into *generally* accepted meaning of the word API. I
would distinguish the terms "framework" and "API". What are your
thoughts on this ?
Author
7 Jun 2006 1:02 PM
Herfried K. Wagner [MVP]
Show quote Hide quote
"Cerebrus" <zorg***@sify.com> schrieb:
>> >> but in general even the .NET Framework is an API.
>> >
>> > As the .Net Framework is a layer from the OS than it cannot be an
>> > interface to that.
>> >
>> > In see definitly the .Net Framework as a layer from the OS.
>>
>> This doesn't mean it's not an API.  API simply means "interface used to
>> program an application".  Check out the Wikipedia article in your post
>> :-).
>
> Cor just loves to tease... ;-)
>
> But seriously, I would tend to agree with Cor that the .NET Framework
> does not fall into *generally* accepted meaning of the word API. I
> would distinguish the terms "framework" and "API". What are your
> thoughts on this ?

Framework simply means a set of libraries, tools, etc. which can be used to
develop applications, for example.  API is more about what we get (an
interface to parts of a system, application, library, whatever) to develop
applications against, in other words, it's basically a contract).  So, while
the .NET Framework is a framework that includes libraries (which define an
API), development and configuration tools, etc., the .NET Framework's class
library provides an API.

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
7 Jun 2006 1:32 PM
Cor Ligthert [MVP]
Herfried,

> Framework simply means a set of libraries, tools, etc. which can be used
> to develop applications, for example.

I would not say it like that, it is a part of the OS where against the CLI
code can run.

In my opinion is it the same is for every layer from an OS. That does not
make them an API.

The CLI code contains interfaces to that part of the OS but that does not
make it an  API.

If you tell that inside this definition the classes distributed by the
development part of the framework are API's than I am in more trouble to
deny what you wrote. However that makes from every application itself almost
an API. In my opinion is an API more restricted to one function from the OS.

But just my thought,

Cor

Show quoteHide quote
"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> schreef in bericht
news:ux3SyKjiGHA.4896@TK2MSFTNGP05.phx.gbl...
> "Cerebrus" <zorg***@sify.com> schrieb:
>>> >> but in general even the .NET Framework is an API.
>>> >
>>> > As the .Net Framework is a layer from the OS than it cannot be an
>>> > interface to that.
>>> >
>>> > In see definitly the .Net Framework as a layer from the OS.
>>>
>>> This doesn't mean it's not an API.  API simply means "interface used to
>>> program an application".  Check out the Wikipedia article in your post
>>> :-).
>>
>> Cor just loves to tease... ;-)
>>
>> But seriously, I would tend to agree with Cor that the .NET Framework
>> does not fall into *generally* accepted meaning of the word API. I
>> would distinguish the terms "framework" and "API". What are your
>> thoughts on this ?
>
> Framework simply means a set of libraries, tools, etc. which can be used
> to develop applications, for example.  API is more about what we get (an
> interface to parts of a system, application, library, whatever) to develop
> applications against, in other words, it's basically a contract).  So,
> while the .NET Framework is a framework that includes libraries (which
> define an API), development and configuration tools, etc., the .NET
> Framework's class library provides an API.
>
> --
> M S   Herfried K. Wagner
> M V P  <URL:http://dotnet.mvps.org/>
> V B   <URL:http://classicvb.org/petition/>
Author
7 Jun 2006 1:41 PM
Herfried K. Wagner [MVP]
"Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> schrieb:
>> Framework simply means a set of libraries, tools, etc. which can be used
>> to develop applications, for example.
>
> I would not say it like that, it is a part of the OS where against the CLI
> code can run.

The .NET Framework is not part of the OS.  It's simply a layer that is built
on top of the OS core functionality.

> In my opinion is it the same is for every layer from an OS. That does not
> make them an API.

It doesn't, but each layer can expose an API!  Otherwise it would be
impossible to develop drivers, normal applications, etc. for Windows.

> The CLI code contains interfaces to that part of the OS but that does not
> make it an  API.

I am not sure what exactly you are referring to with CLI (typically this
stands for "Common Language Infrastructure").

> If you tell that inside this definition the classes distributed by the
> development part of the framework are API's

No, I do not claim that.  As I mentioned before, I see APIs as something
more abstract.  A library is not the same as an API.  An API consists of one
or more libraries which export functions, classes, etc., and are documented
and maybe specified, for example.

> However that makes from every application itself almost an API.

Not really.  An application typically does not expose interfaces which can
be used by other developers to develop applications which inteact with the
application.  However, there are some applications such as Word and Excel
which expose automation and extensibility functionality through APIs.

> In my opinion is an API more restricted to one function from the OS.

?!?

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
7 Jun 2006 3:13 PM
Cor Ligthert [MVP]
Herfried,

I stop this with exception from one.

> I am not sure what exactly you are referring to with CLI (typically this
> stands for "Common Language Infrastructure").
>
For me this stands typically for "Cor Ligthert" (as often used abrivation).

:-)

Cor
Author
7 Jun 2006 2:03 PM
tomb
mohit.***@gmail.com wrote:

>guys a stupid question.....
>what does API stands 4?????
>plz reply asap
>thanks
>

>
These two guys are so funny - API = Application Programming Interface. 
It tells the whole story.  It is an interface that can be used in the
programming of an application.  It doesn't say anywhere that it has to
be made available by the OS.  So, the OS, a component, a custom dll, all
can provide an API.

If your application is using the interface provided by some other code,
in your programming, then that is and API.  Code is code.  OS is just
code.  Why get so caught up in insignificant details of where that code
resides?

Tom
Author
7 Jun 2006 3:16 PM
Cor Ligthert [MVP]
Tomb,

>>
> These two guys are so funny - API = Application Programming Interface.

We both told that in our first reply, where I gave a link Wikepedi which
explains it very good.

However there is nothing wrong as in a board something becomes a more
theoretical discussion.

That is where Usenet (NNTP) was build for.

Cor
Author
7 Jun 2006 11:56 PM
Cerebrus
tomb wrote:

> These two guys are so funny - API = Application Programming Interface.
> It tells the whole story.  It is an interface that can be used in the
> programming of an application.  It doesn't say anywhere that it has to
> be made available by the OS.  So, the OS, a component, a custom dll, all
> can provide an API.
>
> If your application is using the interface provided by some other code,
> in your programming, then that is and API.  Code is code.  OS is just
> code.  Why get so caught up in insignificant details of where that code
> resides?
>
> Tom

Rather simplifying it, aren't you ! I think both of our veteran
specialists (I refrain from using the word "guys") have made such valid
points that I'm now confused. But not that it matters much.