SDK for developing google / xobni contextual gadgets right in the browser with the tools you're used to using. No messy iframe junk to get in your way.
installs as a package and can be run in any area.
generates a project scaffolding so you put your tests in the right spot, a default application.xml and gadget.xml file
server runs at localhost:8000/
main view shows a list of actions. run unit tests, configure test environment, and launch test environment
Configuration screen allows you to set the email body, any content matches from google, and additional url args that might be passed into the iFrame Renderer.
mocha http://visionmedia.github.com/mocha/
at http://localhost:8000/ifr? it renders the gadget
there will be a request proxy to handle gadgets.io.makeRequest proxying at http://localhost:8000/proxy
localStorage or filesystem.
deploys directly to s3 using knox. http://thechangelog.com/post/2128784522/knox-s3-lib
code compiles with uglify.js
If you want to hack on contextualsdk, you can install all of its dependencies like this:
$ npm install
And then add the command to your PATH
with npm's handy
$ npm link
You can use the nifty cake
command to compile all coffeescript files in src/
to javascript in lib/
.
$ cake build
If you are working on the express server you might find it easier to run it directly like this:
$ coffee src/sdk.coffee
instead of recompiling all the time.