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

Commit

Permalink
Update database.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
sanity committed Mar 16, 2020
1 parent 423e794 commit 289d393
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions database.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ Database
Overview
--------

Kweb integrates nicely with `Shoebox <https://github.com/kwebio/shoebox>`_, a key-value store that supports the
observer pattern, and a sister project to Kweb. Shoebox has both in-memory and persistent (filesystem) engines.
Kweb integrates nicely with `Shoebox <https://github.com/kwebio/shoebox>`_, a sister project to Kweb.

In the future Shoebox will support back-end cloud services like `AWS Pub/Sub Messaging <https://aws.amazon.com/pub-sub-messaging/>`_
and `Dynamo DB <https://aws.amazon.com/dynamodb/>`_, which would enable unlimited scalability.
Shoebox is a key-value store that supports the observer pattern. This means that changes in Shoebox will be shown *in realtime* in the browser.

In the future Shoebox will support back-end cloud services like `AWS Pub/Sub Messaging <https://aws.amazon.com/pub-sub-messaging/>`_ and `Dynamo DB <https://aws.amazon.com/dynamodb/>`_, which would enable unlimited scalability.

We'll assume you've taken a minute or two to review `Shoebox <https://github.com/kwebio/shoebox>`_ and get the
general idea of how it's used.
Expand Down Expand Up @@ -41,10 +41,9 @@ This example shows how *toVar* can be used to convert a value in a Shoebox to a
Other Databases
---------------

Kweb doesn't require you to use Shoebox, you're free to use any database, either directly, or via a database
abstraction layer of your choosing.
Kweb doesn't require you to use Shoebox. You're free to use any database, either directly, or via a database abstraction layer such as `Exposed <https://github.com/jetbrains/Exposed>`_.

Working Example
---------------

For a more complete example of using Shoebox for persistent storage see the `to do demo <https://github.com/kwebio/kweb-core/tree/master/src/main/kotlin/io/kweb/demos/todo>`_.
For a more complete example of using Shoebox for persistent storage see the `to do demo <https://github.com/kwebio/kweb-core/tree/master/src/main/kotlin/io/kweb/demos/todo>`_.

0 comments on commit 289d393

Please sign in to comment.