Second architectural pattern used in most modern web application frameworks is Active Record, used for accessing data in relational database. Table is wrapped into a class and an object instance is tied to a row in the table. Active Record class usually has methods that implement SELECT, INSERT, DELETE and UPDATE statements