The implication of the two replies so far is that concurrency control is not within the framework's remit and should be implemented within the database.

Most, if not all, of the current 'business logic' is really validating data integrity - much of it complex so that it cannot be stated using database constraints. Most of this validation requires some sort of concurrency control to guarantee 100% integrity within a multi-user environment.

However, I should be looking to move this business logic into the database - as constraints, stored procedures or triggers - in order to achieve the guarantee of data integrity I am after. Any such logic within the framework in a multi-user environment can give me no guarantees that it is actually adhered to. The framework will really end up as a transportation layer moving data for the database to the UI and back with limited additional functionality.


In reply to Re: Catalyst Concurrency Control by Anonymous Monk
in thread Catalyst Concurrency Control by Anonymous Monk

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.