News Feed
Sections




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

Jonathan Snook's Blog:
Easier Static Pages for CakePHP 1.2 Update
July 07, 2008 @ 12:05:44

Updating from a previous post, Jonathan Snook has updates some of his comments about a simple way to make static pages in your CakePHP framework application:

So it seems that the old code I had didn't work in debug mode, although on the current CakePHP 1.2 RC2, I'm not even sure it works at all. However, I decided to take some time to revisit the code. Last time, I simply hacked up the missingAction and missingController calls and it felt kludgy. It looked kludgy.

Instead of abusing the error handler like before he decides to opt for this missingAction/missingController combo to handle the fall through. It doesn't seem to be working 100% correctly, though and he's put in a ticket to see if its a bug or by design.

0 comments voice your opinion now!
static page cakephp framework tutorial missingaction missingcontroller


blog comments powered by Disqus

Similar Posts

Alexander Netkachev's Blog: How to use Zend Framework Controller/Action approach?

Symfony Project: Larger compatibility (magic_quotes_gpc)

PHPied.com: Getting an RSS feed with the Zend framework 0.1.1

Juan Terminio's Blog: Setting Up a Debian VM, Step by Step

Zend Developer Zone: This Week in the Zend Framework, Issue #7


Community Events





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


list deployment opinion library tips framework install podcast interview language voicesoftheelephpant symfony introduction laravel api community package bugfix release series

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