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 - Deleting Caches
September 28, 2009 @ 11:11:57

Richard Thomas has posted a new "short" for users of the Solar Framework to delete cached data.

This one is simple but sweet, In your Models directory you define your Models and the basic rules they follow but do you know you can also make changes at the record level. Solar is smart and if it sees a Test/Record.php when creating records for the Test model it will load that class, this allows you to do all kinds of magic.

His example shows how the script can automatically check, on pre-save, to see if the data is different than that in the cache and remove it if so. This cached data is replaced the next time through with the latest information.

0 comments voice your opinion now!
solar framework short delete cache automatic


blog comments powered by Disqus

Similar Posts

PRADO Watch Blog: PRADO Watch: Interview With Timani Tunduwani - Why I Moved From CakePHP to PRADO

NetTuts.com: Building a Customer Management App Using AngularJS and Laravel

Cake Baker's Blog: First (?) german CakePHP blog started

Richard Thomas' Blog: Solar Framework Shorts - Controlling form layout

PHPMaster.com: Aura.Web: Aura’s Page Controller for MVC


Community Events

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


library unittest extension introduction framework community version series api laravel wordpress list voicesoftheelephpant podcast interview php7 opinion language release laravel5

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