Skip to content
This repository has been archived by the owner on Oct 9, 2022. It is now read-only.

Commit

Permalink
misc improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
sanity committed Dec 20, 2018
1 parent cd60418 commit 455572c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ The main Kweb website is http://kweb.io/.
.. toctree::
intro
gettingstarted
concepts
state
faq
4 changes: 2 additions & 2 deletions intro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ Most websites are two pieces of tightly coupled software, *client* and *server*.
* Runs in the browser
* Responsible for user interaction
* Typically written in JavaScript
* Runs in an untrusted environment
* Untrusted execution environment

* Server
* Runs in a datacenter
* Responsible for business logic
* May be written in a wide variety of languages
* Runs in a trusted environment
* Trusted execution environment

The first runs on the web server, the second runs in the web browser. Coders work hard to try to make the website
appear like a single piece of software to the website visitor, but this requires a lot of hidden complexity.
Expand Down
6 changes: 3 additions & 3 deletions concepts.rst → state.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
========
Concepts
State Management
========

State Management: KVars and KVals
---------------------------------
KVars and KVals
---------------

Kweb makes use of the `observer pattern <https://en.wikipedia.org/wiki/Observer_pattern>`_, through the *KVar* class.
A KVar can contain a value of any type, which can change over time. For example:
Expand Down

0 comments on commit 455572c

Please sign in to comment.