> 1) Alloy creates an instance of your Controller when it is dispatched to.
> It should re-use the same instance on subsequent HMVC calls.
Ok, perfect.. o)
> .., though it may be difficult to pass data to another template
> directly because they are sandboxed.
Uhm, so passing data by reference, would make little sense, because I
cannot
reference to global view data, as such data does not exist, right..
o) ?!
> I am open for ideas on adding this, though - as it seems like a useful feature.
> Some sort of static collection of variables that can be set and retrieved in
> the view templates.
Yes, what you describe is at least possible with FuelPHP e.g. It has 2
methods for setting local/global view data and another 2 methods for
setting
local/global view data by reference (bind() & bind_global() for the
last).
I assumed the majority of frameworks would not be that different at
this corner,
but having some closer looks, teached me better.
I wonder how people get along without basic features, like the one
mentioned
(references/global), i might have "high" requirements, or just don't
know how
to design an application by using any HMVC-framework correctly.. o)
Thank you, I'm a bit smarter by now!.. o)
Robert