Nathan Lane wrote:
Is this kind of like the Active Record methodology for PHP?

Nathan


<http://nathandelane.blogspot.com>
It is similar in purpose and outcome (working with entities instead of tables), but the implementation is different. Active Record has the code for the CRUD operations in the entity class itself and it generally requires your entities to extend a base class: User extends ActiveRecord. Outlet is more of a Data Mapper, where the your entities are decoupled from the code that saves them to the database, the data is saved by a "mapper" that is configured to know how to map the data. I think that Outlet is much nicer than an Active Record implementation :)

Alvaro


_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to