Dealing with dates… reporting, etc.

Once in a while I run into a situation, where some sort of reporting is required for an application… (It

Read more

A little tip about counterScope

One of many cool CakePHP’s features is the Counter Cache. From the manual: “This function helps you cache the count

Read more

Blacklist your model fields for save()…

You’ve probably heard that in order to make your save() more secure, you can pass-in a third parameter of only

Read more

How to build a “dashboard” for your application in CakePHP

As an addition to my recent post, I wanted to share a technique, which should allow you to pretty easily

Read more

How to build a "dashboard" for your application in CakePHP

As an addition to my recent post, I wanted to share a technique, which should allow you to pretty easily

Read more

Controller makeover (from ugly to beautiful)

Let’s take a controller ridden with problems and see how we can improve it. Hopefully this little experiment can help

Read more

Practical use of saveAll() (part 1, working with multiple models)

(Part 2 is here) I would like to provide some insight on how to use the saveAll() method, with a

Read more

Notes on CakePHP HABTM (Part 1, the basics)

Part 1. The basics HABTM seems to give a lot of people trouble, so I wanted to cover a few

Read more
%d bloggers like this: