Basically what's the difference between design pattern, module and some other terms we use.
+2
A:
That's quite a difficult question to answer.
It depends, basically.
Active Record is both, it's a design pattern in the traditional sense, described by Martin Fowler in Patterns of Enterprise Application Architecture. But, ActiveRecord (note no space) could be classed as a module, since it's an implementation of the Active Record design pattern.
Stephen Orr
2010-05-19 06:18:24
Mike, thanks for the additional clarification of my answer.
Stephen Orr
2010-05-19 08:53:30
A:
Just to give a different perspective, ActiveRecord:Ruby - Hibernate:Java. Both are ORM Frameworks and solve the recurring problem of persisting to database and converting data from RDBMS to OO Models. So, you can call it both a Design Pattern & Module or more specifically ORM.
Snehal
2010-05-19 07:44:42