Skip to content

Commit

Permalink
Merge pull request #963 from FlowFuse/docs-designpatterns-rename
Browse files Browse the repository at this point in the history
Docs: Use "Multi Tenancy" to describe the second design pattern
  • Loading branch information
joepavitt authored Jun 13, 2024
2 parents a57d4b0 + d276bc3 commit 73501f6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Built into the framework of the UI is a side navigation bar, along with the top,
There are two core Design Patterns that are possible when building with Dashboard 2.0:

- **Single Source of Truth:** All users of your Dashboard will see the same data. This is useful for industrial IoT or Home Automation applications.
- **Client-Driven Data:** Data shown in a particular widget is unique to a given client/session/user. This represents a more traditional web application, where each user has their own session and associated data.
- **Multi Tenancy:** Data shown in a particular widget is unique to a given client/session/user. This represents a more traditional web application, where each user has their own session and associated data.

It's worth noting that these two patterns can be mixed and matched within a single Dashboard 2.0 application, shown [later](#example).

Expand All @@ -117,10 +117,10 @@ When a user goes to visit a Dashboard, the widgets will load their respective st

An example of this is that if you have interactive elements, e.g. a slider linked to a chart, then one user moving the slider will draw data to the chart of every other user's Dashboards too.

### Client-Driven Data
### Multi Tenancy

![Client-Driven Data](./assets/images/design-pattern-client.png){data-zoomable}
_Example workflow to demonstrate the "Client-Driven Data" design pattern._
![Multi Tenancy](./assets/images/design-pattern-client.png){data-zoomable}
_Example workflow to demonstrate the "Multi Tenancy" design pattern._

In Dashboard 2.0 we can configure a given node type to ["Accept Client Data"](/user/sidebar.html#client-data) from the sidebar:

Expand Down

0 comments on commit 73501f6

Please sign in to comment.