Jan 25, 2009
Fancy URLs with Inflector::slug
Motivated by my recent tweet i thought i share my method of replacing the old SluggableBehavior with core functions.
Sometimes we have more than one model that uses slugs. For example: Tags, Posts,...
read more
Jan 17, 2009
CakePHP 1.2.1 is out! (r8004)
On twitter i just took note that theres a new release out. Cool! Check out the announcement in the bakery and download it from your favorite source. I’ll do “svn up” for now and enjoy....
read more
Jan 8, 2009
Did you know? String::insert is nice for translation!
You probably replace your language strings like so:
e(sprintf( __("Please %s or %s to write a comment", true),
$html->link(__("login", true), array('controller' => 'users', 'action' => 'login')),
...
read more
Jan 6, 2009
Datasources in Cake / [ANN] Last.FM Source
Some who follow me on twitter might know that i don’t sleep so well recently. But why waste time then? Maybe one isn’t ready for working on the big projects around 3am, but chances are that...
read more
Jan 4, 2009
Runtime – Get various system infos (UPDATE)
In my recent post i talked about the Environment class and how to use it to switch databases with ease. Today i paid the blog of Neil Crookes a visit and found his most recent post to be of the same...
read more
popular articles
random articles

