Codeigniter.tvbeta

Codeigniter video tutorials and screencasts

Extending the Codeigniter core: MY_Model part 1

What is a MY_Model and why is it such a good tool?

Author: Joost van Veen

2011/12/29

This is the first video tutorial in the Codeigniter.tv series 'Creating a MY_Model'. In this series, we will be creating our own MY_Model.

In this episode we will look at what a MY_Model is and why you would want to use one. Also, you will see a demo of what a MY_Model can do.

Bascially, a MY_Model is a base model from which you can extend all other models. In your MY_Model you would typically define all basic CRUD (Read, Update, Delete) functionality.