Skip to content

Commit

Permalink
add DNAs page to nav and other references
Browse files Browse the repository at this point in the history
  • Loading branch information
pdaoust committed Jan 21, 2025
1 parent 05fbd84 commit 445e799
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/pages/_data/navigation/mainNav.json5
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
{ title: "Lifecycle Events and Callbacks", url: "/build/callbacks-and-lifecycle-hooks/" },
{ title: "Zome Functions", url: "/build/zome-functions/" },
] },
{ title: "DNAs", url: "/build/dnas/" }
]},
{ title: "Working with Data", url: "/build/working-with-data/", children: [
{ title: "Identifiers", url: "/build/identifiers/" },
Expand Down
4 changes: 3 additions & 1 deletion src/pages/build/application-structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ title: Application Structure
* [Zomes](/build/zomes/) --- integrity vs coordinator, how to structure and compile
* [Lifecycle Events and Callbacks](/build/callbacks-and-lifecycle-hooks/) --- writing functions that respond to events in a hApp's lifecycle
* [Zome Functions](/build/zome-functions/) --- writing your hApp's back-end API
* DNAs (coming soon) --- what they're used for, how to specify and bundle
* [DNAs](/build/dnas/) --- what they're used for, how to specify and bundle
* hApps (coming soon) --- headless vs UI-based, how to bundle and distribute
:::

Expand Down Expand Up @@ -63,6 +63,8 @@ This means you can hot-swap coordinators as you fix bugs and add features, witho

Because each DNA has its own separate peer network and data store, you can use the DNA concept to come up with creative approaches to [privacy](https://dialnet.unirioja.es/servlet/articulo?codigo=8036267) and access, separation of responsibilities, or data retention.

[Read more on the DNAs page](/build/dnas/).

### hApp

One or more DNAs come together in a **hApp** (Holochain app). Each DNA fills a named **role** in the hApp, and you can think of it like a [microservice](https://en.wikipedia.org/wiki/Microservices).
Expand Down

0 comments on commit 445e799

Please sign in to comment.