Skip to main content
Module

x/momentum/mvc/mod.ts>MvcModule

Momentum is an open-source framework for building server-side Deno applications in TypeScript. It provides the paradigms and design patterns to guide developers to create robust, scalable, and enterprise-grade applications.
Latest
class MvcModule
import { MvcModule } from "https://deno.land/x/momentum@v0.8.2/mvc/mod.ts";

Include this module in your application to enable MVC (model-view-controller)

Constructors

new
MvcModule(platform: ServerPlatform, mvcFilter: MvcFilter)

Static Methods

register(options: MvcModuleOptions): DynamicModule
registerAsync(options:
& { configFactory: FactoryFunction<Partial<MvcConfig> | Promise<Partial<MvcConfig>>>; }
& Pick<FactoryProvider, "deps">
& Pick<ModuleMetadata, "imports">
& Pick<MvcModuleOptions, "viewEngineModule">
): DynamicModule