Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.029 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'wednesday,': 0.07; '22,': 0.09; 'http': 0.09; 'system?': 0.09; 'django': 0.11; '"to': 0.16; '23,': 0.16; 'core.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'infinity': 0.16; 'language:': 0.16; 'modules.': 0.16; 'object),': 0.16; 'subject:GUI': 0.16; 'subject:library': 0.16; 'folder': 0.16; 'language': 0.16; 'wrote:': 0.18; 'obviously': 0.18; 'app': 0.19; 'everyone,': 0.19; 'thu,': 0.19; 'library,': 0.24; 'fine': 0.24; '(or': 0.24; "i've": 0.25; 'this:': 0.26; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'scale': 0.29; 'message-id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'code': 0.31; 'requests': 0.31; 'serve': 0.31; 'directly,': 0.31; "they'll": 0.31; 'file': 0.32; 'languages': 0.32; 'option': 0.32; 'another': 0.32; 'url:python': 0.33; 'plain': 0.33; 'but': 0.35; 'received:google.com': 0.35; 'like,': 0.36; 'url:listinfo': 0.36; 'url:org': 0.36; 'level': 0.37; 'server': 0.38; 'depends': 0.38; 'window': 0.38; 'to:addr:python-list': 0.38; 'files': 0.38; 'pm,': 0.38; 'anything': 0.39; 'embedded': 0.39; 'to:addr:python.org': 0.39; 'url:mail': 0.40; 'future': 0.60; 'course.': 0.60; 'serving': 0.60; 'utilize': 0.61; 'browser': 0.61; 'simple': 0.61; 'high': 0.63; 'myself': 0.63; 'today': 0.64; 'networking': 0.64; 'facilities': 0.69; 'browser.': 0.78; 'application?': 0.84; 'hand.': 0.84; 'ideas.': 0.84; 'discount': 0.87; 'free!': 0.95; '2013': 0.98 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:to :content-type:content-transfer-encoding; bh=4bkyfYwKTu6i91LlpKm9o8vKrXaa5Zf3OiQAksTojzE=; b=yVtdJMlpjFeKe1tTeCT5qHVyarzo+goHcq7pXf/Y5OjXf4DuGw0onEbXPjNL5c0oRd HxDKVadRJyOo67T55FtBrPuhrsQQeMIkG6oQns9zWOdVXITSU7i8avNai2MnPDjr5qUj ZmQoE79fN4SK4mDojcfwqDRnhph0Vg0bwpkxblERKeBhLffq8+QB/2n8/cf0V75B5WGT 0lhmdSKOmkWJyz4pm/zTdgpoPRF0UUXOkYyhLCO7anfGlJRY9N3yQu1eK4B+1pM5oAQa 65rHyNRy/9XuieAXknYH/XsD2CbsxO9aAiXq8lP2jWmI6sZL9SPyYsZJslwLzA2tDtdR IfUA== MIME-Version: 1.0 X-Received: by 10.220.215.73 with SMTP id hd9mr4364128vcb.19.1369291733139; Wed, 22 May 2013 23:48:53 -0700 (PDT) In-Reply-To: References: <20130522154233.fe5263cb231c375fc60c7c9b@gmx.net> <19c925fc-dbf8-417c-9298-f682c9b2e558@googlegroups.com> Date: Thu, 23 May 2013 16:48:53 +1000 Subject: Re: Future standard GUI library From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 41 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1369291735 news.xs4all.nl 15943 [2001:888:2000:d::a6]:33534 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:45776 On Thu, May 23, 2013 at 4:43 PM, F=E1bio Santos = wrote: > On 23 May 2013 03:39, "llanitedave" wrote: >> On Wednesday, May 22, 2013 7:24:15 AM UTC-7, Chris Angelico wrote: >> > there's another option that is available to every platform and >> > (practially) every high level language: the web browser. Make your app >> > serve HTTP and do up your UI in HTML5/CSS3 - your facilities are >> > pretty extensive. Plus you get networking support for free! Obviously >> > this option isn't for everyone, but don't discount it out of hand. >> > >> > ChrisA >> >> I've been thinking about that myself for some future app ideas. If you >> have a stand-alone app working from your web browser, don't you need an >> embedded web server to utilize the file system? Is a system like Django= for >> an app overkill? Or is its embedded development server underkill for a >> single-user browser-based application? >> -- >> http://mail.python.org/mailman/listinfo/python-list > > JavaScript has this: > > http://appjs.org/ > > It's a node.js server app serving a folder of plain old HTML files to a > chrome embedded browser. > > You can code in a node.js server using anything you like, serve requests = for > your client app (or use the server code directly, you can just put the > functions you would like to share with the client in the window object), > etc. Many high level languages today come with simple HTTP server modules. They may not scale "to infinity and beyond", but they'll work fine for a single-user system using a browser for its UI. Chances are they'll do well for everything up to a single CPU core. Depends on the language and library, of course. ChrisA