-
-
Notifications
You must be signed in to change notification settings - Fork 10
Template factory
Alexanderius edited this page Jul 3, 2025
·
3 revisions
TemplateFactory
is a class for loading HTML templates.
- You can load templates by
Load("template name")
orLoadAsync("template name")
methods. - Templates are loaded from the specified templates folder in Simplify.Web configuration or from the current assembly (this option can also be enabled in Simplify.Web configuration).
- Templates can be cached in memory (this option can also be enabled in Simplify.Web configuration).
- For static pages, it is recommended to use the respective
StaticTpl
controller response instead ofTemplateFactory
directly.
- Getting Started
- Main Simplify.Web principles
- Simplify.Web controllers
- Simplify.Web views
- Simplify.Web templates
- Simplify.Web configuration
- Templates variables
- Static content
- Template factory
- Data collector
- String table
- File reader
- Web context
- Environment
- Dynamic environment
- Language manager
- Redirector
- HTML