TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
"Team Ada: Ada Advocacy Issues (83 & 95)" <[log in to unmask]>
John Beidler <[log in to unmask]>
Sun, 6 Jun 1999 22:13:55 -0700
Scott and Laura Moody <[log in to unmask]>
Scott and Laura Moody <[log in to unmask]>
White River Ranch
text/plain; charset=us-ascii
text/plain (73 lines)
Sorry, I wasn't specific enough in my requirement. I know
all about cgi, and have done tons of it also (ada or otherwise).

Instead I need the apache extension capability where a
compiled language is pre-loaded into apache and available
to perl programs, and "embedded perl" web programs
via a special interface language (that must generate a
perl API of some sort).  Actually this isn't specific to
apache, but a module for perl. Apache just lets it be
pre-loaded in the httpd's that are spawned at runtime.
- this is available in something from the perlmod family of tools.

This is MUCH faster than CGI programs since the process
is already running (they reuse httpd processes).


John Beidler wrote:
> Scott and Laura Moody wrote:
> > Looking at killer places to use Ada, has
> > anyone plugged Ada (like gnat Ada) into the
> > Apache web server infrastructure? I am
> > looking into this as the traditional "perl"
> > applications start to get too big (say 100 lines:-).
> You can do CGI in  any language, not just Perl.  TO do CGI you really
> need to have the following capabilities:
> 1.  Read Environmental variables
> 2.  Call system resources
> 3.  Manipulate files and directories
> 4.  String processing (regular expression capability)
> 5.  Have a hash/associative array capability to simplify processing.
> All this can be done in any language, including Ada.  Check out the Ada
> CGI package at
> Combining that with the GNAT/spitbol stuff should do it.
> > I know this is possible from C/C++ modules, so it
> > should work from Ada also.
> >
> > This would be a very powerful capability. ASIS
> > could probably be used to generate the
> > perl module interfaces that Apache seems to
> > need to describe the coupling from the embedded
> > language and the applications (something like IDL).
> >
> > Any previous experience in this would be appreciated.
> >
> > I am actually looking at this for some XML
> > parsing and tree traversal capabilities - written
> > in Ada, of course.
> Jack Beidler
> --
> John (Jack) Beidler, Ph.D., Professor of Computer Science
> Computing Sciences Department           Mailto:[log in to unmask]
> University of Scranton   
> Scranton, PA 18510                 (570)941-7774  FAX(570)941-4250

Scott and Laura Moody
Buckley Washington USA
[log in to unmask]