Files
q-blog/docs/GLOSSARY_DOMAIN.md
2025-08-16 21:21:57 -04:00

1.0 KiB
Raw Blame History

QBlog — Glossary & Domain Canon

Generated 2025-08-16 23:27Z

Name — The account identity under which blogs are created.
Blog — A container for posts; owned by a Name; has handle, title, visibility.
Handle — Humanfriendly unique identifier per Name (slug rules).
Post — Content item; belongs to exactly one Blog (immutable link).
Roleowner | editor | author; defines allowed operations.
Membership — Name ↔ Blog relationship with role.
Revision — Monotonically increasing number used for concurrency control.
Invite — Timelimited token that assigns a role on acceptance.

Invariants

  • A Posts blogId does not change after creation.
  • (nameId, blogHandle) is unique.
  • All write operations require a role check (serverenforced).

Identifier & URL Guidance

  • Canonical blog URL: /{nameHandle}/{blogHandle}/… (conceptual).
  • Slugs are normalized to lowercase, ASCII, hyphenseparated; collisions rejected with a helpful message.