Ego v Benefit

By Andy, filed under CakePHP, CoreStuff

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...

read more9 comments

  • Following Cake's code standards

    By Andy, filed under CakePHP, CoreStuff

    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 ...

    read more2 comments

  • Making the most of the router

    By Andy, filed under CakePHP, CoreStuff

    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 ...

    read more8 comments

«  »