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 autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.66.171.231 with SMTP id ax7mr656394pac.29.1412264596105; Thu, 02 Oct 2014 08:43:16 -0700 (PDT) X-Received: by 10.140.102.110 with SMTP id v101mr109582qge.6.1412264596047; Thu, 02 Oct 2014 08:43:16 -0700 (PDT) Path: border2.nntp.dca1.giganews.com!nntp.giganews.com!news.glorb.com!uq10no2648632igb.0!news-out.google.com!i10ni61qaf.0!nntp.google.com!dc16no340350qab.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 2 Oct 2014 08:43:15 -0700 (PDT) In-Reply-To: <298d6277-e6f7-49c7-80d9-748565f87997@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=50.250.123.221; posting-account=yiWntAoAAAC1KqC_shmxJYv07B9l6LNU NNTP-Posting-Host: 50.250.123.221 References: <993f47a9-a666-43b2-a5d8-c84fe0b22142@googlegroups.com> <298d6277-e6f7-49c7-80d9-748565f87997@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <217cd7f4-58ac-43c5-965a-64d9252b0474@googlegroups.com> Subject: Re: Gnoga - The GNU Omnificent GUI for Ada From: David Botton Injection-Date: Thu, 02 Oct 2014 15:43:16 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: number.nntp.giganews.com comp.lang.ada:189305 Date: 2014-10-02T08:43:15-07:00 List-Id: > So in my UI the devices could potentially be dragged and dropped between rooms. I am sort of struggling in my imagination how I actually track which devices though are dragged and dropped to each room if you see what I mean, after studying your example. Don't think of Drag_Text as just text. Use it to pass between objects an index to data in a DB or data structures, etc. > Another problem I have is that the App_Data type is generated at compile time when I want really to be able to populate this or even possible update it during the use of the web app. I don't think any tutorials talk about it yet, but any control created on the heap and marked as dynamic is cleaned up when a view finalizes, so its not per se needed to use the App_Data. There are also other ways of working such as the AdaBlog in /demo that uses an MVC static page model and again no need for App_Data. > Forgive the pun, but do you have any pointers here :) Actually pointers is your answer :) David Botton