comp.lang.ada
 help / color / mirror / Atom feed
From: David Botton <david@botton.com>
Subject: Re: GUI programming --a hopeful newbie =)
Date: Thu, 18 Nov 2004 09:19:24 -0500
Date: 2004-11-18T09:19:24-05:00	[thread overview]
Message-ID: <2004111809192416807%david@bottoncom> (raw)
In-Reply-To: Xns95A58BC339EE0BerndSpechgmxcom@151.189.20.10

> in this case I would suggest, that you first start with console 
> programming until you get some experience with programming in general 
> and the Ada language in special.

I disagree. There is no reason that a first class in Ada should not be:

with GWindows.Message_Boxes; use GWindows.Message_Boxes;

procedure Hello_World is
begin
	Message_Box ("My_App", "Hello World!");
end Hello_world;

and a Second:

I am planning a series of on-line videos to teach GNAVI / Ada 
programming and intend on doing so.

Unless you have a captured audience being forced to learn Ada, its time 
to start thinking out of the box about how to influence people to want 
to learn Ada!


> 
> I think it would be too much at a time if you want learn all at once: 
> programming, Ada, *and* a GUI system. Maybe you will become frustrated 
> soon.

Certainly not if you are using higher level frameworks like GWindows, 
CLAW or JEWL (and to some degree GtkAda).

I find trying to work with Ada.Text_IO more complex to use or teach 
than GUI programming with any of the above ;-)

> 
> Switch to GUI development if you've got some experience.

Start with it. No reason to live in a DOS / Unix prompt world in 2004.

> If you want concentrate on Windows *and* Ada then look at GWindows.

Look at it any ways :-) http://www.gnavi.org/gwindows


> If you think about writing (Windows-)GUI not only with Ada but maybe 
> with Pascal or C, too, then look at the pure Win32-Api which is used 
> very similar with these other languages.

Look at learning GWindows and understanding the source. If you are 
going to program in C, you will want to use the techniques there. If 
you are going to use Pascal, than forget Delphi and get with GNAVI.

> If you think of (maybe one day in the far future) writing for Windows 
> *and* Linux, then have a look at GTK which allows you to write portable 
> GUIs.

GWindows will be on Linux in time, but GtkAda is a good solution if 
your needs are now.

David Botton
GNAVI - The Open Source Visual RAD
http://www.gnavi.org




  reply	other threads:[~2004-11-18 14:19 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-16 19:25 GUI programming --a hopeful newbie =) munnoch
2004-11-16 19:39 ` stephane richard
2004-11-16 19:58   ` tmoran
2004-11-17  0:11 ` Jeffrey Carter
2004-11-17  0:13   ` stephane richard
2004-11-18 13:55   ` David Botton
2004-11-17  0:36 ` Jerry Petrey
2004-11-17 17:49 ` Bernd Specht
2004-11-17 19:59   ` munnoch
2004-11-18 12:44     ` Bernd Specht
2004-11-18 14:19       ` David Botton [this message]
2004-11-18 14:00   ` David Botton
2004-11-18 13:50 ` David Botton
replies disabled

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