Future standard GUI library

Chris Angelico rosuav at gmail.com
Thu May 23 02:48:53 EDT 2013


On Thu, May 23, 2013 at 4:43 PM, Fábio Santos <fabiosantosart at gmail.com> wrote:
> On 23 May 2013 03:39, "llanitedave" <llanitedave at veawb.coop> 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



More information about the Python-list mailing list