Newest Articles
- Web Worker Concurrency with StratifiedJS
- Megazine: A stratified social links dashboard
- Oni Apollo 0.13: 'Official' NodeJS-based server-side support
- Oni Apollo 0.12: Cross-domain module loading directly from GitHub
- Oni Apollo 0.11: Bug fixes, StratifiedJS improvements and syntactic sugar
- Stratified Node.js: IO performance
- Stratifying asynchronous storage
- Oni Apollo 0.10.0: less bytes and modularized!
- Drones: A StratifiedJS canvas game
- Oni Apollo 0.9.2 with Twitter Anywhere support
- Apollo overview video
- Flickr cities tutorial
- Oni Apollo 0.9
- Hi from Oni Labs!
Oni Buzz
Oni Apollo 0.10.0: less bytes and modularized!
November 19, 2010 by Alexander Fritze
We're pleased to announce the release of Oni Apollo 0.10.0. For the full list of changes please consult the commit history in our github repository.
In this release, we have reduced the size of the oni-apollo.js StratifiedJS runtime to ~15kB (gzipped), and enhanced our CommonJS-compliant module system to be fully cross-domain capable. For modern browsers we utilize CORS and for legacy browsers (IE6, IE7, Opera) we use a JSONP-like fallback protocol.
In addition to being cross-domain capable, Apollo's module system now has powerful features for managing the resolution of external modules.
oni-apollo.js now consists solely of the StratifiedJS runtime and the machinery for the cross-domain module system. We have taken all modules that were previously prepackaged into this file and externalized them into the Apollo Standard Module Library.
Because of the change from built-in to external modules, 'require'-calls to Standard Library modules now need to be prefixed with 'apollo:', e.g.:
require('apollo:google');
instead of
require('google');
as in previous versions where 'google' was a built-in module.
As always, if you give 0.10.0 a spin, we're interested in any feedback you have. Please post any questions to the Apollo Google Group.
