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 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!nntp-feed.chiark.greenend.org.uk!ewrotcd!reality.xs3.de!news.jacob-sparre.dk!loke.jacob-sparre.dk!pnx.dk!.POSTED!not-for-mail From: Jacob Sparre Andersen Newsgroups: comp.lang.ada Subject: Web-UI for Ada applications (Was: Object Pascal vs Ada -- which is better for a hobbyist?) Date: Wed, 28 Aug 2013 11:35:36 +0200 Organization: Jacob Sparre Andersen Research & Innovation Message-ID: <87ioyq6tuf.fsf_-_@adaheads.sparre-andersen.dk> References: <20130827230816.535a440d@atmarama.noip.me> <20130828105441.7d5d5943@atmarama.noip.me> NNTP-Posting-Host: monowall.adaheads.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: loke.gir.dk 1377682536 9383 86.48.41.195 (28 Aug 2013 09:35:36 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Wed, 28 Aug 2013 09:35:36 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Cancel-Lock: sha1:My7t8Lz0oN/TnbCZ7UmEo/MdmJE= Xref: news.eternal-september.org comp.lang.ada:17007 Date: 2013-08-28T11:35:36+02:00 List-Id: Gour writes: > Believe that I've heard such proposal many times, something like > 'traditional GUIs are dead, browser is the future...' and I'd be very > happy if could imagine my app working like that. The problem with this is that you both add an extra "OS" layer (the browser) _and_ require GUI operations to be interpreted (to some extent) rather than executed as binary code. > Otoh, I'm aware the planned application consists of user enetering > some data, then performing different calculations (using 3rd party C > lib as well) and render that data graphically on the screen. > > After data is rendered, user should be able to easily change some > parameters to refine rendered data as well as do further calculations > along with some other simulation going in 'real' time. > > Maybe XEphem (http://www.clearskyinstitute.com/xephem/) is good-enough > approximation of the desired app. > > Do you have any hint how to do it in browser? Use Dart (or some other event-oriented language) for the processing in the browser. Make the calculation (and rendering?) server available through HTTP, pushing results over a websocket. This way the users can push tasks from the UI to the server, and the UI will receive the results (activating an event handler) once they are available for display. We are developing an application with a structure similar to this at AdaHeads. Greetings, Jacob -- Photo of the day (RSS feed): http://billeder.sparre-andersen.dk/dagens/feed.rss2