tree: dbcf290be6fad90d7e76b3f10759510ee22edd96 [path history] [tgz]
  1. _add_iterator_tutorial.md
  2. _add_read_item_tutorial.md
  3. _baseline_tutorial.md
  4. _callout.md
  5. _support_exports_tutorial.md
  6. _support_trees_tutorial.md
  7. _use_generic_values_tutorial.md
  8. README.md
docs/development/languages/fidl/examples/key_value_store/README.md

FIDL example: Key-value store

In this example, we start by creating a simple write-only key-value store, then proceed to augment its functionality with various capabilities, such as reading from the store, iterating over its members, and creating backups.

Getting started

<<_baseline_tutorial.md>>

Improving the design

Each of the following sections explores one potential way that we could iterate on the original design. Rather than building on one another sequentially, each presents an independent way in which the base case presented above may be modified or improved.

Adding support for reading from the store {#add_read_item}

<<_add_read_item_tutorial.md>>

Using generic values {#use_generic_values}

<<_use_generic_values_tutorial.md>>

Supporting nested key-value stores {#support_trees}

<<_support_trees_tutorial.md>>

Adding support for iterating the store {#add_iterator}

<<_add_iterator_tutorial.md>>

Enabling exporting backups {#support_exports}

<<_support_exports_tutorial.md>>