Jonathan Rockway wrote:
> On Sunday 17 June 2007 01:22:30 pm Jonathan Rockway wrote:
>> On Sunday 17 June 2007 01:02:52 pm Christopher H. Laco wrote:
>>> Well, if we're throwing things in the ring...
>>>
>>> C::View::Templated
>>>
>>> ->template()
>>>
>>> And some forms of:
>>>
>>> ->template_paths(\@)
>> I like this. Should we put this in a separate package, or right in
>> C-Runtime?
>>
>> Incidentally, you could do $c->view->template('...')* instead of
>> $c->stash->{template}, which looks pretty nice.
>>
>> * or $c->view('View::TT')->template('...') if you don't like default_view.
>
> Replying to myself... I am also going to add a process method that calls
> render. That way, as a template view implementor, you only need to make
> render work, and the rest will be taken care of for you. Convenient.
>
> Anything else I am forgetting?
> Good call...which has the added benefit of getting all the existing views to actually have a render() method. :-) -=Chris
signature.asc
Description: OpenPGP digital signature
_______________________________________________ List: [email protected] Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
