Design: where published posts live, and what a stored post contains

オープン
#22 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
markdown, sqlite

調査の方向性

Read parent issue #16 and compare D1, R2, and KV against the listed blog and Worker requirements. Then write a decision record in docs/adr/ covering the store and layout, rendering choice, post shape, Worker reads, CMS writes and permissions, rejected options, rollback identification, and estimated read costs for post and list pages.

索引モデルが issue の本文から書いたものです。

説明

Part of #16.

Decide where published posts live and what a stored post contains, before any code. Compare D1, R2 and KV against what the blog needs: list by date and tag, fetch by slug, serve images and assets, read from a Worker with low latency, and stay cheap at blog scale.

Decide who renders: the CMS at publish time (store ready-to-serve output) or the Worker at request time (store Markdown and frontmatter). Decide how a published revision is identified (the existing published_hash) and how a rollback works.

Acceptance criteria

  • A short decision record in docs/adr/ with the chosen store, the table or key layout, the rendering decision, and what was rejected and why.
  • The stored shape of a post is written out: slug, frontmatter fields, body (source and rendered if both), hash, published-at, and asset references.
  • It lists exactly what the Worker needs to read and what the CMS needs to write, and the Cloudflare permissions each needs.
  • Estimated read cost for a typical post page and a list page.
主要言語
HTML
スター
0
フォーク
0
平均マージ
1分
マージ済み PR(30日)
2

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

mrgnw/cfcms のほかの issue

mrgnw/cfcms の issue をすべて見る

似ている issue

Backend & API Design の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。