-
-
Notifications
You must be signed in to change notification settings - Fork 10
Working with templates
Alexanderius edited this page Jul 3, 2025
·
2 revisions
To work with HTML templates (load and insert data), you should use the TemplateFactory property of a controller or view base class.
A template is a *.tpl
file that contains partial or full HTML content (it can actually be any text data).
TemplateFactory loads a specified template from the specified templates folder and returns the ITemplate
interface.
This is an interface from the Simplify.Templates library.
A description of how to work with templates (including localization) is available on the Simplify.Templates wiki page.
- 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