Maybe wxPython applications will be able to be rendered with html5 in
the browser somewhere in the future ...?
http://blogs.gnome.org/alexl/2011/03/15/gtk-html-backend-update/
Wow, very cool! I’d love to see support for that on wxPython!
Ram.
Yes, it's a possibility and I've looked into it a little bit so far. There is a wx-dev contributor that is currently working on GTK+3 compatibility and I think once that is done it won't be a huge step to be able to use the HTML5 backend. (Although probably not a simple step either.)
···
On 3/17/11 5:58 AM, Stani wrote:
Maybe wxPython applications will be able to be rendered with html5 in
the browser somewhere in the future ...?
Gtk+ HTML backend update – Alexander Larsson
--
Robin Dunn
Software Craftsman
Robin Dunn wrote:
···
On 3/17/11 5:58 AM, Stani wrote:
Maybe wxPython applications will be able to be rendered with html5 in
the browser somewhere in the future ...?
Gtk+ HTML backend update – Alexander LarssonYes, it's a possibility and I've looked into it a little bit so far.
There is a wx-dev contributor that is currently working on GTK+3
compatibility and I think once that is done it won't be a huge step to
be able to use the HTML5 backend. (Although probably not a simple step
either.)
I have seen one solution that claimed to be able to produce a web
interface and a native interface from the same source code. It did
work, but even the SIMPLEST web page it produced was half a megabyte.
It just didn't seem to be worth the trouble. Maybe HTML5 will finally
make this practical.
--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.
Yes, I suspect that even if it becomes more practical that you would still want to limit it to LAN or dedicated high speed WAN connections. But even with that restriction it's a very attractive solution to some classes of problems (like what my day-job team deals with.)
···
On 3/17/11 2:11 PM, Tim Roberts wrote:
Robin Dunn wrote:
On 3/17/11 5:58 AM, Stani wrote:
Maybe wxPython applications will be able to be rendered with html5 in
the browser somewhere in the future ...?
Gtk+ HTML backend update – Alexander LarssonYes, it's a possibility and I've looked into it a little bit so far.
There is a wx-dev contributor that is currently working on GTK+3
compatibility and I think once that is done it won't be a huge step to
be able to use the HTML5 backend. (Although probably not a simple step
either.)I have seen one solution that claimed to be able to produce a web
interface and a native interface from the same source code. It did
work, but even the SIMPLEST web page it produced was half a megabyte.
It just didn't seem to be worth the trouble. Maybe HTML5 will finally
make this practical.
--
Robin Dunn
Software Craftsman
So, You could use HTML5 to create a wxPython app, wouldn’t that be wxHTML? Or, are you saying that wxPython would simply gain a HTML5 renderer, so that you could create your webpage, and then embed it in a wxPython app?
···
–
Hi, I will kill all ads in google gmail.
They will all be dead and gone for all my emails to you. HA HA bye bye ads I just massacred you!!!
Other way around. Essentially, you would create your wxPython app, and the "platform" that it runs on is a (compatible) HTML5 web browser.
···
On 3/21/11 8:49 AM, Micah Nordland wrote:
So, You could use HTML5 to create a wxPython app, wouldn't that be
wxHTML? Or, are you saying that wxPython would simply gain a HTML5
renderer, so that you could create your webpage, and then embed it in a
wxPython app?
--
Robin Dunn
Software Craftsman
You would embed a wxPython app in a web page??
···
–
Hi, I will kill all ads in google gmail.
They will all be dead and gone for all my emails to you. HA HA bye bye ads I just massacred you!!!
I think that for some classes of applications or for some user environments it could be a very good thing.
···
On 3/21/11 4:07 PM, Micah Nordland wrote:
You would embed a wxPython app in a web page??
--
Robin Dunn
Software Craftsman
Micah Nordland wrote:
You would embed a wxPython app in a web page??
Not exactly. Your wxPython app would have a different back end that,
instead of mapping to Win32 API calls, would generate dynamic HTML,
probably with a Javascript library. It would be just another back end
-- like the back ends that already exist for GDI, Tk, and Qt. This
would be just one more. Your application would be a web server.
It's not that strange of a concept. There are already Javascript
libraries that come darned close to this.
In fact, it's the same basic concept as Silverlight. You write a
Windows Forms application in C# using the standard .NET library, then
relink with the Silverlight back end for delivery via a web page.
···
--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.
What about http://pyjs.org/ ?
···
On Mar 17, 5:11 pm, Tim Roberts <t...@probo.com> wrote:
It just didn't seem to be worth the trouble. Maybe HTML5 will finally
make this practical.
Mike wrote:
···
On Mar 17, 5:11 pm, Tim Roberts <t...@probo.com> wrote:
It just didn't seem to be worth the trouble. Maybe HTML5 will finally
make this practical.What about http://pyjs.org/ ?
Yes, that's the one I tried -- I had forgotten the name. Even the most
trivial Python script ended up as a half megabyte web page. There are
certainly environments where Pyjamas is a great solution, but it wasn't
there for me.
--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.
Now I get it, more power to those who can implement such a thing. By the way, I did see a video of just such a thing, where some one took an ordinary gnome app, and ran it in firefox just by changing the rendering backend.
···
–
Hi, I will kill all ads in google gmail.
They will all be dead and gone for all my emails to you. HA HA bye bye ads I just massacred you!!!
Do you maybe mean SeedKit (SeedKit – GNOME Wiki Archive)?
I'm currently involved in a project which does something similar. We have a plugin which runs in all browsers and all platforms. Through this plugin we can load extensions and make them available to the browser's javascript engine. Currently we support interoperability between C++, C#, Python and javascript. This means you can e.g. access your python objects in javascript as if they were normal javascript objects. The opposite way also works.
Effectively this means you can write your UI in html5 (e.g. via www.extjs.com or one of the many other js ui libraries). However, your data backend and processing can be written in C++, C# or Python. You can also mix wxPython widgets into your ui/web page/web app if you like.
I'm a bit skeptical about just putting an html5 backend behind a traditional desktop ui library. From my experience html5 apps are well able to outperform current desktop guis on various criteria. My guess is that for a transition period both concepts will be used next to each other and will be mixed. For instance, because you have some advanced custom wxPython widgets readily available which you don't want to port immediatly. However, turning an advanced gnome desktop app into html5 "magically" seems neither desirable (in the long run) nor easy implementable to me.
-Matthias
···
Am 22.03.2011, 22:34 Uhr, schrieb Micah Nordland <mpnordland@gmail.com>:
Now I get it, more power to those who can implement such a thing. By the
way, I did see a video of just such a thing, where some one took an ordinary
gnome app, and ran it in firefox just by changing the rendering backend.
Nope, it was something else, I think I saw it on OMG! Ubuntu
···
–
Hi, I will kill all ads in google gmail.
They will all be dead and gone for all my emails to you. HA HA bye bye ads I just massacred you!!!