Glue Interactive

CakePHP Best Practices: Rethinking the hasAndBelongsToMany Association

This post dropped Mar 27th, 22:22, in to CakePHP

Continuing our series helping you write better CakePHP applications, we now turn to the dreaded hasAndBelongsToMany relationship. It's handy, but for anything other than the most basic examples it falls flat. Not anymore. Read more»

CakePHP Best Practices: Fat Models and Skinny Controllers

This post dropped Jan 23rd, 21:54, in to CakePHP

In the first in a series of ongoing articles on CakePHP best practices, I'll show you the proper proportions to bake your cakes. It's time to stop writing controllers thousands of lines long and learn the joy of fat models and skinny controllers. Read more»

Showing 2 of 2 posts