using a DLL in address link

using a DLL in address link

am 04.07.2007 22:50:17 von Mike Walker

Hi,
I've seen some web sites that use a link like:-
http://www.somewebsite/somename.dll?someinformation

do you know of any examples or how to use a DLL on a web page like that ?

I guess the DLL has all the code pre-compiled and outputs
XML or HTML code to build the page up.

Thanks for any info

Mike.

Re: using a DLL in address link

am 04.07.2007 23:38:08 von David Wang

If the web server is IIS, then .dll extension usually indicate ISAPI
that gets invoked by IIS to produce HTTP output. That output can be
XML, HTML, octet-stream, etc - whatever is valid for Content-Type.

I don't know what you mean "how to use a DLL on a web page". From a
usage perspective, it is no different than if the extension is .html.
>From the server-implementation perspective, it is no different
than .html or .asp.

Can you clarify your question.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//




On Jul 4, 1:50 pm, "MadMIke42" wrote:
> Hi,
> I've seen some web sites that use a link like:-http://www.somewebsite/somename.dll?someinformation
>
> do you know of any examples or how to use a DLL on a web page like that ?
>
> I guess the DLL has all the code pre-compiled and outputs
> XML or HTML code to build the page up.
>
> Thanks for any info
>
> Mike.

Re: using a DLL in address link

am 05.07.2007 00:30:18 von Mike Walker

Sorry,

I have written ASP & HTML pages, and ive written Visual basic 6 programs,
but I can see the advantage of using a DLL file to output
web page code to the users browser.
This would be better then trying to use a EXE file, and I can hide
all the connections to the database (connection string) in the DLL
instead of in the ASP code.

So the question I guess should be:-
How can I use a DLL as a page link ?

Some basic examples would be great to get me started ?

Sorry for the confusion.

many thanks
Mike.


"David Wang" wrote in message
news:1183585088.484954.167390@c77g2000hse.googlegroups.com.. .
> If the web server is IIS, then .dll extension usually indicate ISAPI
> that gets invoked by IIS to produce HTTP output. That output can be
> XML, HTML, octet-stream, etc - whatever is valid for Content-Type.
>
> I don't know what you mean "how to use a DLL on a web page". From a
> usage perspective, it is no different than if the extension is .html.
>>From the server-implementation perspective, it is no different
> than .html or .asp.
>
> Can you clarify your question.
>
>
> //David
> http://w3-4u.blogspot.com
> http://blogs.msdn.com/David.Wang
> //
>
>
>
>
> On Jul 4, 1:50 pm, "MadMIke42" wrote:
>> Hi,
>> I've seen some web sites that use a link
>> like:-http://www.somewebsite/somename.dll?someinformation
>>
>> do you know of any examples or how to use a DLL on a web page like that ?
>>
>> I guess the DLL has all the code pre-compiled and outputs
>> XML or HTML code to build the page up.
>>
>> Thanks for any info
>>
>> Mike.
>

Re: using a DLL in address link

am 05.07.2007 01:23:20 von Le Chaud Lapin

On Jul 4, 5:30 pm, "MadMIke42" wrote:
> Sorry,
>
> I have written ASP & HTML pages, and ive written Visual basic 6 programs,
> but I can see the advantage of using a DLL file to output
> web page code to the users browser.
> This would be better then trying to use a EXE file, and I can hide
> all the connections to the database (connection string) in the DLL
> instead of in the ASP code.
>
> So the question I guess should be:-
> How can I use a DLL as a page link ?
>
> Some basic examples would be great to get me started ?
>
> Sorry for the confusion.
>
> many thanks
> Mike.
>
> "David Wang" wrote in message
>
> news:1183585088.484954.167390@c77g2000hse.googlegroups.com.. .
>
> > If the web server is IIS, then .dll extension usually indicate ISAPI
> > that gets invoked by IIS to produce HTTP output. That output can be
> > XML, HTML, octet-stream, etc - whatever is valid for Content-Type.
>
> > I don't know what you mean "how to use a DLL on a web page". From a
> > usage perspective, it is no different than if the extension is .html.
> >>From the server-implementation perspective, it is no different
> > than .html or .asp.
>
> > Can you clarify your question.
>
> > //David
> >http://w3-4u.blogspot.com
> >http://blogs.msdn.com/David.Wang
> > //
>
> > On Jul 4, 1:50 pm, "MadMIke42" wrote:
> >> Hi,
> >> I've seen some web sites that use a link
> >> like:-http://www.somewebsite/somename.dll?someinformation
>
> >> do you know of any examples or how to use a DLL on a web page like that ?
>
> >> I guess the DLL has all the code pre-compiled and outputs
> >> XML or HTML code to build the page up.
>
> >> Thanks for any info
>
> >> Mike.

It is called ISAPI.

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

-Le Chaud Lapin-

Re: using a DLL in address link

am 05.07.2007 08:19:48 von David Wang

Can you explain why you think that using a DLL is better?
- Why would DLL be better than an EXE? They are both binary machine
code.
- A DLL cannot hide the connection strings - one can open the DLL
file, just like ASP file, and read the textual connection string.

