[Solar-talk] Solar_View

Travis Swicegood development at domain51.com
Sat Oct 14 10:07:55 PDT 2006


Hi Matt,

Matt M. wrote:
> Before I get started... is there a better place to post code? I'd like 
> this to be considered for implementation to the source :)

This is the right place to post up code...


> I've noticed that the view class does not hold on the the template 
> path value. Everytime you render you have to tell it which template to 
> use, which means you can't pass it around to other objects and render 
> without the other objects knowing which template to use. I have a 
> controller framework that allows child controllers to pass their 
> responses (Solar_View) to their parent, but then the parent needs to 
> know what template to use... which does not work.
>
> ... snip ...

I'd be curious to see an actual use case for this.  Maybe seeing it 
outside of your controller is what is making it hard for me to see what 
it's purpose is.  Could you post up simple use case if for no other 
benefit than mine?

-Travis


More information about the solar-talk mailing list