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]>
"Robert C. Leif, Ph.D." <[log in to unmask]>
Mon, 12 Feb 2001 21:02:45 +0100
Pascal Obry <[log in to unmask]>
Pascal Obry <[log in to unmask]>
text/plain; charset=us-ascii
text/plain (57 lines)
Robert C. Leif, Ph.D. writes:
 > From: Bob Leif
 > To: Pascal Obry et al.
 > What do I do with an HTML, XHTML, or preferably, XML web page to tell it to
 > use Ada as its scripting language? This could be Ada J codes or exe. Also

Again, I don't think that Ada scripting language is a good idea ! Ok let me
explain :) With current scripting language like ASP, PHP you embed the code
into the Web page and this is (from my point of view) as bad as putting the
Web page into a CGI program !

Ok, now we need some scripting for -small- interaction with the Web page. Use
Javascript, I don't see the point of implementing another scripting
language. Javascript is not good, but well it exist and is integrated in any

 > how does one make an Ada J code compiler call an Ada exe? Where can I find

I don't understand the question !

 > an example of this? In any case, an Ada Virtual Machine has to be integrated
 > with the browser.

Right, and this is not likely to happen...

How do I develop Web servers today:

I use a template parser (see my contribution page) to fill the data into an
HTML template page. In the HTML-template page there some special tags that are
replaced by the template parser. This has proved to be fine. I have some
guys working on the design of the site and some others who wrote the programs
(access to the database, compute the values...). The clean separation between
design and code make it easy to do maintenance of the code (you can't break
the design) and to change the design (you can't break the code) and this is
very often done by differents peoples...

Now, what could be the right solution tomorow:

When XML/XSL and such are ready (right now support by browsers is very poor) it
would be nice to have the data put into an XML file, the transformation into
the XSL part and use a piece of code to merge both and create an HTML page and
use AWS (shameless plug :) to avoid the CGI overhead ! And of course
Javascript as it is the foundation of the dynamic part of all Web technology.

Just my 2 cents,


--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--| "The best way to travel is by means of imagination"