Hung Vo wrote:
Quote:
I'm not sure if that means something similar to DAO pattern. |
No, of course, nothing wrong with abstracting whatever model whenever
you can avoid delving into low-level details.
But we agree that there is a lot of wrong in thinking that subclassing
ActiveRecord (*) is all you need to design the persistence layer,
especially if the application/website wants to be scalable in both
complexity and performance.
(*) not using the R word here since I've never used it, but there are
others and many will come