[eluser]Colin Williams[/eluser]
Well, here's how you "beat" it. Let's use a silly object, like a cat. When we want our cat model to give us a specific cat, we call something like
Code:
$this->cat_model->get('sir fluffington');
What you've taken out is the notion of a table, and even the notion of the structure of the table. You're just saying, "Get me Sir Fluffington." Or, more complex, what if you want to get cats from the current user.
Code:
$this->cat_model->get_user_cats($user_id);
From these two method calls, you can't really infer how the model gets that data. Is it coming from a database, an external API, a human-powered data-entry center, an automatic kitty vending machine? It's not for the Controller to really know or care. That's what the model is for.
And, there are ways to abstract it a little, at least if you limit yourself to using database storage. If you want to PM me, Xeoncross, anybody, I'd be happy to share some more about that.
Quote:LOL. I’ve been looking for something like this for a while… what would it take to get this in development?
Hrmm.. maybe we can just fork the whole framework to "CodeIgniterTheOpenSourcePHPFramework"