Updated Dynamic Languages in Silverlight Page
Silverlight is the Microsoft browser plugin that, amongst other things, allows you to run Python and Ruby in the browser with full access to the browser DOM. This is all through the magic of the Dynamic Language Runtime. With either Silverlight or Moonlight installed, the simplest DLR-based application can be contained in a single HTML file:
The introduction page on the silverlight.net site has now been updated.
<script src="http://gestalt.ironruby.net/dlr-latest.js" type="text/javascript">
</script>
<script type="text/ruby">
window.alert "Ruby in the browser!"
</script>
<script type="text/python">
window.Alert("Python works too!")
</script>
The introduction page on the silverlight.net site has now been updated.
Writing Silverlight applications in Ruby, Python, and other DLR-based languages only requires a local web server, a text editor, and a browser which supports Silverlight on Windows or Mac OS, or Moonlight on Linux systems.
The page has full details of how to get started with using Python and Silverlight including several examples and example applications.
Supported browsers include IE, Safari, Firefox and Chrome.
Comments
Post a Comment