Programming an ISAPI DLL will require you to write code in C/C++ (or
Delphi, but that's more of a fringe case) and learn a different and
more raw API than what you encounter within VB, ASP, or ASP.Net.

In my view, the difficulties of the ISAPI approach does not justify
your cost of development and your desired potential payback. There are
reasons to use ISAPI, but they are not what you want.

If you truly want to use a DLL in address link, it may be better off
to use ASP/ASP.Net, which give you similar functionality, flexibility,
and ease of use. You can actually map .dll to ASP and make it appear
to execute .dll in address link when it actually runs ASP code.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//






On Jul 4, 3:30 pm, "MadMIke42" wrote:
> Sorry,
>
> I have written ASP & HTML pages, and ive written Visual basic 6 programs,
> but I can see the advantage of using a DLL file to output
> web page code to the users browser.
> This would be better then trying to use a EXE file, and I can hide
> all the connections to the database (connection string) in the DLL
> instead of in the ASP code.
>
> So the question I guess should be:-
> How can I use a DLL as a page link ?
>
> Some basic examples would be great to get me started ?
>
> Sorry for the confusion.
>
> many thanks
> Mike.
>
> "David Wang" wrote in message
>
> news:1183585088.484954.167390@c77g2000hse.googlegroups.com.. .
>
>
>
> > If the web server is IIS, then .dll extension usually indicate ISAPI
> > that gets invoked by IIS to produce HTTP output. That output can be
> > XML, HTML, octet-stream, etc - whatever is valid for Content-Type.
>
> > I don't know what you mean "how to use a DLL on a web page". From a
> > usage perspective, it is no different than if the extension is .html.
> >>From the server-implementation perspective, it is no different
> > than .html or .asp.
>
> > Can you clarify your question.
>
> > //David
> >http://w3-4u.blogspot.com
> >http://blogs.msdn.com/David.Wang
> > //
>
> > On Jul 4, 1:50 pm, "MadMIke42" wrote:
> >> Hi,
> >> I've seen some web sites that use a link
> >> like:-http://www.somewebsite/somename.dll?someinformation
>
> >> do you know of any examples or how to use a DLL on a web page like that ?
>
> >> I guess the DLL has all the code pre-compiled and outputs
> >> XML or HTML code to build the page up.
>
> >> Thanks for any info
>
> >> Mike.- Hide quoted text -
>
> - Show quoted text -

Re: using a DLL in address link

am 05.07.2007 21:18:15 von Mike Walker

Many thanks for the advice.
Kind Regards
Mike.


"David Wang" wrote in message
news:1183616388.541151.299700@j4g2000prf.googlegroups.com...
> Can you explain why you think that using a DLL is better?
> - Why would DLL be better than an EXE? They are both binary machine
> code.
> - A DLL cannot hide the connection strings - one can open the DLL
> file, just like ASP file, and read the textual connection string.
>
> Programming an ISAPI DLL will require you to write code in C/C++ (or
> Delphi, but that's more of a fringe case) and learn a different and
> more raw API than what you encounter within VB, ASP, or ASP.Net.
>
> In my view, the difficulties of the ISAPI approach does not justify
> your cost of development and your desired potential payback. There are
> reasons to use ISAPI, but they are not what you want.
>
> If you truly want to use a DLL in address link, it may be better off
> to use ASP/ASP.Net, which give you similar functionality, flexibility,
> and ease of use. You can actually map .dll to ASP and make it appear
> to execute .dll in address link when it actually runs ASP code.
>
>
> //David
> http://w3-4u.blogspot.com
> http://blogs.msdn.com/David.Wang
> //
>
>
>
>
>
>
> On Jul 4, 3:30 pm, "MadMIke42" wrote:
>> Sorry,
>>
>> I have written ASP & HTML pages, and ive written Visual basic 6 programs,
>> but I can see the advantage of using a DLL file to output
>> web page code to the users browser.
>> This would be better then trying to use a EXE file, and I can hide
>> all the connections to the database (connection string) in the DLL
>> instead of in the ASP code.
>>
>> So the question I guess should be:-
>> How can I use a DLL as a page link ?
>>
>> Some basic examples would be great to get me started ?
>>
>> Sorry for the confusion.
>>
>> many thanks
>> Mike.
>>
>> "David Wang" wrote in message
>>
>> news:1183585088.484954.167390@c77g2000hse.googlegroups.com.. .
>>
>>
>>
>> > If the web server is IIS, then .dll extension usually indicate ISAPI
>> > that gets invoked by IIS to produce HTTP output. That output can be
>> > XML, HTML, octet-stream, etc - whatever is valid for Content-Type.
>>
>> > I don't know what you mean "how to use a DLL on a web page". From a
>> > usage perspective, it is no different than if the extension is .html.
>> >>From the server-implementation perspective, it is no different
>> > than .html or .asp.
>>
>> > Can you clarify your question.
>>
>> > //David
>> >http://w3-4u.blogspot.com
>> >http://blogs.msdn.com/David.Wang
>> > //
>>
>> > On Jul 4, 1:50 pm, "MadMIke42" wrote:
>> >> Hi,
>> >> I've seen some web sites that use a link
>> >> like:-http://www.somewebsite/somename.dll?someinformation
>>
>> >> do you know of any examples or how to use a DLL on a web page like
>> >> that ?
>>
>> >> I guess the DLL has all the code pre-compiled and outputs
>> >> XML or HTML code to build the page up.
>>
>> >> Thanks for any info
>>
>> >> Mike.- Hide quoted text -
>>
>> - Show quoted text -
>
>