# Stages

> Status: implemented are markup as HTML, components of the server, their results, `Response`
> going up, `Content<T>`, component values with a result, decorators with guards, wrappers that
> take the body and the request context, routes, and `rooklang/server`; the server of the site, `site/server/main.rk`, is written
> with them, and the guide has a section on them. The decisions are collected at the end of the
> document, together with what is not decided yet. Server markup, components and `rooklang/server`
> remain **experimental** in 1.x and may change between releases.

> This document builds on [components.md](https://github.com/QWERN-9876r/RookLang/blob/HEAD/docs/components.md): components, decorators, context,
> components as values. It describes only what is different on the server.

1. ~~**Markup as HTML** and components as async functions that return `Html`; the errors for what
   the server has not.~~ Done.
2. ~~**The result `T`**, `Response` going up, `handler`, `serve` and `reply`.~~ Done.
3. ~~**`Content<T>`** and type parameters of components; component values with a result.~~ Done.
4. ~~**Decorators on the server:** `await`, guards, request context.~~ Done.
5. ~~**The site:** `site/server.rk` written with components, a section of the guide and an
   example, in both languages; highlighting of `comp X<T>() T`.~~ Done: the server is
   `site/server/main.rk`, the section "Components on the server". A program of the site that
   imports `rooklang/server` is compiled with markup as HTML, the setting of a package that the
   page has not; it does not run on the page yet.

