Bug 131437 - Embedding Python in HTML
Summary: Embedding Python in HTML
Status: RESOLVED UNMAINTAINED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: unspecified
Platform: unspecified Other
: NOR wishlist
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-27 16:31 UTC by Fabiano Sidler
Modified: 2024-05-06 18:38 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabiano Sidler 2006-07-27 16:31:15 UTC
Version:            (using KDE KDE 3.5.2)
Installed from:    Unspecified
OS:                I Don't Know

To support developing dynamic websites free of pain with JavaScript, I suggest making available also Python as an embedded interpreter to khtml. I know that websites with Python code included would only run under Konqueror (and possibly Safari) but I think it would be a good idea to prototype "dynamizing" code in Python first and then reimplement the final application in JavaScript.
Comment 1 Richard Moore 2006-07-27 23:55:27 UTC
This would be one of the biggest security holes we could possibly add in one go.
Comment 2 Fabiano Sidler 2006-08-02 20:28:34 UTC
I thought it was clear how I meant it. "Making available also Python as an embedded interpreter" should be read as "embed Python in khtml like JavaScript in a sandbox".

Greetings,
Fips
Comment 3 Twey 2007-06-10 18:22:10 UTC
The Firefox team are doing this for v3.0.
Comment 4 Juha Tuomala 2008-01-26 11:28:09 UTC
The security aspect is irrelevant here. This is a functionality wish, expressing the userspace demand for this. Being able to to reuse serverside libs/classes in client end in today's AJAX era would surely be highly welcomed time saver. (not to mention the cons of ecmascript)

Of course it needs to be secure, and that's probably non-trivial, but doable. :)

Some references, please add more:
http://kross.dipe.org/
http://techbase.kde.org/Development/Languages/Kross
http://www.kdedevelopers.org/node/3187
http://en.wikipedia.org/wiki/Kross_(KDE)
Comment 5 Juha Tuomala 2008-01-26 12:32:47 UTC
http://developer.mozilla.org/en/docs/PyDOM
Comment 6 Christoph Cullmann 2024-05-06 18:38:38 UTC
Dear user,

KHTML (and KJS) was a long time more or less unmaintained and got removed in KF6.

Please migrate to use a QWebEngine based HTML component.

We will do no further fixes or improvements to the KF5 branches of these components beside important security fixes.

For security issues, please see:

https://kde.org/info/security/

Sorry that we did not fix this issue during the life-time of KHTML.

Greetings
Christoph Cullmann