Stathy G. Touloumis wrote: > I felt that for certain templates there could be a way to not > necessarily set callbacks but have variables initialized 'automagically' to > the appropriate data values when the template gets called.
I define a callback as something that is called from a template that adds new data to the current environment. What you're describing is a callback to me. > This would be > useful for certain types of templates where the context is indifferent. I think it's more accurate to say it would be useful for certain pieces of data which are trivial to fetch, like a list of months. > It > would also allow the separation between the model and view. That isn't the problem. Separation between the controller and view is where I saw the trouble with callbacks. But as I said before, it's a moot point with something as trivial as a list of months. - Perrin
