News Feed
Sections




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

Richard Thomas' Blog:
Solar Framework Shorts - Extending Solar's Page Controller
October 06, 2009 @ 08:24:32

Richard Thomas has posted another "short" in his series looking at the features of the Solar Framework. This time he focuses on enhancing the base framework functionality by extending the Solar_Controller_Page class.

Solar's manual has a getting started section that walks you through setting up a basic app, This app extends "Solar_Controller_Page" which handles a lot of the backend work for you. As you get into your project you will find that pretty much every controller you have needs access to some basic structures and information, how can you ensure these are always available?

His example extends the Solar_Controller_Page to provide two model objects automatically to the rest of his application (as protected objects in the base class).

0 comments voice your opinion now!
solar framework extend page controller tutorial


blog comments powered by Disqus

Similar Posts

NETTUTS.com: How to Write a "Most Popular By Views" WordPress Plugin

Matthew Weir O'Phinney's Blog: Login and Authentication with Zend Framework

Daniel Vecchiato's Blog: Using Zend Framework components in Code Igniter

PHPBuilder.com: PHP Form Validation System: An Object-Oriented Approach

SitePoint PHP Blog: Getting Started with FigDice


Community Events

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


language interview community laravel5 extension threedevsandamaybe security version framework api podcast unittest laravel series opinion release symfony library introduction voicesoftheelephpant

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