This week in Cake (part 4)

Well, this week was interesting, the guys at Debuggable and Cakebaker have a different opinion about private methods. Debuggable begins by writing a post about not using them and Cakebaker responds with a number of arguments and an example that you do need to use them.

I can see valid points in both their arguments.

Studio Canaria has made a thumbnail helper to well… you know… make thumbnails ;)

Jonathan Snook thinks the default cake debug style isn’t that pretty and has made his own.

Also the bakery has become more and more active these days, check it out for a lot of new helpers and such.

Filed Under: CakePHP, English - read on

This week in Cake (Part 3)

The nuts and bolts of CakePHP blog started a series about the always tricky HABTM (Has And Belongs To Many) relationships in Cake. If you don’t completely understand the workings of a HABTM releationship head over to Notes on CakePHP HABTM (Part 1, the basics)

On the cakeForge snippets section there are a lot of scripts for creating thumbnails of images. Blognol.com has written a post about just that thing. If you don’t like any of the CakeForge snippets, head over to create thumbnails using cakePHP.

Chris Hartjes asks the question why you wouldn’t want to use Namespaces in CakePHP. If you want to know what he thinks read it at Namespaces in PHP? Why *wouldn’t* you want them?

Peter Butler of Studio Canario has written a post about CakePHP Containable Behavior where he has a real world example of the behavior to better explain the workings of it. check it out at CakePHP Containable Behavior

That’s it for this week, if you have any questions, use the comments form or talk to me in the always busy #cakePHP channel on irc.freenode.net

I’ll post again next week (and maybe even throw in an actual post about using cake ;)). Until then, Happy Baking!

[edit] Fixed link to containable behavior, tanks to RainChen[/edit]

Filed Under: News - read on

This week in Cake

So what happened in the wonderful world of CakePHP this week?

Well the Bakery seems to have a bit more action going on the last few weeks. Some new articles appeared this week like Acts As Censored by jon bennett and how to add a trailing slash to CakePHP by Marc Grabanski.

Not only the bakery had new articles but also Mr Daniel Hofstetter (CakeBaker) found a new approach for static pages. I think it’s a cleaner approach then to abuse the error handler and it keeps the CakePHP directory/file structure intact.

Chris Hartjes from @theKeyboard writes about the fact that it’s really easy to make CakePHP iPhone compatible in CakePHP and the iPhone

And last but certainly not least the busy blogging guys of Debuggable have written two articles on Cake, namely How To Execute Only Specific Test Methods in CakePHP Unit Tests by Tim Koschützki and How to Group By in CakePHP’s new release Part 2 also by Tim. Both are very well written articles and i like the fact that they use a lot of example code. I like to think that example code gives a much better understanding of the concept, but readers should also be aware that it isn’t copy/paste material and only serves as an example of the concept, not to slap it in your own code and have it work like magic.

Well that’s it for this week. If i missed something that happened or you have your own blog about CakePHP, let me know and i’ll add it to this post!

Filed Under: CakePHP, English - read on