From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2a6c05e4f226f611 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-01-20 22:23:43 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.stueberl.de!proxad.net!usenet-fr.net!enst.fr!melchior!cuivre.fr.eu.org!melchior.frmug.org!not-for-mail From: "Robert C. Leif" Newsgroups: comp.lang.ada Subject: Re: GUI Date: Tue, 20 Jan 2004 22:22:03 -0800 Organization: Newport Instruments Message-ID: Reply-To: rleif@rleif.com NNTP-Posting-Host: lovelace.ada-france.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: melchior.cuivre.fr.eu.org 1074666138 73850 80.67.180.195 (21 Jan 2004 06:22:18 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Wed, 21 Jan 2004 06:22:18 +0000 (UTC) To: "Comp. Lang. Ada" Return-Path: X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcPf5nN/iM7WC4sHTTCSPLoWEdOrYA== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd-new-20030616-p5 (Debian) at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.3 Precedence: list List-Id: Gateway to the comp.lang.ada Usenet newsgroup List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: archiver1.google.com comp.lang.ada:4591 Date: 2004-01-20T22:22:03-08:00 I am not sure if I am the he referred to below. However, I wish to be more explicit and extend what Tom Moran wrote. Because CLAW is a thick binding, many if not most of the package specifications are operating system independent or are capable of being made operating system independent. The Windows resource files could be replaced with XML files. I would not be surprised if Microsoft is presently doing this. In many cases, an implementation of Scalable Vector Graphics, SVG, could be called in the package bodies; and obviously SVG or any of the XML languages that have methods could be implemented in Ada. This could be one way to host CLAW on LINUX or other operating systems. Since XML is NOT a competitor of Ada, there is a good business case for being complimentary and synergistic. In most cases, one can provide identical data-types for XML schema and Ada. Partnering with XML makes sense. Helping a competitor language, such as Java, has the eventual deleterious effect of detracting from Ada's image as the most reliable solution for significant software projects. You do not see one automobile company advertising that they use parts from a competitor. As for a GUI with an Ada look and feel, XML has range checking, attributes, and single inheritance. XForms already provides range checking by the use of XML schema and can provide initialized values. XForms even does simple math. If XForms had an interface to Ada, it could run many embedded systems including the CellFuge(TM, patent pending) that I am trying to build. Bob Leif ---------------------------------------------- Message: 1 Date: Tue, 20 Jan 2004 13:42:52 -0600 From: "Randy Brukardt" Subject: Re: GUI was Re: why Ada is so unpopular ? To: comp.lang.ada@ada-france.org Message-ID: <100r17jsabt5a3a@corp.supernews.com> "Preben Randhol" wrote in message news:slrnc0q2fu.7as.randhol+valid_for_reply_from_news@k-083152.nt.ntnu.no... > On 2004-01-20, Georg Bauhaus wrote: > > Preben Randhol wrote: > >:> that available from Adobe. This could then serve as a foundation > >to host > >:> XForms. > >: > >: Why would we want to use a library that *only* works on one OS. I > >: thought the point was a *portable* library. > > > > XForms is intended to be not only "portable" but also abstract. > > I wasn't talking about xforms. I was commenting on that one could use > CLAWS I think he was talking about the abstract design of CLAW, not the windows-specific implementation. Something like it, with the Windows-specific stuff filed off, would make a very decent basis for a higher-level, portable GUI library. We've looked at doing that for the sockets portion, and it isn't too hard. It would be harder, of course, to do it for the rest of it, but by no means impossible. Randy. ------------------------------ Message: 2 Date: Tue, 20 Jan 2004 20:12:46 GMT From: tmoran@acm.org Subject: Re: GUI was Re: why Ada is so unpopular ? To: comp.lang.ada@ada-france.org Message-ID: <2ZfPb.89638$Rc4.463959@attbi_s54> >Something like it, with the Windows-specific stuff filed off, would >make a very decent basis for a higher-level, portable GUI library. >We've looked at doing that for the sockets portion, and it isn't too >hard. It would be harder, of course, to do it for the rest of it, but by no means impossible. www.adaworld.com Ada Projects Internet Protocols has a sockets package like Claw's but with no Claw dependence and two Windows-specific calls - WSAStartup and WSACleanup for initial startup and final shutdown. Claw.Registry, OTOH, would be bizarre to try to port to an OS with nothing similar to Windows Registry.