Load templates dynamically from a database
See original GitHub issueI really like jte
syntax and its simplicity, but I’m wondering if jte
is suitable for the following use cases:
- Our system should be able to render templates that are stored in external datastore, e.g. relational DB.
- Also we should be able to adjust templates without the need to restart or redeploy our application but only change template body in a DB
Issue Analytics
- State:
- Created a year ago
- Comments:17 (8 by maintainers)
Top Results From Across the Web
Dynamically load template for a component #15275 - GitHub
I'm submitting a [X] feature request I have a component which provides some generic business logic. Let's say: CRUD functionality ...
Read more >Angular 5, Set Component's Template From Database, And ...
I am trying to load a component's template dynamically from database, what I have is the following HTML Template <h1>{{tname}}</h1>.
Read more >Dynamic data in templates · HonKit
Dynamic data in templates. We have different pieces in place: the Post model is defined in models.py , we have post_list in views.py...
Read more >Dynamically Load Template Based On Data
The Scenario: The system I am working with requires many different templates, which have different formats and arrangements.
Read more >C# How to dynamically load email template file dynamically
1 Answer ; MockupEmail.Write(); ; var templates = MockupEmail.Read(); ; var Template2 = templates.FirstOrDefault(x => x.Name == "Template1"); ; List ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@casid thank you for your answers, they’re really helpful.
@edward3h thanks, I’ve checked the source code more thoroughly and
CodeResolver
definitely should work.