comp.lang.ada
 help / color / mirror / Atom feed
From: "David Botton" <David@Botton.com>
Subject: Re: XML-HTML Forms local execution was RE: GNAT, LINUX, KDE
Date: 1999/11/27
Date: 1999-11-28T02:45:42+00:00	[thread overview]
Message-ID: <81q50m$1rsg$1@news.gate.net> (raw)
In-Reply-To: NBBBJNOMKDIAJALCEFIJKEMIDFAA.rleif@rleif.com

The reason no one has given you a working example, is no one has taken the
time to implement a small web server you can imbed in your application.
There were posts of sample C++ and Java server code, I do not have the time
to do it, but if you need this for a project, you should take the little
time (relative term) needed to reimplement one of these servers in Ada and
embed it in your code. You would then have a browser on the local machine
access the running Ada application use a URL along the lines of
http://localhost:YOURPORT  where you provide the port. It would be possible
to have the Ada application start up a browser and point the browser back to
itself using the browsers command line options.

There are a few other methods, but this is the most portable (cross OS and
cross browser) and simple. Alternatives are to using the COM binding to IE's
DHTML model (don't know why, but partly broken for Ada), write a plug-in,
use Java script to submit the form to a Ada applette, create the Ada code as
a COM object (using the COM generator from AdaPower) and then access the COM
object from JavaScript..... There are a number of other possible options,
but they just keep getting more complicated.

It would be great if some one would take this up as a small project to put
out as Open Source, but I am certain that if your project needs it there are
consultants around willing to do it for you. Take a look at the Ada Resource
Treasury (http://www.adapower.com/411) for some possible consultants and
consultant firms that may be able to assist you.

BTW the URL for the latest versions of the CGI library is at
http://www.dwheeler.com/adacgi and their is a Mail List available for it by
sending subscribe to AdaCGI-Request@AdaPower.com

David Botton


Robert C. Leif, Ph.D. <rleif@rleif.com>
> Unfortunately, none of these were
> completely working examples.







  parent reply	other threads:[~1999-11-27  0:00 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-22  0:00 GNAT, LINUX, KDE Robert C. Leif, Ph.D.
1999-11-23  0:00 ` Preben Randhol
1999-11-23  0:00   ` Robert C. Leif, Ph.D.
1999-11-24  0:00     ` Preben Randhol
1999-11-24  0:00       ` Robert C. Leif, Ph.D.
1999-11-25  0:00         ` Preben Randhol
1999-11-23  0:00   ` Vladimir Olensky
1999-11-23  0:00     ` David Botton
1999-11-24  0:00       ` Aidan Skinner
1999-11-24  0:00       ` tmoran
1999-11-24  0:00         ` Geoff Bull
1999-11-24  0:00           ` Robert C. Leif, Ph.D.
1999-11-25  0:00             ` Geoff Bull
1999-11-27  0:00               ` XML-HTML Forms local execution was " Robert C. Leif, Ph.D.
     [not found]                 ` <01bf38e6$27820850$022a6282@dieppe>
1999-11-27  0:00                   ` Simon Wright
1999-11-27  0:00                 ` David Botton [this message]
1999-11-28  0:00                 ` Vladimir Olensky
1999-11-28  0:00                 ` tmoran
1999-11-29  0:00                 ` Alfred Hilscher
1999-11-25  0:00             ` David Botton
1999-11-26  0:00               ` Vladimir Olensky
1999-11-26  0:00                 ` Tarjei Jensen
1999-11-26  0:00                   ` Vladimir Olensky
1999-11-28  0:00                   ` tmoran
1999-11-28  0:00                   ` Aidan Skinner
1999-11-29  0:00                     ` Tarjei Jensen
1999-12-01  0:00                       ` Aidan Skinner
1999-12-08  0:00                       ` Jeffrey L Straszheim
1999-12-10  0:00                         ` Tarjei Jensen
1999-11-25  0:00           ` tmoran
1999-11-29  0:00       ` GUI, HTTP and LynxOS ( Was:Re: GNAT, LINUX, KDE) Vladimir Olensky
1999-11-29  0:00         ` Ted Dennison
1999-11-29  0:00           ` Ed Falis
1999-12-07  0:00             ` Mario Amado Alves
1999-12-08  0:00               ` GUI, HTTP and LynxOS Robert C. Leif, Ph.D.
1999-12-09  0:00                 ` Mario Amado Alves
1999-12-09  0:00                   ` tmoran
1999-12-11  0:00                   ` David Botton
1999-11-29  0:00       ` GUI, XML,HTTP and ORBlets (Was Re: GNAT, LINUX, KDE) Vladimir Olensky
1999-11-23  0:00     ` GNAT, LINUX, KDE Preben Randhol
1999-11-24  0:00       ` Vladimir Olensky
1999-11-24  0:00         ` Preben Randhol
1999-11-23  0:00 ` David Botton
1999-11-24  0:00 ` Aidan Skinner
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox