Path: csiph.com!feeder.erje.net!2.eu.feeder.erje.net!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail From: Chris Angelico Newsgroups: comp.lang.python Subject: Re: Everything good about Python except GUI IDE? Date: Tue, 1 Mar 2016 05:31:22 +1100 Lines: 48 Message-ID: References: <64a6599c-fae1-469d-bcee-875165b3cc7d@googlegroups.com> <56d294f8$0$1604$c3e8da3$5496439d@news.astraweb.com> <234a398e-1b0f-467b-a8cb-d7ca748f8062@googlegroups.com> <84922f24-3e00-4a23-b26d-5e6c0d8e7e04@googlegroups.com> <87y4a5c58i.fsf@elektro.pacujo.net> <87twksdg9c.fsf@elektro.pacujo.net> <87d1rgca58.fsf@elektro.pacujo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de TGl/h1ksXM9F7Susbo8dOg17fWsddAEAFDt1NtIdVBWA== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.008 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'subject:Python': 0.05; 'model,': 0.05; 'javascript,': 0.07; 'cc:addr:python-list': 0.09; 'logic': 0.09; 'spawn': 0.09; '2016': 0.16; 'call?': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'json,': 0.16; 'losing': 0.16; 'reasonable.': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'recipe': 0.16; 'stub': 0.16; 'subject:GUI': 0.16; 'whatsoever': 0.16; 'wrote:': 0.16; 'else,': 0.18; 'load': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'browsers': 0.22; 'am,': 0.23; 'seems': 0.23; 'tables': 0.23; 'implemented': 0.24; 'header:In-Reply-To:1': 0.24; 'script': 0.25; 'not.': 0.27; 'wonder': 0.27; 'least': 0.27; 'message- id:@mail.gmail.com': 0.27; 'sequence': 0.27; 'page.': 0.28; 'cgi': 0.29; 'dom': 0.29; 'era': 0.29; 'giant': 0.29; 'loads': 0.29; 'screen.': 0.29; 'that.': 0.30; 'seconds': 0.31; 'probably': 0.31; '"the': 0.32; 'screen': 0.32; 'control,': 0.33; 'though.': 0.33; 'tue,': 0.34; 'add': 0.34; 'that,': 0.34; 'received:google.com': 0.35; 'could': 0.35; 'returning': 0.35; 'something': 0.35; 'but': 0.36; 'too': 0.36; 'should': 0.36; 'received:209.85': 0.36; 'actions': 0.36; 'subject:?': 0.36; 'subject:: ': 0.37; 'two': 0.37; 'received:209.85.213': 0.37; 'received:209': 0.38; 'button': 0.38; 'end': 0.39; 'means': 0.39; 'why': 0.39; 'goes': 0.39; 'rather': 0.39; 'where': 0.40; 'some': 0.40; 'ever': 0.60; 'entire': 0.61; 'back': 0.62; 'more': 0.63; 'mar': 0.65; 'therefore': 0.67; 'internet': 0.70; 'click': 0.76; 'miss': 0.77; 'battle.': 0.84; 'chrisa': 0.84; 'subject:good': 0.84; 'to:none': 0.91; 'died': 0.91; 'edwards': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc; bh=cG6NBoj2vppTquwjQ/WezPQgjsRsjWEHhj+Qj64zdyw=; b=F3UZylCxhCPRlHVMlNXPMlwWOgWNujVlShkA7WI1NYyPBPSryCHkE57HHK7NbGdgwR VPsR5KT4PRGPK0RxQsUHI/6QOg1RNwO6Qp9rzopgNiTyo73/XzrhNoh6rqE0SsagOj5g zZbzhg6d6VwIoYbCpzVImUl9nrijxDim2k3vyspCyY1lSXCDXcnl/mCetQQQFqbTHKMY 2/PBxJDhUbD1QAaqq3Z/Nfrx8MaykjXZQdsrU8pFGUTKgahpiP7mDHSerLJ1eNd9qTf5 DYssxH/ZpDHeck0jRxvWozd5qPRECKagWEoSO/B/w1TiTJ48rZ7Kv+grFpFQpeqUOsS5 a8Hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:cc; bh=cG6NBoj2vppTquwjQ/WezPQgjsRsjWEHhj+Qj64zdyw=; b=m9JpSvJOYV/lQUcJVvOIVDm7UjkysGWkWZS30VYdZfyOo2J7t9KYKLp4Zcgwwv3TWV NxnuAftlOp9m3lfR6v2geMNnsjG8g9h4TXX2hjxHt4aLqXt8ad8wp14V106fhukwh9aT 99nbNkm/iWkkNoN5PD2GYxI3RVWKbx0vtaw+2s5BRRQ6dkSTzcnsv2W3n7TPd0Wkzqhu IM0ZGv5LCd4lmzbO8wYYKuDmf5f4ccrwBRVr/eLUlv+zxLZUsHXbl4OcdRg79/hIp6J7 w9A0aAWVQgzIqAyYozwYyS/coycZPY51zzZHEkY4eitHDieCKffPuGnJJXzxQ8U/oQZE GZpg== X-Gm-Message-State: AD7BkJKKyiPv58980o0i51tVNzpA1ppihnLOsmYr0HFXZwPj6/Vt50pxw8gbuYsv5bz8q8TxNqMCuGDqYHmuuw== X-Received: by 10.50.180.35 with SMTP id dl3mr11924064igc.94.1456770682653; Mon, 29 Feb 2016 10:31:22 -0800 (PST) In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:103751 On Tue, Mar 1, 2016 at 5:17 AM, Grant Edwards wrote: >> A lot of web sites these days load nothing but a script >> that goes and loads everything else, while you gaze at a splash >> screen. IMO that's unideal. > > :) > > "Unideal" is too kind -- I would described it as something more like > "the evil spawn of brain-dead incompetents". I often wonder what > sequence of decisions/accidents get people to "solutions" like that. I do understand where the thinking comes from, though. 1) Pages should be more responsive than the 1990s-style CGI model, where every action is a link or button click that completely replaces the current page. 2) Many actions therefore must be implemented using JavaScript, an AJAX call (if necessary), and DOM manipulation to change just the parts of the page that need to be changed. 3) This means that the entire content of the page must be under JS control, and the entire "user-accessible" part of the back end should be returning JSON, since that's what #2 requires. 4) If everything has to be under JS control, why not just send out a stub to start with, and begin everything with an AJAX call? That way, we don't need to maintain two of everything! The logic is reasonable. Deduplication is valuable. But the result is a web site that has a stubby splash screen until the back end responds, and that's why I call it merely "unideal" rather than "evil spawn &c". >> However, even that is probably a losing battle. :( > > At least the era of using giant tables full of fragements of a single > large gif image to do page-layout seems to have died a long-overdue > death... Oh yes, I do not miss those days! And it was compounded by browsers that, when they started receiving a tag, drew nothing whatsoever until they received the
and could lay the whole thing out. Add to that slow internet connections, so it would likely be some seconds or even a minute or more before the arrives, and you have a perfect recipe for frustration. But no web site these days would ever make you wait for its contents. 'Course not. ChrisA