Archive
You are viewing all articles posted in “CakePHP”
Recent articles can be found on the homepage.
Disable fancy errors in CakePHP
posted on 21 July 2009 (04:35 PM)
Here at work we often go crazy because of CakePHP's "helpful" displaying of error messages.
They are littered with HTML and, even worse, Javascript and provide an often superfluous stack trace, which makes it harder to read the actual error message.
Generate unique slugs in CakePHP
posted on 23 October 2008 (10:41 AM)
I believe it was Wordpress who came up with the term "slug". It has been adopted by many other systems though, and it basically means the following: a unique identifier which can be used in a URL to create a permalink to a page.
At least, that's my interpretation of it. In this article I will show you how you can generate a unique slug easily when working with the CakePHP Framework.