Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
template processor html read question
#5
(07-15-2018, 05:23 AM)joel Wrote: I would like to store templates in a database and then use them with a tiwTemplateProcessHTML.    

Does anyone know if it is possible to load a template from a database directly to a stream and have a tiwTemplateProcessorHTML use it without having to first save the file to the template location on the disk?

Yes, you can load your template from stream, using a correspondent event in template processor component.

I just can't *stress* enough how this is going to kill your application performance if you don't cache it externally. Rendering times will likely to double, even if your DB performance is outstanding.
Reply


Messages In This Thread
template processor html read question - by joel - 07-15-2018, 05:23 AM
RE: template processor html read question - by Alexandre Machado - 07-31-2018, 10:39 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)