This repository has been archived by the owner on Jun 30, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Template factory
Alexanderius edited this page Jun 29, 2019
·
3 revisions
TemplateFactory
is a class for loading HTML templates.
- You can load templates by
Load("template name")
orLoadAsync("template name")
methods; - Templates loads from specified templates folder in Simplify.Web configuration or from 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 respective
StaticTpl
controller response instead ofTemplateFactory
.
- 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
- Language manager
- Redirector
- HTML