From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id BAA26143; Thu, 22 Nov 2001 01:38:11 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id BAA26895 for ; Thu, 22 Nov 2001 01:38:10 +0100 (MET) Received: from ontil.ihep.su (ontil.ihep.su [194.190.161.63]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id fAM0c9n06939 for ; Thu, 22 Nov 2001 01:38:10 +0100 (MET) Received: from localhost (vsl@localhost) by ontil.ihep.su (8.11.0/8.11.0) with ESMTP id fAM1g5G09842; Thu, 22 Nov 2001 04:42:06 +0300 Date: Thu, 22 Nov 2001 04:42:05 +0300 (MSK) From: Vitaly Lugovsky To: Christophe Raffalli cc: Subject: Re: [Caml-list] Kylix and OCaml In-Reply-To: <3BFA19AD.D82433C3@univ-savoie.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=koi8-r Content-Transfer-Encoding: 8BIT Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Tue, 20 Nov 2001, Christophe Raffalli wrote: > Vitaly Lugovsky a écrit : > > > A friend of mine showed me Kylix (see Borland's home page: > > > http://www.borland.com)... It looks great to create > > > user interfaces. > > > > It is an illusion. Don't believe your eyes. Tools like Delphi/Kylix/... > > will not help you at all - it's much faster to write an UI in Tk by hands > > then using such a WYSIWIG. > > I will not comment for Kylix ... But I was a user of the not very unfamous > SUIT. And I can tell you are wrong. SUIT was design with two ideas: > - use real number for sizes to allow scaling (that was not really a good idea) In this case you sould have a WYSIWYG tool. But containers approach is much better: you don't need to know anything about sizes - just do a widgets placing - pack them in lines, tables, lists, may be using a kinda boxes and glue approach like in TeX... > > Why do you want such a havy and thick GUI layer? GUI is for scripts! > > Use Wish, it's portable. Much more portable, then Bugland tools. > > Kylix is in fact quite responsive and light (working on powerless PCs). Hm... 500MHz Pentium-II is powerless? Be realistic... > If you mean heavy because the professionnal edition has numerous widget (like > every thing to write a database client or a web browser in a couple of > minutes). In fact I am quite amased with the speed for a package of 120Mo when > installed for the pro version (I think that the 120Mo are mainly the widgets > and examples). It shows that it is well implemented (other software like > star-office let you see that they are big !) And you really want to produce a native compiled n-megabytes monster for any small dialog? Why? Nothing can be lighter then scripts. > But then I agree that they may be other solutions using a language to describe > the interface. And this solution is much better and elegant. ;) > But what are the solutions (language or WYSIWIG) immediately available for > OCaml ? Tcl/Tk. Write your GUI in Tcl, and connect it to your OCaml application. Application logic really MUST be separated from GUI, even if you only calculates "2+2". > Are they complete (how many kind of widgets supported ?) Tk is a very old and widespread toolkit, so, I think, you will find anything you want there. ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr