codeigniter_doctrineIn this video, I show some sample code I wrote in a fresh install of CodeIgniter and Doctrine. It’s very easy to use once you get familiar with it. This will allow you to avoid writing repetetive CRUD functionality in all of your CodeIgniter models.
Later I will post an article showing how to install Doctrine into your CodeIgniter setup.

In this video:

  • First I create 2 models.
  • Then I create the database tables based on these models.
  • Finally I insert some data into the tables by using very simple code that doesn’t involve any database queries.