Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Load templates dynamically from a database

See original GitHub issue

I really like jte syntax and its simplicity, but I’m wondering if jte is suitable for the following use cases:

  1. Our system should be able to render templates that are stored in external datastore, e.g. relational DB.
  2. 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:closed
  • Created a year ago
  • Comments:17 (8 by maintainers)

github_iconTop GitHub Comments

isaranchukcommented, Jul 18, 2022

@casid thank you for your answers, they’re really helpful.

isaranchukcommented, Jul 11, 2022

@edward3h thanks, I’ve checked the source code more thoroughly and CodeResolver definitely should work.

Read more comments on GitHub >

github_iconTop 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 , we have post_list in
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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found