HtmlFlow
HtmlFlow copied to clipboard
Enhance DynamicHtml view() factory with a pre building process
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
.