Matthew Pennell has announced a new Active Record class for CodeIgniter that is based on the one used in Ruby On Rails.
While I generally find the Model-View-Controller pattern implemented by CodeIgniter to be very much in line with my way of thinking, when I recently discovered Ruby on Rails I was impressed by (to my mind) the much more natural way it implemented Active Record. So, I sat down and built a Rails-like Active Record implementation for CodeIgniter.
-Matthew Pennell (The Watchmaker Project)
Here’s Matthew’s announcement “Porting Active Record to CodeIgniter“, his post “Active Record for CodeIgniter: Rails style model interactions“, and Matthew’s superbly written ActiveRecord Class documentation on the CodeIgniter wiki.
Note that the class is for PHP5 implementations only.
All of my recent websites are based on the CodeIgniter framework, so I’m anxious to try Matthew’s Active Record implementation.