892 B
892 B
Architecture
flash-ext-view-jte has two layers:
-
Boot-time
JteExtensioninstalls runtime + annotation processor.JteTargetResolvervalidates handlers and resolves@Template.- Resolved targets are cached per handler class.
-
Request-time
- Handler builds local
ViewModel. - Runtime injects globals under reserved
globalnamespace and merges local model. - jte renders template into
StringOutput.
- Handler builds local
Handler Contract
- Must extend
JteHandler. - Must have route annotation (
@Route,@GET,@POST, ...). - Must declare exactly one view annotation:
@Template.
Invalid configurations fail fast at startup.
Defaults
templateRoot:/templatescontentType:gg.jte.ContentType.HtmldevelopmentMode:Flash.DEVusePrecompiled: derived from!developmentModeunless explicitly setbinaryStaticContent:false