[ Web Proxy ]
URL:
Viewing: https://wiki.python.org/moin/../python/platforms/../security/../platforms/MacPython/JavaScript.html [Back]  [Original]

MacPython / JavaScript - Python Wiki
Python Wiki
psf/wiki 0 0
Copy page

MacPython / JavaScript

Legacy Wiki Page

This page was migrated from the old MoinMoin-based wiki. Information may be outdated or no longer applicable. For current documentation, see python.org.

Comprehensive Wikipedia Entry on Javascript: http://en.wikipedia.org/wiki/JavaScript

John J. Lee has an (unmaintained) Python-Javascript bridge:

http://wwwsearch.sourceforge.net/python-spidermonkey/

OS X 10.4 now includes Javascript and Cocoa bridges which can be used in Widgets and /WebKit objects.

http://developer.apple.com/documentation/AppleApplications/Conceptual/SafariJSProgTopics/Tasks/ObjCFromJavaScript.html#//apple_ref/doc/uid/30001215

But PyObjC may be superior.

From The ADC article Using PyObjC for Developing Cocoa Applications with Python ( http://developer.apple.com/cocoa/pyobjc.html)

**Many Bridges to Your Destination** PyObjC is just one of many Cocoa bridges. Apple has offered its Java bridge since Mac OS X 10.0, and Mac OS X Tiger 10.4 rolled out a /JavaScript bridge which allows Dashboard Widgets to communicate with Objective-C objects. Third-party developers have also created bridges for C#, Lisp, Perl, Ruby and Smalltalk to name a few. And, of course, Python.

Back to top

Web Proxy Viewer  |  New URL  |  Original Page