ข้ามไปยังเนื้อหา

Week 1 Architecture Summary Starter

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

Use this starter during Week 1 of the Learning roadmap.

The goal is not to write perfect documentation on the first pass.

The goal is to prove that you can explain Cephalon’s design center in your own words while staying aligned with:

Write 3-5 sentences here.

Prompt:

  • Cephalon is a modular .NET engine/framework foundation that is growing into a modular runtime platform.
  • It is designed around host-agnostic contracts, explicit app-model and transport choices, deterministic composition, and runtime introspection as a product surface.
  • It includes runtime, tooling, scaffolding, templates, samples, and reference-doc publication paths.

Your draft:

Replace this block with your own summary.

Write 3-5 sentences here.

Prompt:

  • It is not a single app shell.
  • It is not only an ASP.NET Core host.
  • It is not only a code generator.
  • It is not a pile of unrelated packages without a runtime contract.

Your draft:

Replace this block with your own summary.

Convert the recurring design center from project memory into your own language.

  • host-agnostic contracts first
  • deterministic module and package composition
  • explicit app-model, transport, technology, and policy selection
  • runtime introspection as a product surface
  • additive companion packs instead of engine-core sprawl
  • generated starter output, templates, and samples aligned to the runtime contract

Your draft:

Summarize the main layers.

Prompt:

  • stable host-agnostic contract layer
  • modules, capabilities, app-model, health, localization, patterns, technologies, and transports

Your notes:

Prompt:

  • composition, manifest generation, runtime behavior, package loading, policy, trust, diagnostics, and introspection center

Your notes:

Prompt:

  • ASP.NET Core and Worker are the primary shipped host adapters
  • adapters should stay thin

Your notes:

Prompt:

  • behaviors
  • data
  • event sourcing
  • observability
  • cloud/platform follow-through packs

Your notes:

Explain the difference between these dimensions.

DimensionWhat it answersExample
Blueprintmodular-monolith
Patterncqrs
Transportrest-api
Technology profileserverless-hosting

Fill this table after running the showcase sample.

RouteWhat it answeredWhy it matters
/engine/manifest
/engine/snapshot
/engine/runtime-story
/engine/modules
/engine/capabilities
/health/ready

Cephalon decisions I want to inspect more deeply

Section titled “Cephalon decisions I want to inspect more deeply”
  • docs:
  • code:
    • samples/Cephalon.Sample.Showcase/ShowcaseSampleApp.cs
    • src/Cephalon.AspNetCore/Hosting/EngineWebApplicationExtensions.cs
    • src/Cephalon.Abstractions/Modules/IModule.cs
    • src/Cephalon.Engine/Composition/EngineServiceCollectionExtensions.cs
  • runtime:
    • /engine/manifest
    • /engine/snapshot
    • /engine/runtime-story

At the end of Week 1, you should be able to explain:

  • why Cephalon is an engine/framework instead of an app shell
  • why runtime introspection is treated as product surface
  • why blueprints, patterns, transports, and technologies are different dimensions
  • why host adapters should stay thin