News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Paul Jones' Blog:
Solar Views and Layouts
July 13, 2007 @ 12:19:00

While the Zend Framework works out how it's going to integrate complex views, Paul Jones posts about how the Solar framework makes it simple to work with views and layouts.

He breaks up the post into different sections for the kinds of view/layout and controller combination:

  • Page Controller, View, and Layout
  • Variable Assignment
  • Other Layouts, or No Layout
  • Multiple Formats
  • Shared Layouts

The code in the post makes it simple to add an overall template for the site instead of having to add a header and footer to each view (or where the include doesn't belong).

0 comments voice your opinion now!
solar framework view layout complex variable solar framework view layout complex variable


blog comments powered by Disqus

Similar Posts

Secunia.com: CodeIgniter Weakness and Directory Traversal Vulnerability

Felix Geisendorfer's Blog: Basic CakePHP templating skills

Aleksey Zapparov's Blog: How to handle unexistence controllers/actions with Zend_Controller

NETTUTS.com: How to Use CakePHP's Access Control Lists

Jonathan Snook's Blog: Easier Static Pages for CakePHP 1.2


Community Events

Don't see your event here?
Let us know!


series library framework api release xdebug performance voicesoftheelephpant php7 conference extension introduction interview community podcast version example symfony2 laravel opinion

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework