This question seems to pop up every now and then. Making a model without a table is actually very easy.
Trivial as it is, for some reason people still ask this question: how do I make a tableless model? Or: how not to use a table within a model? Why is this still a problem to find on your own? Plenty of info over many blogs, mailing lists and even the freaking Cookbook(!).
So how is it done? Easy!
class FeckArse extends AppModel
{
var $useTable = false;
}
Could it be that easy? Yes. It's cake, remember?
Questions?


Article comments — View · Add