Client side GUI-like web framework ?

Luis M. González luismgz at gmail.com
Tue Feb 5 21:50:06 CET 2008


On Feb 4, 2:45 pm, USCode <d... at spamon.me> wrote:
> Wouldn't it be handy if there was a web framework that allowed you to
> create pages and control the interface like you would using a
> client-side GUI framework such as Tkinter?
>
> The framework would need a small, fast web server that would
> automatically fire up when you ran your application and you then control
> the interface just like you would with client-side GUI widgets (within
> the limitations of browsers of course).  It would handle all the
> complexities of HTTP, HTML, Javascript, etc. letting you focus on adding
> functionality to your application.
>
> Essentially you would be using the browser as your cross-platform
> client-side interface.  You would just interact with all the widgets
> like trees, grids, paned windows, checkboxes, buttons, etc.
>
> There wouldn't happen to be anything like that available, would there?
> I've seen CherryPy but that doesn't quite seem to be what I described.
>
> Thanks!

There are many python web frameworks available.
All you need is to create a web app with one of these, and then
distribute it with its own built-in server (all these frameworks
include a small development server).
If you use a database, you should use sqlite, which comes already
included in within python.

Actually, there only difference is that instead of serving your site
through a web server, you are serving it through a built-in server,
included within your app distribution.



More information about the Python-list mailing list