From a156cdea9f2a93a7042876e1fbee57797dc3bfb4 Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Sat, 15 Jan 2022 21:58:58 +0000 Subject: [PATCH] Update docs slightly. git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3769 ed5197a5-7fde-0310-b194-c3ffbd925b24 --- apps/cory/docs.json | 2 +- apps/cory/docs/index.md | 1 - apps/cory/docs/purpose.md | 24 ------------------------ apps/cory/docs/structure.md | 6 ++---- 4 files changed, 3 insertions(+), 30 deletions(-) delete mode 100644 apps/cory/docs/purpose.md diff --git a/apps/cory/docs.json b/apps/cory/docs.json index a0db7fe6..8fdfd60a 100644 --- a/apps/cory/docs.json +++ b/apps/cory/docs.json @@ -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"}} \ No newline at end of file +{"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"}} \ No newline at end of file diff --git a/apps/cory/docs/index.md b/apps/cory/docs/index.md index be231fe9..f518d9c9 100644 --- a/apps/cory/docs/index.md +++ b/apps/cory/docs/index.md @@ -5,7 +5,6 @@ network, [Secure Scuttlebutt](https://scuttlebutt.nz/), augmenting it with a way to safely and securely write, share, and run code. -- [Purpose](#purpose) - [Structure](#structure) - [Guide](#guide) - [TODO](#todo) \ No newline at end of file diff --git a/apps/cory/docs/purpose.md b/apps/cory/docs/purpose.md deleted file mode 100644 index 188f6d44..00000000 --- a/apps/cory/docs/purpose.md +++ /dev/null @@ -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. \ No newline at end of file diff --git a/apps/cory/docs/structure.md b/apps/cory/docs/structure.md index db7cd68e..7a680960 100644 --- a/apps/cory/docs/structure.md +++ b/apps/cory/docs/structure.md @@ -57,10 +57,8 @@ browser. This process has a custom RPC connection to the core process which holds the WebSocket connection to the browser. The custom RPC communication between the sandbox process and the core -process facilitates calling functions asynchronously. Calling a remote -function (ie. a function in another process) returns a `Promise`. In -addition, any functions passed in either direction are serialized in -such a way that they can be called remotely. +process facilitates passing and calling functions remotely. Calling a +function in another process returns a `Promise`. An application will typically call `app.setDocument()` at startup to populate the app's iframe in the web browser with its own client web