From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 91A8CBDE7 for ; Tue, 30 Aug 2005 19:13:56 +0200 (CEST) Received: from web30514.mail.mud.yahoo.com (web30514.mail.mud.yahoo.com [68.142.201.242]) by nez-perce.inria.fr (8.13.0/8.13.0) with SMTP id j7UHDtO7023519 for ; Tue, 30 Aug 2005 19:13:56 +0200 Received: (qmail 22220 invoked by uid 60001); 30 Aug 2005 17:13:51 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=2uaLBsVKzGF1papPF5gnB34ix1MDaj+yzBKSkKdbilw2cOgAC/hNYe0VTAYgveSkZIGaixywRK2wuLKc5CoBkWPRI2UmYqANttty/EVZEC9xiAjGow/2WqyR++1n8/dU2xArNQTeUvcAVyFZP5+wJODmxrVJRXX+293NTWLWYqE= ; Message-ID: <20050830171351.22217.qmail@web30514.mail.mud.yahoo.com> Received: from [141.213.12.136] by web30514.mail.mud.yahoo.com via HTTP; Tue, 30 Aug 2005 10:13:51 PDT Date: Tue, 30 Aug 2005 10:13:51 -0700 (PDT) From: David Thomas Subject: Re: [Caml-list] Re: GUI for OCaml To: caml-list@yquem.inria.fr In-Reply-To: <3d13dcfc05083003286c4436f4@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Miltered: at nez-perce with ID 431493D3.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 ocaml:01 widget:01 guis:01 defaults:01 orthogonal:01 gui's:01 haskell:01 guis:01 wrote:01 compile:01 tex:01 btw:02 functional:02 functional:02 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: ** X-Spam-Status: No, score=2.5 required=5.0 tests=DNS_FROM_RFC_ABUSE, FORGED_YAHOO_RCVD autolearn=disabled version=3.0.3 --- David MENTRE wrote: > > I would prefer a GUI programming language (similar > > to TeX for word processing). This might be easier > > to develop, can either be static (the widget build > > at compile time) or dynamic, and most of all, it is > > easier to modify an existing GUI. > > I'm not fond of yet another Domain Specific Language > (DSL), except if it brings clear advantages (of which > I'm not yet convinced). I quite like the notion of a DSL for GUIs, presuming that it (1) makes simple things simple, with reasonable defaults for each platform and few if any unpleasant surprises; (2) keeps complicated things possible - we shouldn't be sacrificing flexibility; and (3) is reasonably orthogonal - if the code looks similar, the layout produced should look similar, with only those changes in the gui actually reflected by changes in the code. One additional advantage this has is that it allows GUI work to be done by the people who are good at designing GUI's, rather than those that know the particular system being worked with, without producing a lot of icky code. > BTW, some research has been done one using functional > style to program GUI (in Haskell??). We should at > least have a look on it. That's a good point. I've spent way too long looking at OO examples of GUIs. What does a functional GUI framework look like? ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs