Welcome Guest, Not a member yet? Register   Sign In
Active Record 1.0 or 0.3.2?
#1

[eluser]Unknown[/eluser]
I found a wiki page for active record 0.3.2 - http://codeigniter.com/wiki/ActiveRecord_Class/. It seems to have a different approach to the DB_active_rec.php file I got in the CI 1.7.1 package. Instead of just a bunch of helper functions for queries, each object of the class represents a different entry:

To delete an entry:
$this->delete();

To update:
$this->save();

etc. This seems kinda cool, but DB_active_rec.php doesn't have this. Should I switch back to 0.3.2? Or is this approach outdated?

Thanks for helping someone new to CI.




Theme © iAndrew 2016 - Forum software by © MyBB