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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no 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,ASCII Path: g2news2.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: GtkAda using Glade Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH 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> Date: Fri, 20 May 2011 09:36:16 +0200 Message-ID: <1vk0crhnfxnm8.e6kbjkwg3ok7.dlg@40tude.net> NNTP-Posting-Date: 20 May 2011 09:36:17 CEST NNTP-Posting-Host: 7bb6e94f.newsspool3.arcor-online.net X-Trace: DXC=H2Ze?7C=XdD02Sh8E_NfIAMcF=Q^Z^V3H4Fo<]lROoRA8kF On Fri, 20 May 2011 02:49:09 +0200, Yannick Duch�ne (Hibou57) wrote: > Le Thu, 19 May 2011 09:36:07 +0200, Dmitry A. Kazakov > a �crit: >> 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 would be >> no matter in which language the stuff was generated, Ada or C. You would >> not never look at it. >> >> Unfortunately the reality is that the GUI and the functional part of the >> program are tightly interwoven. > Real separation could be achieved if there was a standard protocol for the > 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 supposed > to be in this thread). No, take X11 as a counter example. The problem is not in the physical decoupling, it is in the logical one, as reflected in the program structure. > In that matter, the paradigm of the web page (as already noticed in > another thread) could help to learn to do things this way. Same as with X11. You have some rendering "hard-/software" VERY uncomfortable to use. That necessarily leads to creation of a layer to ease usage of this mess. After that you are back to the square one (things are coupled again). Gtk is just such a layer. The whole "progress" of GUI software was about piling such protocols upon layers and new protocols on them. The result is applications of 1GB size doing same things 1MB applications did 10 years ago and 100KB ones did 20 years ago. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de