4 ms·
Thanks for pointing out that active record is a generic pattern. I didn't know that (and judging by angular-restmod's README its author may not know it too). Y
by goblin89 12y ago
Thanks for pointing out that active record is a generic pattern. I didn't know that (and judging by angular-restmod's README its author may not know it too).
You say active record is anti-pattern, but can't it be combined with managers? For example, in Django, model's save() method eventually delegates to the manager and anything concerning actual DB happens down the line.
Angular-restmod doesn't do that, though. I checked its code and it just uses $http directly.