< Back to all clusters
[TECHNOLOGY] · 2 sources

started · updated

Alexis King advocates positive‑space TypeScript modeling; Web API adds runtime compile

Alexis King presented a session titled “The Unreasonable Effectiveness of Constructive Data Modeling,” arguing that types should be viewed as constructive building blocks that expand the positive space of possible values rather than merely restricting them. He illustrated the approach with examples such as defining non‑empty lists and even‑element lists without complex constraints.

Another article demonstrates how ASP.NET Web API can be extended with a custom MediaTypeFormatter to compile TypeScript code into JavaScript at runtime. This technique lets developers serve dynamically compiled scripts without embedding the full 250 KB TypeScript compiler in the browser, simplifying deployment and reducing client‑side load.

Entities

ASP.NET · Alexis King · TypeScript · Web API · dynamic compilation