Conceptually we have arrived at a result very similar to Notion, and it was intentional, we’re solving the same class of problem. We want structure combined with free form databases
📓 Notion Data Model Comparison
Databases / Templates
Notion has the concept of “databases” which describe the structure of their child tasks https://developers.notion.com/docs/working-with-databases
these provide the schema and you can customise them. Any customisation of a note is just applied directly to the parent database.
you can link databases, they’ll add a foreign key relationship and enforce it for you which is lovely.
We have the very similar concept of 📝 Templates , these are a note that define the correct way to interpret the shape of every note of that type.
Differences
We’ve made the … choice, that templates are optional, and enable richer display of a set of notes, but they’re just optional. They aren’t necessary, and they must be shared between repos if you want them available everywhere.
This leads to the immediately obvious problem of the need/desire to keep them in sync. One could imagine wanting to sync templates, or, extract templates into a common shared repo that gets reused.
Pages / Notes
then there are individual pages which live within a “database” (quoted because it’s not necessarily a real db like PostgreSQL)
Ours are much closer to notions here than our databases. You can query all notes within a database/template, that all works, and see any and all properties thereof.
Metadata
Key | Value |
---|---|
ID | PNMR-t5nJnZYj |
URN | urn:penemure:9cc10c76-c478-4b93-8fbd-b799c99d9623 |
Backend | 😇 pub: HXPM Public Issues |
Ancestors | |
📅 Created | |
📅 Updated | |
Links |
Children
Queryable fields
View in API
title | <a href="/penemure/note/9cc10c76-c478-4b93-8fbd-b799c99d9623.html"><span class="title">📓 Notion Data Model Comparison</span></a> |
parents | urn:penemure:4d9fe953-c4d9-43d5-ba27-d86bd7d0eefe urn:penemure:a238ec94-5136-48c5-8567-7d2644fda113 |
version | 2 |
created_unix | 1739257269.745754 |
updated_unix | 1739257303.7305758 |
namespace | None |
type | note |
id | 9cc10c76-c478-4b93-8fbd-b799c99d9623 |
urn | urn:penemure:9cc10c76-c478-4b93-8fbd-b799c99d9623 |
url | /penemure/note/9cc10c76-c478-4b93-8fbd-b799c99d9623.html |
backend | pub |
created | 2025-02-11 07:01:09.745754+00:00 |
updated | 2025-02-11 07:01:43.730576+00:00 |
system | False |
blurb | Conceptually we have arrived at a result very similar to Notion, and it was intentional, we're solving the same class of |
title_plain | 📓 Notion Data Model Comparison |
title_txt | Notion Data Model Comparison |
final_ancestor_titles | Penemure |
parent_first_title | Penemure |
ancestors | urn:penemure:4d9fe953-c4d9-43d5-ba27-d86bd7d0eefe urn:penemure:a238ec94-5136-48c5-8567-7d2644fda113 |