[Solar-talk] Layouts and modifying the view stack

Paul M Jones pmjones at ciaweb.net
Fri Mar 16 14:29:36 PDT 2007


Hi Rodrigo,

On Nov 17, 2006, at 2:37 PM, Rodrigo Moraes wrote:

> By the way, a request: add the /View as a final fallback for the
> layout stack. This may not seem correct since views are views and
> layouts are layouts ;-), and I agree that we should try to have as few
> layouts as we can. But for example, I'm used to make layouts which
> include *dynamically* a view template or another, and they are never
> stored in /Layout because they are app related. This is a common need
> I think (set dynamic templates in layouts), so here is the request
> that would avoid a initial confusion and perhaps a bit of frustration
> from people starting with Solar. :-)

As long as I'm messing around with the page-controller in the app  
branch (more replies on that later), do you still think this is a  
worth-while feature to add?


--

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