wxHtmlWindow real implementation

Hi guys,

It been for a long time I wondering, about the
possibilities that wx*
application to be published on the web. In the demo I
found wxHtmlWindow
with widget and the doodle is there embedded in the
html page. But for
this case the user still have the real doodle
application.

My question is is it possible to put a widget or any
application base on
wx* on the server so a client can open it using a
browser & the
application can run as smooth as it is in the client
without downloading it?

Thanx

danu

···

__________________________________________________
Do You Yahoo!?
Faster. Easier. Search Contest.
http://sg.yahoo.com/search

danu kusmana wrote:

Hi guys,

It been for a long time I wondering, about the
possibilities that wx* application to be published on the web. In the demo I
found wxHtmlWindow with widget and the doodle is there embedded in the
html page. But for this case the user still have the real doodle
application.

My question is is it possible to put a widget or any
application base on wx* on the server so a client can open it using a
browser & the application can run as smooth as it is in the client
without downloading it?

No. I've often dreamed of creating a runtime environment and browser plugin that could run wxPython apps in a browser window, but just havn't had the time to tackle it. Maybe someday...

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Robin,

This would be MOST interesting: a wxPython browser plugin.

Just curious, can you share some more of your thoughts
(or dreams) on this? Like, what would be the runtime
environment and the underlying gui kit.

/Jean Brouwers

Robin Dunn wrote:

···

danu kusmana wrote:

Hi guys,

It been for a long time I wondering, about the
possibilities that wx* application to be published on the web. In the demo I
found wxHtmlWindow with widget and the doodle is there embedded in the
html page. But for this case the user still have the real doodle
application.

My question is is it possible to put a widget or any
application base on wx* on the server so a client can open it using a
browser & the application can run as smooth as it is in the client
without downloading it?

No. I've often dreamed of creating a runtime environment and browser plugin that could run wxPython apps in a browser window, but just havn't had the time to tackle it. Maybe someday...

Jean Brouwers wrote:

Robin,

This would be MOST interesting: a wxPython browser plugin.

Just curious, can you share some more of your thoughts
(or dreams) on this? Like, what would be the runtime
environment and the underlying gui kit.

wxPyRE == wxPython Runtime Environment

* A single install Python and wxPython package that can run any wxPython application.

* Consists of a slightly custom pythonw.exe, (wxpyre.exe,) the standard Python DLLs, the standard library as a PYZ (zip) file, the wxPython extension modules and .py files (as a PYZ) and probably the same for some set of other common Python packages.

* Should be able to coexist with a standard Python install.

* Has file associations so it can be used to execute standalone .py files (but with some other file extension so there is no conflict) or PYZ application bundles.

* Can be launched from a browser to run downloaded PYZ bundles.

* Can download and cache apps located on Net servers (like Java WebStart). Managed by a simple XML file that is downloaded initially and contains info about the app: version, URL of the PYZ,description, an icon, etc. It can tell if the app needs updated based on fetching this XML file. Manages installing a Start Menu icon for the app, uninstalling, etc. Maybe this same mechanism can also be used to update the wxPyRE itself, loading other Python packages in PYZ format, etc.

* Includes a bowser plugin that uses the wxPyRE to run wxPython applets on the browser window.

* I see the biggest use of this to be on Windows machines, but it could probably be done for the other platforms too.

The only problem (besides the time to do it) is that the Python resctricted execution modules have been removed and so there is no way to provide a "safe" execution environment for applets and webstart-style apps...

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Thank for the this elaboration. Most interesting!

What about using Java as the underlying environment,
maybe only for non-Windows platforms.

Would that be feasible? With Jython and maybe one of
the Java GUI kits, like AWT or Eclipse' SWT? Would that
provide the safe environment?

/Jean Brouwers

Robin Dunn wrote:

···

Jean Brouwers wrote:

Robin,

This would be MOST interesting: a wxPython browser plugin.

Just curious, can you share some more of your thoughts
(or dreams) on this? Like, what would be the runtime
environment and the underlying gui kit.

wxPyRE == wxPython Runtime Environment

* A single install Python and wxPython package that can run any wxPython application.

* Consists of a slightly custom pythonw.exe, (wxpyre.exe,) the standard Python DLLs, the standard library as a PYZ (zip) file, the wxPython extension modules and .py files (as a PYZ) and probably the same for some set of other common Python packages.

* Should be able to coexist with a standard Python install.

* Has file associations so it can be used to execute standalone .py files (but with some other file extension so there is no conflict) or PYZ application bundles.

* Can be launched from a browser to run downloaded PYZ bundles.

* Can download and cache apps located on Net servers (like Java WebStart). Managed by a simple XML file that is downloaded initially and contains info about the app: version, URL of the PYZ,description, an icon, etc. It can tell if the app needs updated based on fetching this XML file. Manages installing a Start Menu icon for the app, uninstalling, etc. Maybe this same mechanism can also be used to update the wxPyRE itself, loading other Python packages in PYZ format, etc.

* Includes a bowser plugin that uses the wxPyRE to run wxPython applets on the browser window.

* I see the biggest use of this to be on Windows machines, but it could probably be done for the other platforms too.

The only problem (besides the time to do it) is that the Python resctricted execution modules have been removed and so there is no way to provide a "safe" execution environment for applets and webstart-style apps...