Man, my notes on these changes were awful.

As noted below, the widget is no longer in the namespace of the
template. What I didn't mention is that I simplified a lot of the
variable names. Since these templates are very special purpose and
just for widgets, things like "widget_value" just became "value". At
this point, using simpler names seemed to make sense, and it didn't
seem to me that name collisions were going to be a giant problem.

Kevin

On 2/2/06, Kevin Dangoor <[EMAIL PROTECTED]> wrote:
> Another thing: the widget itself is no longer automatically provided
> to the template namespace. This encourages two things:
>
> 1) threadsafe use (since you can't just dump things in the widget and
> grab them from the template)
>
> 2) moving more computation to the Python code (since you'll likely
> need to create an update_data method to give data to the template
> anyhow)

Reply via email to