Automatically track who makes Database changes

By Andy, filed under CakePHP

You may well find that you want to automatically know which user is adding or updating your database info. There are a few ways to do this and I recently, inadvertently, let slip that I have a whoDunnit (who did it) behavior which I use for exactly this purpose.

I wasn't sure if I should make it public; trouble is a little knowledge is a dangerous thing, and the...

read more8 comments

  • Generic File Upload Behavior

    By Andy, filed under CakePHP

    On a recent project I had to address the requirement that the admin user can "upload any type of file and associate it with any of the models in the system". In reality this seems to be a rather logical and common requirement. For quite a while now I've been collecting bits of info on how to upload files with cake and it's about time to begin sharing the knowledge. Did I say ...

    read more30 comments

  • Announcing ?DM0eight

    By Andy, filed under Real Life

    I usually only write about technical things here, but there are some things that are worth sharing. Still, it's boring to just blurt things out so for anyone reading the title to this blog thinking "huh?" (and I bet that's most of you) here are some hints to help figure out what it means:

    • My net name is AD7six
    • This is made up of my initials and the year I was...

    read more6 comments

«  »