TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

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

Print Reply
"Robert C. Leif, Ph.D." <[log in to unmask]>
Reply To:
Robert C. Leif, Ph.D.
Mon, 12 Feb 2001 15:48:07 -0800
text/plain (97 lines)
From: Bob Leif
To: Pascal Obry et al.

Firstly concerning JavaScript, I believe that Ada on a J code virtual
machine can provide the same functionality. Why should I have to learn
another language? I can see the necessity to learn XML; however, many of us,
myself included, are NOT full-time programmers. Ada was created to minimize
the number of languages one has to learn.

[Bob Leif] How does one make an Ada J code compiler call an Ada exe?
[Pascal Obry] I don't understand the question !

Internet devices are presently perceived as a large market. The GUI of these
devices should be based on web pages that could use Ada compiled to J code.
For reasons of efficiency, it would be very useful to have the Ada J code
capable of being interfaced to compiled Ada code. Another example, someone
in the Ada community decides to get rich and make a competitor to Microsoft
Office or Works. They create standard Ada executables that contain COM
objects etc. However, the application needs a scripting or macro language. I
prefer an Ada J code compiler to Visual BASIC. The scripting language will
need to call Ada executables.

-----Original Message-----
From: Team Ada: Ada Advocacy Issues (83 & 95)
[mailto:[log in to unmask]]On Behalf Of Pascal Obry
Sent: Monday, February 12, 2001 12:03 PM
To: [log in to unmask]
Subject: Re: AVM vs. JVM

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
 > 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.
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

I don't understand the question !

 > an example of this? In any case, an Ada Virtual Machine has to be
 > 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
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
(access to the database, compute the values...). The clean separation
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)
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
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

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"