Archive of November 2007
VALID_NOT_EMPTY in CakePHP 1.2
VALID_* defines are deprecated in CakePHP 1.2. Getting the same effect as VALID_NOT_EMPTY means doing:
'field' => array('rule' => null, 'allowEmpty' => false, 'required' => true)
A little more typing but the validation in 1.2 is superb.
09:28 PM | 0 CommentsNoseRub - The home of decentralized, social networks
“NoseRub wants to be an inspiration, protocol and implementation of a decentralized social network.”
It’s built with CakePHP 1.2 and guess what - Daniel joined their team lately. Goog luck guys!
08:49 PM | 0 CommentsDisable browser window resizing in Firefox
Nowadays i use tabs for browsing and i hate it when pages change the size of a window. Here’s a tip how to disable this behavior in Firefox (via OS X Daily):
- Edit -> “Preferences”
- Content tab
- “Advanced” button next to “Enable Javascript”
- Uncheck “Move or resize existing windows”
changing all occurence of CAKE_ADMIN to Configure::read('Routing.admin') in a CakePHP project
So you used CAKE_ADMIN all across your project ? to switch to the new Configure class style run this in your project dir(I don’t have to tell you to do a commit before, do I ? ;):
find ./ -type f -exec sed -i "s/CAKE_ADMIN/Configure::read('Routing.admin')/" {} \;
12:23 PM
|
0 Comments
AydCodegen - a visual tool for mvc baking - CakePHP
Daniel Zelisko just released version 0.1 of AydCodegen. AydCodegen is a HTML frontend for bake tasks related to MVC files creation. See demo.
03:36 PM | 0 CommentsOpenID According to Dave - a great and simple explanation(via Identity 2.0 [PL])
11:48 AM | 0 CommentsLip Dub - Flagpole Sitta by Harvey Danger on Vimeo (via Vimeo) - You’ve probably seen it long time ago but i just remember i haven’t listened to it for some time ;)
10:36 PM | 0 CommentsSAG | Short Attention Gamer
A great and funny podcast about games for people and by people that don’t have time to play them ;) I’ve started with the 10/19/07 episode - really funny - it’s nice to listen to something less technical sometimes.<br/>
10:20 PM | 0 CommentsHAL and device management
A nicely written ;) description how hal , dbus, udev and co work. It’s a guide on how to tell hal to munt a device on a specific mountpoint but explains some hal stuff along the way.
01:25 PM | 0 Comments