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:
What Cephalon is
Section titled “What Cephalon is”Write 3-5 sentences here.
Prompt:
- Cephalon is a modular
.NETengine/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.
What Cephalon is not
Section titled “What Cephalon is not”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.
Recurring design center
Section titled “Recurring design center”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:
Layering model
Section titled “Layering model”Summarize the main layers.
1. Cephalon.Abstractions
Section titled “1. Cephalon.Abstractions”Prompt:
- stable host-agnostic contract layer
- modules, capabilities, app-model, health, localization, patterns, technologies, and transports
Your notes:
2. Cephalon.Engine
Section titled “2. Cephalon.Engine”Prompt:
- composition, manifest generation, runtime behavior, package loading, policy, trust, diagnostics, and introspection center
Your notes:
3. Host adapters
Section titled “3. Host adapters”Prompt:
- ASP.NET Core and Worker are the primary shipped host adapters
- adapters should stay thin
Your notes:
4. Companion packs
Section titled “4. Companion packs”Prompt:
- behaviors
- data
- event sourcing
- observability
- cloud/platform follow-through packs
Your notes:
App-model dimensions
Section titled “App-model dimensions”Explain the difference between these dimensions.
| Dimension | What it answers | Example |
|---|---|---|
| Blueprint | modular-monolith | |
| Pattern | cqrs | |
| Transport | rest-api | |
| Technology profile | serverless-hosting |
Runtime introspection routes I inspected
Section titled “Runtime introspection routes I inspected”Fill this table after running the showcase sample.
| Route | What it answered | Why it matters |
|---|---|---|
/engine/manifest | ||
/engine/snapshot | ||
/engine/runtime-story | ||
/engine/modules | ||
/engine/capabilities | ||
/health/ready |
Cephalon decisions I already agree with
Section titled “Cephalon decisions I already agree with”Cephalon decisions I want to inspect more deeply
Section titled “Cephalon decisions I want to inspect more deeply”Evidence I used
Section titled “Evidence I used”- docs:
- code:
samples/Cephalon.Sample.Showcase/ShowcaseSampleApp.cssrc/Cephalon.AspNetCore/Hosting/EngineWebApplicationExtensions.cssrc/Cephalon.Abstractions/Modules/IModule.cssrc/Cephalon.Engine/Composition/EngineServiceCollectionExtensions.cs
- runtime:
/engine/manifest/engine/snapshot/engine/runtime-story
End-of-week check
Section titled “End-of-week check”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