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=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.42.188.83 with SMTP id cz19mr1169339icb.32.1412270761349; Thu, 02 Oct 2014 10:26:01 -0700 (PDT) X-Received: by 10.140.109.203 with SMTP id l69mr767qgf.27.1412270761143; Thu, 02 Oct 2014 10:26:01 -0700 (PDT) Path: border2.nntp.dca1.giganews.com!nntp.giganews.com!news.glorb.com!h18no776732igc.0!news-out.google.com!i10ni60qaf.0!nntp.google.com!s7no228944qap.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 2 Oct 2014 10:26:01 -0700 (PDT) In-Reply-To: <217cd7f4-58ac-43c5-965a-64d9252b0474@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=86.160.251.242; posting-account=28F2IwkAAACL1Z5nRC-dE7zuvWdbWC7P NNTP-Posting-Host: 86.160.251.242 References: <993f47a9-a666-43b2-a5d8-c84fe0b22142@googlegroups.com> <298d6277-e6f7-49c7-80d9-748565f87997@googlegroups.com> <217cd7f4-58ac-43c5-965a-64d9252b0474@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Gnoga - The GNU Omnificent GUI for Ada From: tonyg Injection-Date: Thu, 02 Oct 2014 17:26:01 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: number.nntp.giganews.com comp.lang.ada:189306 Date: 2014-10-02T10:26:01-07:00 List-Id: On Thursday, 2 October 2014 16:43:17 UTC+1, David Botton wrote: > > So in my UI the devices could potentially be dragged and dropped betwee= n rooms. I am sort of struggling in my imagination how I actually track whi= ch devices though are dragged and dropped to each room if you see what I me= an, after studying your example. >=20 >=20 >=20 > 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. >=20 >=20 >=20 > > Another problem I have is that the App_Data type is generated at compil= e time when I want really to be able to populate this or even possible upda= te it during the use of the web app. >=20 >=20 >=20 > 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. >=20 >=20 >=20 > There are also other ways of working such as the AdaBlog in /demo that us= es an MVC static page model and again no need for App_Data. >=20 >=20 >=20 > > Forgive the pun, but do you have any pointers here :) >=20 >=20 >=20 > Actually pointers is your answer :) >=20 >=20 >=20 > David Botton I'm looking at adablog now. I discovered some new stuff here. I never knew = you could initialise a package like adablog.controller.=20 If I wanted to change the adablog code so I could edit an entry, I suppose = I would have attached a link to each blog post, but how would that value id= entifying the link pass its information ?