News Feed
Jobs Feed
Sections

Recent Jobs

News Archive
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



Similar Posts

Ian Selby's Blog: Dynamically Add Functions to PHP Classes

PHPImpact Blog: Running PHP with Quercus in Jetty Web Server

NewsForge.com: Using phpMyAdmin

Padraic Brady's Blog: Zend Framework App Tutorial - Part 9: Zend_Vew and Displaying Blog Entries

The Bakery: Keeping bindModel and unbindModel out of your Controllers


Community Events









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


job application database code zendframework releases mysql PEAR example package PHP5 cakephp release developer framework book ajax security zend conference

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