Ruby-on-Rails style Active Record class for CodeIgniter

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.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s