Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Usage

import * as mandarinets from "https://raw.githubusercontent.com/mandarineorg/mandarinets/master/mvc-framework/mandarine-mvc.ns.ts";

§Namespaces

MandarineMvc

This namespace contains all the essentials for Mandarine MVC to work

MandarineMvc.Configurers
MandarineMvc.HTTPResolvers
MandarineMvc.Internal

Refers to all the internal functioning (in MVC) that is used by Mandarine's core.

MandarineMvc.Internal.Core
MandarineMvc.Routing

Refers to all the information the Routing handlers need to work out.

MandarineMvc.TemplateEngine

Refers to all the information that the rendering engine needs to work out.

MandarineMvc.TemplateEngine.Decorators

Decorators information related to the view engine/template engine

§Classes

MandarineMvc.TemplateEngine.RenderEngine

§Enums

MandarineMvc.HttpMethods

Contains all the HTTP Methods available.

MandarineMvc.HttpStatusCode

Hypertext Transfer Protocol (HTTP) response status codes.

MandarineMvc.Internal.MiddlewareType
MandarineMvc.MediaTypes

Contains all the Media Types possible in the internet

MandarineMvc.Routing.RouteInitializationStatus

Refers to the status of a route at compile-time.

MandarineMvc.TemplateEngine.Engines

Supported view engines by mandarine

§Variables

MandarineMvc.Internal.Core.getCacheManager
MandarineMvc.MVC_ABORT_CONTROLLER

§Interfaces

MandarineMvc.AllParameters

Interface of object returned when using decorator @Parameters().

MandarineMvc.Configurers.WebMVCConfigurer
MandarineMvc.Cookie
MandarineMvc.CorsMiddlewareOption

Information used by CORS decorator & CORS Middleware for functionality

MandarineMvc.DecoratorFactoryData

Metadata & information of a Mandarine-generated decorator through custom decorators

MandarineMvc.HTTPResolvers.ResourceResolver

Resolves the requested resource.

MandarineMvc.Internal.Core.CacheItem
MandarineMvc.Internal.InternalMiddleware
MandarineMvc.MultipartFormData

Interface of object returned when using decorator @RequestBody() in request which data is of Multipart/form-data

MandarineMvc.MultipartHeader
MandarineMvc.RequestContext
MandarineMvc.RequestContextAccessor
MandarineMvc.RequestDataContext
MandarineMvc.RequestTimeContext
MandarineMvc.ResponseContext
MandarineMvc.ResponseStatusMetadataContext
MandarineMvc.Routing.RoutingAction

Contains the information the Mandarine MVC engine will need in order to read & execute an endpoint. When an endpoint is requested, the routing action indicates how the Mandarine MVC engine should behave.

MandarineMvc.Routing.RoutingAnnotationContext

Contains the metadata information of a route. Like its controller and the method that should be executed.

MandarineMvc.Routing.RoutingOptions

Refers to the possible configurations a route can have.

MandarineMvc.Routing.RoutingParams

Refers to the information of a param in a route. /:name <----- for example

MandarineMvc.routingParamContext
MandarineMvc.TemplateEngine.Decorators.RenderData
MandarineMvc.TemplateEngine.RenderingOptions

If manual is set to true then the template is defined in the decorator @Render

MandarineMvc.TemplateEngine.Template

Information of the template registered in the templates' registry

§Type Aliases

MandarineMvc.CustomDecoratorExecutor

Interface used for the custom decorator executor. Custom Decorator Executor refers to the context of a mandarine-powered decorator created by the user.

MandarineMvc.Internal.InternalMiddlewareFunc
MandarineMvc.Internal.InternalMiddlewareLifecycle