Lazy evaluation of context data

Registered by Vadim Fint

This blueprint is about context type for template engine: should it permit lazy data evaluation or not.

Blueprint information

Status:
Not started
Approver:
Vadim Fint
Priority:
Undefined
Drafter:
Vadim Fint
Direction:
Needs approval
Assignee:
IPI Tech
Definition:
Discussion
Series goal:
Accepted for trunk
Implementation:
Not started
Milestone target:
None

Related branches

Sprints

Whiteboard

Personally, I think context should be very strict. Thus, this should apply:
 * no changes allowed since template rendering start. This will allow to make a LOT of optimizations in rendering engine. This also allows much more efficient loops inside template.
 * context should be static. This means that it fully evaluates any lazy data sets before rendering. Internally context will be represented as a big dictionary (only 1 level in opposite of django template context style).

Goals:
 * easy debugging (template logic will not be mixed with lazy data evaluation)
 * speed (we can make a lot of optimizations if context will be static)

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.