News Feed
Sections




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

Debuggable Blog:
Two CakePHP Tricks
August 25, 2008 @ 15:58:03

On the Debuggable blog Felix has posted two quick tips you can use in your CakePHP application - one related to debugging and the other about custom config files.

For tip #1

If you just put a debug() statement in, you will see hundreds of outputs and would not know which one belongs to the case you are interested in. My favorite solution to this problem is to use the Configure class as a toggle for showing the debug information.

For tip #2

This is a very simple one. To make your application configurable via a global config file, all you need to do is the following.

Both come complete with code examples.

0 comments voice your opinion now!
cakephp trick debug function custom configure file


blog comments powered by Disqus

Similar Posts

PHP and Me Blog: Use Phing to Update your SVN-Version-Controlled Website Automatically, Through FTP

Doug Brown's Blog: Zend Framework vs CakePHP Framework

JetBrains.com: Just-In-Time debugging and PHP Exception Breakpoints with PhpStorm and Xdebug

ThinkingPHP: Google Analytics PHP API (CakePHP Model)

Daniel Krook's Blog: Technologies of the day: CakePHP & CodeIgniter


Community Events





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


symfony podcast development series conference zendserver tips deployment code threedevsandamaybe community api laravel language introduction framework bugfix interview list release

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