xmlet/HtmlFlow

Enhance DynamicHtml view() factory with a pre building process

fmcarvalho opened this issue · 1 comments

HtmlTemplate instances can be processed before-hand with a mock model object (through a dynamic proxy) that intercepts all calls.

Thus, all static parts can be processed and stored on call to view(). Any, call to the model out of a dynamic scope it is intercepted by the mock object and throws an exception alerting for the illegal use.

This would avoid control of the first visit in HtmlVisitorCache.

Removed HtmlVisitorCache. There is no more control of the first visit in HtmlVisitorCache. Preprocessing included in release 4.0.