forked from cory/tildefriends
Update docs slightly.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3769 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
parent
4637509b3d
commit
a156cdea9f
@ -1 +1 @@
|
|||||||
{"type":"tildefriends-app","files":{"app.js":"&WCq6ssQedT5denXPXlz2BswPD6hmt++EmWIMIDUMurA=.sha256","index.md":"&Lr7IXs8osbmWz6SDsGTQCiybbxkbWSK2MrUcXMzgqTs=.sha256","todo.md":"&4ipkgEn0imigLYwIdSK3KuZY2/ERqfzrWlw9OocIJWc=.sha256","structure.md":"&xRhQ4Mpom1Idskum07osbBQYcYWroH0sELQBkQHrOMg=.sha256","purpose.md":"&c0/YqFhXC0X3DqiEo55NqzI5wq0VTw6cVZTf/gAWS3w=.sha256","guide.md":"&SgnGL0+rjetY2o9A2+lVRbNvHIkqKwMnZr9gXWneIlc=.sha256"}}
|
{"type":"tildefriends-app","files":{"app.js":"&WCq6ssQedT5denXPXlz2BswPD6hmt++EmWIMIDUMurA=.sha256","index.md":"&XWx2BFiunp94ESm8w3TiEr4HcCtegVojYxMFLV8DSow=.sha256","todo.md":"&4ipkgEn0imigLYwIdSK3KuZY2/ERqfzrWlw9OocIJWc=.sha256","structure.md":"&T+CBfT9XP6ooKFvD1ZCI9hsutqsNIamfBxtAho0HtlU=.sha256","guide.md":"&SgnGL0+rjetY2o9A2+lVRbNvHIkqKwMnZr9gXWneIlc=.sha256"}}
|
@ -5,7 +5,6 @@ network, [Secure Scuttlebutt](https://scuttlebutt.nz/),
|
|||||||
augmenting it with a way to safely and securely write, share,
|
augmenting it with a way to safely and securely write, share,
|
||||||
and run code.
|
and run code.
|
||||||
|
|
||||||
- [Purpose](#purpose)
|
|
||||||
- [Structure](#structure)
|
- [Structure](#structure)
|
||||||
- [Guide](#guide)
|
- [Guide](#guide)
|
||||||
- [TODO](#todo)
|
- [TODO](#todo)
|
@ -1,24 +0,0 @@
|
|||||||
# Tilde Friends Purpose
|
|
||||||
[Back to index](#index)
|
|
||||||
|
|
||||||
## Beliefs
|
|
||||||
1. The web is the universal virtual machine.
|
|
||||||
- It is here, ready to be used from your desktop, laptop, smart phone,
|
|
||||||
tablet, game console, and smart TV.
|
|
||||||
- It is not ideal, but it is the best we have right now,
|
|
||||||
and all signs point to it continuing to improve, at least
|
|
||||||
in terms of features, security, and device support.
|
|
||||||
2. Distributed is superior to centralized.
|
|
||||||
- Distributed services don't need ads.
|
|
||||||
- Distributed services can't be acquired by evil corporations.
|
|
||||||
- Distributed services respect the user's privacy.
|
|
||||||
- Distributed services respect the user.
|
|
||||||
3. Offline-first is superior to online-only.
|
|
||||||
- The internet goes down sometimes. Applications should continue
|
|
||||||
to work.
|
|
||||||
3. Making and sharing code should be easy.
|
|
||||||
- Cloning your repository, installing dev tools, running a
|
|
||||||
docker image, or fighting with dependencies is *not* easy.
|
|
||||||
- If you see a thing in a web browser, you should be able to click
|
|
||||||
`edit`, make a change, save, and see the result.
|
|
||||||
[Wikipedia](https://www.wikipedia.org/) is easy.
|
|
@ -57,10 +57,8 @@ browser. This process has a custom RPC connection to the core process
|
|||||||
which holds the WebSocket connection to the browser.
|
which holds the WebSocket connection to the browser.
|
||||||
|
|
||||||
The custom RPC communication between the sandbox process and the core
|
The custom RPC communication between the sandbox process and the core
|
||||||
process facilitates calling functions asynchronously. Calling a remote
|
process facilitates passing and calling functions remotely. Calling a
|
||||||
function (ie. a function in another process) returns a `Promise`. In
|
function in another process returns a `Promise`.
|
||||||
addition, any functions passed in either direction are serialized in
|
|
||||||
such a way that they can be called remotely.
|
|
||||||
|
|
||||||
An application will typically call `app.setDocument()` at startup to
|
An application will typically call `app.setDocument()` at startup to
|
||||||
populate the app's iframe in the web browser with its own client web
|
populate the app's iframe in the web browser with its own client web
|
||||||
|
Loading…
Reference in New Issue
Block a user