There is now a version of Zen embedded in Ruby on Rails. (I recommend you use the version tagged v0.0.1. Note that there is no period at the end of the tag. It's bundled as a Rails application, so you'll need to start Rails to
This embedded version of Zen is open source. It is an incomplete, non-optimized, slow implementation of Zen. (It could be greatly sped up by using a non-source version of the Dojo toolkit, but the source version can occasionally facilitate debugging. Update on 9 August: Although I sped up the page loading a bit today, I expect I can speed it up another factor of 10 - 20 by creating a custom build of Dojo and putting it on a CDN. Update on 17 August: Now zen-rails uses a cross-domain version of Dojo hosted on Google's CDN, so it loads much faster—in about 4 seconds. Update on 20 January, 2013: This has been reverted to a slow version for quite awhile; I should have posted a note saying that before.) This version probably does not work in Internet Explorer, for now. (That should get fixed before too long.) This version of Zen does not and will not include proprietary additions to Zen, which are to be developed later.
The latest changes are:
- it fixes a bug in the debugging functions that made Zen fail in web browsers Chrome and Safari
- it uses
a cross-domainan AJAX call to retrieve a JSON-serialized description of a web page
Soon Zen should also be able to store and source components and aggregations of components in CouchDB for cross-domain AJAX access by a Zen web page. A test version of Zen already did that, but Safari's strict implementation of the same-origin policy did not support it, so I expect to use Rails as a proxy to a Zen web page for access to CouchDB.