-
Data on the Wire. Don't send HTML over the network. Send data and let the client decide how to render it.
-
One Language. Write both the client and the server parts of your interface in JavaScript.
-
Database Everywhere. Use the same transparent API to access your database from the client or the server.
-
Latency Compensation. On the client, use prefetching and model simulation to make it look like you have a zero-latency connection to the database.
(function () { | |
Backbone.syncWithoutUpload = Backbone.sync | |
Backbone.syncWithUpload = function(method, model, options) { | |
// Create iframe | |
var iframe_id = 'file_upload_iframe_' + Date.now() | |
, iframe = jQuery('<iframe id="' + iframe_id + '" name="' + iframe_id + '" ></iframe>').hide() | |
var toForm = function(object, nested) { | |
inputs = _.map(object, | |
function(attr, key) { |
<template name="helper_test"> | |
{{#each test_objects}} | |
<p>Object: {{helper-test this}}</p> | |
{{/each}} | |
</template> |
Moof! |
TASK: [dev | shell echo usermod -aG docker $USER] ***************************** | |
changed: [default] => {"changed": true, "cmd": "echo usermod -aG docker $USER ", "delta": "0:00:00.001167", "end": "2014-04-15 05:22:34.615407", "item": "", "rc": 0, "start": "2014-04-15 05:22:34.614240", "stderr": "", "stdout": "usermod -aG docker root"} |
∴ cat hosts ~/code/boxes master@03a9a38 ✗ | |
[vagrant] | |
laura ansible_ssh_host=10.5.5.5 ansible_ssh_user=vagrant ansible_ssh_private_key_file=/Users/mike/.vagrant.d/insecure_private_key | |
mike@boof | |
∴ ansible-playbook laura.yml -i hosts --limit vagrant ~/code/boxes master@03a9a38 ✗ | |
PLAY [default] **************************************************************** | |
skipping: no hosts matched |
Welcome to our beta!
First off, we've arranged a few ways for you to reach out for support:
- The Facebook group (request to join): https://www.facebook.com/groups/versalgadgetdevelopers/
- The HipChat room (live support/discussions): http://www.hipchat.com/gDg353d8w
- The IRC channel: chat.freenode.net #versal
- The Google group (you are already in it): [email protected] or https://groups.google.com/a/versal.com/forum/#!forum/gadgetdevelopers
title |
---|
Versal gadget development |
Welcome to Versal's gadget documentation! Here you'll find everything needed to get started building rich learning tools on the Versal platform. Please contact us if you have any questions!
- Install the Versal SDK:
First upload the gadget to our platform:
-
Use the versal sdk to sign in with
versal signin
. This will prompt you for your username/password which can be created at https://versal.com if you don't already have an account. -
From your gadget project directory run
versal upload
. This will place the project in your "gadget sandbox" (i.e. it'll be available from the "sandbox" tray when you're authoring a course on versal.com)
Next join our workshop, create a new lesson and add your gadget:
- Go to https://versal.com/c/gadgetworkshop and click on the link in the upper right "Help create this course". Follow the prompts and you'll get an email once you've been added as an author.
∴ cat bower.json /tmp | |
{ | |
"name": "tmp", | |
"version": "0.0.2", | |
"authors": [ | |
"Mike Bannister <[email protected]>" | |
], | |
"license": "MIT", | |
"ignore": [ | |
"**/.*", |