Collected advice for avoiding hijacking / carjacking.
Showing posts from December, 2008
The Active Record pattern is an "object that wraps a row in a database table or view, encapsulates the database access, and adds domain logic on that data". Metaprogramming in Lisp/Scheme, and to a limited extent Python and Ruby would generate a class library at run-time, for example to perform object-relational mapping with the ActiveRecord pattern. In Python at least, the only code you see is a the metaclass and decorators, with some custom logic added on.