| croczilla.com | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
Stratified JavaScriptA cross-browser extension to JavaScript providing advanced concurrency abstractions. It's implemented in JS itself; runs in unmodified IE, Firefox, Chrome, Safari. Does not require any native browser support. Note: Stratified JavaScript has changed quite a bit in the
past few months and much of the information below is now somewhat outdated. Please go
to http://stratifiedjs.org for the current state of things. For an overview of features, see this blog post. Samples & PresentationsEU Mozcamp interactive presentation slides, Prague 4. Oct '09. How to use itThe easiest way to play around with SJS is to add the following include at the top of a html file: <script type="text/javascript" src="sjs-loader.js"></script> When the document has loaded, sjs-loader will look for any script tags with type="text/sjs", and compile & execute them. sjs-loader also makes available some library code for Ajax programming. Where to get itYou can grab a GPL-licensed prototype version based on Brendan Eich's Narcissus JS compiler here: sjs-loader.js v0.3. SJS on client and serverA new version of SJS for use on both browser and server is currently being developed by Oni Labs. This version retains the spirit of the prototype implementation, but is rewritten from scratch with a new runtime engine, has slightly different semantics, and new concurrency constructs. It is scheduled to be released summer 2010. Here's a video with a demo of SJS on both server and client: Implementation notes for v0.3 prototype
|
| (c)2005-2009 alex fritze | |