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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,3ed4c57426e16006 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Path: g2news1.google.com!news2.google.com!news4.google.com!feeder.news-service.com!feeder.news-service.com!94.75.214.39.MISMATCH!aioe.org!.POSTED!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: GtkAda using Glade Date: Fri, 20 May 2011 02:49:09 +0200 Organization: Ada @ Home Message-ID: References: <15ff2ec1-5a2b-4d24-8aab-cf7985b6374f@t19g2000yql.googlegroups.com> <2e496d2c-f12f-4961-981b-2162fdf1ce1e@k3g2000prl.googlegroups.com> <1vakqa4gwjxry$.9j72428ewqp0.dlg@40tude.net> <1npn5zwqehpsz.1lqame09nycx1.dlg@40tude.net> <96992149-4b0b-4de3-b928-545baa8da5ad@y12g2000yqh.googlegroups.com> NNTP-Posting-Host: z1Vr7EuVE/z2MWC09REwVA.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org User-Agent: Opera Mail/11.01 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 Xref: g2news1.google.com comp.lang.ada:19328 Date: 2011-05-20T02:49:09+02:00 List-Id: Le Thu, 19 May 2011 09:36:07 +0200, Dmitry A. Kazakov = a =C3=A9crit: > That's the point. If the GUI logic could be separated from the program= > logic, which is a Holy Grail, but absolutely unrealistic, then it woul= d = > be > no matter in which language the stuff was generated, Ada or C. You wou= ld > not never look at it. > > Unfortunately the reality is that the GUI and the functional part of t= he > program are tightly interwoven. Real separation could be achieved if there was a standard protocol for t= he = communication between both. Because, to achieve a real separation, there= = is the need for the program to communicate with the UI as if it was an = external entity, not an entity which is part of its own (as it is suppos= ed = to be in this thread). In that matter, the paradigm of the web page (as already noticed in = another thread) could help to learn to do things this way. -- = Si les chats miaulent et font autant de vocalises bizarres, c=E2=80=99es= t pas pour = les chiens. =E2=80=9C c++; /* this makes c bigger but returns the old value */ =E2=80= =9D [Anonymous]