Ego v Benefit
19 Feb 2008
As many will now know the Cookbook for CakePHP is now live. Coupled with the Bakery that should mean that documentation, and finding info regarding cake, just got a whole lot easier. These two applications now mean that the scope for this blog is reduced to things that I don't deem either book worthy (not documenting how to use something) or bakery worthy (useful info that is...
Following Cake's code standards
25 Jun 2007
If a team of developers follow a set of agreed code standards, it makes life a whole lot easier to compare (i.e. a diff) of two versions of the same code and see what has changed. If you try to compare two version of the exact same code formatted differently, the result will be a lot of highlighted differences when in terms of functionality they are the same. This is quite ...
Making the most of the router
03 May 2007
The router is the part of Cake which takes your url and splits it up so the dispatcher knows which controller and action to run. In 1.1 that's about all it does, but in 1.2 the router also works the other way around too - you can feed it an array of controller, action and paramters and it will tell you which url that corresponds to. All of cakes url using/generating methods ...