Skip to content

Instantly share code, notes, and snippets.

@makevoid
Last active August 29, 2015 14:27
Show Gist options
  • Select an option

  • Save makevoid/2d76d1015e42984b7263 to your computer and use it in GitHub Desktop.

Select an option

Save makevoid/2d76d1015e42984b7263 to your computer and use it in GitHub Desktop.
v alpha - 2 tabs synced UI+server SPA + blockchain git state
# another idea - see index2
# when you code the code - a possible implementation gets built
# when you code the class (interface, module, view wathever)
# - a server is written to hit the view
# - an implementation like this one - so only an editor like codemirror on 2 tabs synced
class People
def migrate
end
end
## ------------
People.migrate
# ------------
GET / # - http request
{} # - json body
POST /
{} # head
{} # body
POST /
head: {
antani: true
}
body: "<
html
>"
POST /with_helper
head: {
antani: true
}
body do
:html
end
# comments are comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment