CakePHP is kicking me directly in my stupid head. Seriously, I’d hate it if it weren’t so goddamned cool.
I just finished ripping apart a site built in Cake so I could style it all pretty-like, and I think I may have developed a touch of Stockholm syndrome. So begins the usual “I’m gonna learn stuff” routine: I go on a book-finding mission, take it home with elation, and sit down at my desk with a big ol’ grin betraying that I have no idea what I’m getting myself into. Double-digit hours later and my hair has shaped itself into a frustration-based fauxhawk from running my fingers back through it. I’m suffering from low-grade dehydration, my left eye has just stopped working, and my shoe is mysteriously missing. How long have I been here, I wonder to myself. Have I always been here? I can no longer recall.
I’m getting the MVC breakdown, sort of. I mean, I kinda know what they do? I remain confused, despite helpful learning aides like this:

The basic gist is that they point at each other.
Based on what I’m getting – and this is mostly me writing it out to try and manage the two liters of information I just poured into my dixie-cup brain – this is the break down:
The Model is the bid’ness end of the deal. I’m not sure if it refers to the crisp candy shell of the database and the creamy nougat data contained therein, but I do know that it refers to the process of ripping said nougat out of there. I guess it’s, uh, the straw, used to… Extract nougat. This analogy is falling apart fast.
The View – this I get. It’s a template dealie. The view is what puts the nougat on… Your eyes. The model rips the data down, the view does as the name implies. This also includes, say, producing the input field into which you type “buy some eggs why don’t you.” You hit save, and said egg request goes to:
The Controller, whose job is – as far as I can tell – to know what “save” means. “Save means put this into the database,” it exclaims, handing the information from the view on over to the model. And so is the circle completed.
One of you blogotopians can feel free to correct me if I’m off-base, or if you know any good resources for learning me some Cake. I’m getting into the kind of territory where googling an error returns thousands of sites that have that actual error, rather than something that tells me what it means. It makes things a little tougher.