Welcome Guest, Not a member yet? Register   Sign In
Is this really ActiveRecord?
#3

[eluser]Pascal Kriete[/eluser]
It certainly isn't ORM, and never claims to be. It isn't really ActiveRecord, either. According to the manual it's a modified version.
Quote:CodeIgniter uses a modified version of the Active Record Database Pattern.

In all reality it's probably best described as a database adaptor.

A little note on the difference between ORM and AR:
ORM often uses an ActiveRecord pattern, but the reverse isn't true. The difference is basically that AR does not have to handle relationships, it usually just describes them. So pure AR is: Blog.delete() ... Comments.delete(). ORM will automatically cascade.


Messages In This Thread
Is this really ActiveRecord? - by El Forum - 09-13-2008, 08:36 AM
Is this really ActiveRecord? - by El Forum - 09-13-2008, 08:58 AM
Is this really ActiveRecord? - by El Forum - 09-13-2008, 09:06 AM
Is this really ActiveRecord? - by El Forum - 09-13-2008, 01:00 PM
Is this really ActiveRecord? - by El Forum - 09-13-2008, 02:06 PM
Is this really ActiveRecord? - by El Forum - 09-14-2008, 03:56 AM



Theme © iAndrew 2016 - Forum software by © MyBB