[Solar-talk] Wiki links

Paul M Jones pmjones at ciaweb.net
Mon May 28 14:01:43 PDT 2007


On Apr 27, 2007, at 8:31 AM, Antti Holvikari wrote:

> Paul, do you prefer to use the markdown
> object in your templates or in controller scripts? At least setting
> the hrefs in the view makes sense since I can use the action helper.

I tend to do the Markdown conversion in the controller scripts, and  
deliver the HTML to the view that way.  This makes caching of the  
converted HTML much easier.

In general, I know in advance what the base URIs are for the HREFs,  
usually just "controller/action".

Does that help at all?



--

Paul M. Jones  <http://paul-m-jones.com>

Solar: Simple Object Library and Application Repository
for PHP5.  <http://solarphp.com>

Join the Solar community wiki!  <http://solarphp.org>

Savant: The simple, elegant, and powerful solution for
templates in PHP.  <http://phpsavant.com>




More information about the solar-talk mailing list