Last Updated: February 25, 2016
·
912
· uvb

DBIx::DataModel - An effective ORM for Perl

DBIx::DataModel - https://metacpan.org/module/DBIx::DataModel- is a highly effective but often overlooked ORM / SQL Abstraction module for Perl.

Key advantages:
* Automated code development is minimal, clean and effective. It achieves this by avoiding remapping columns to attributes - but tables and relationships are effectively described in a single schema file. The advantage for development is less auto-generated code to fill up your code repository and faster development cycles. However, object methods are still available on returned result sets.
* Result sets are (blessed) simple lists of hashes. The benefit of this easy debugging and easy output of result to destinations such as serialization to clients.
* Obtain the benefits of SQL (filtering, aggregation, sorting, joining, ...) but using a nicer language - Perl. Joins are easy due to storage of associations in the schema file. Uses a sub-classed version of SQL::Abstract with a clearer interface.
* Simple and elegant.