Hi everyone I have a question pertaining to the appropriate use cases for packages like DBIx::Class::Schema and friends. I'm building a reporting framework, using Catalyst as a display/admin interface. The reports themselves are all being stored in a Postgres database. The database is subdivided into schemas, and makes liberal use of views, functions and privilege separation (I'm even using GSSAPI cred. delegation through Apache/Catalyst to Postgres) Reading through the Catalyst docs (and the book), DBIx::Class and friends are plugged frequently as the most sane way to do the model part of MVC. Upon using DBIx::Class::Schema::Loader, I realized it could not automatically create a model because of my use of schemas in my database. I've considered my projected workload, which is read often/write infrequently/update almost never. I've also considered the nature of some of my in-progress reports (they leverage functionality in the database like temp tables to generate reports) Given that I will have to make all my DBIx::Class::Schema objects by hand, will I come out ahead by making a complete model in that manner? Or am I better off sticking with posing relevant queries directly to DBI, and forgoing the use of DBIx::Class? If anyone has any experience with the +/- of building model classes for this style of database, I'd appreciate your insights.

In reply to Is DBIx::Class::Schema a good fit for me? by woogs

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.