tree: 0b7888f7ecd49dc5026099ff596331066d5b2bb5 [path history] [tgz]
  1. canvas/
  2. key_value_store/
  3. README.md
docs/development/languages/fidl/examples/README.md

FIDL examples

This is a catalog of FIDL examples intended to demonstrate FIDL concepts through simplified implementations of real software workflows.

Example index

The following examples sequentially demonstrate useful FIDL concepts.

Key-value store

The key-value store example demonstrates how to build a simple key-value store using FIDL in order to learn about the various data types available in the language.

Canvas

The canvas example demonstrates how to build a simple 2D line-rendering canvas using FIDL in order to learn about commonly used data flow patterns.

Concept index

Each “concept” in the FIDL language is exemplified in at least one of the examples listed in the preceding section. A quick reference of each such concept, as well as its example implementations, is listed in the following section.

<<../widgets/_acknowledgement_pattern.md>>

<<../widgets/_alias.md>>

<<../widgets/_anonymous_type.md>>

<<../widgets/_bits.md>>

<<../widgets/_enum.md>>

<<../widgets/_feed_forward_pattern.md>>

<<../widgets/_generated_name.md>>

<<../widgets/_handle_rights.md>>

<<../widgets/_named_payload.md>>

<<../widgets/_optionality.md>>

<<../widgets/_pagination_pattern.md>>

<<../widgets/_persistence.md>>

<<../widgets/_protocol_end.md>>

<<../widgets/_recursive_type.md>>

<<../widgets/_resource_type.md>>

<<../widgets/_scalar_type.md>>

<<../widgets/_size_constraint.md>>

<<../widgets/_table_payload.md>>

<<../widgets/_throttled_event_pattern.md>>

<<../widgets/_union_payload.md>>