in reply to Re: SQL Library modules - DBIx::QueryByName
in thread SQL Library modules - DBIx::QueryByName

orthogonal integration of concerns
let's take DBIx::Password as an example, it confuses the concern of storing the configuration info for connecting to a database with the concern of connecting to a database.

Connecting to a database is best handled by DBIx::Connector. Application configuration information is best handled by (pick your favorite config module, I like a Moose class myself). Orthogonal integration of these two modules is one way to get database connections. The other way is violation orthogonal integration of concerns and try to lump it all in a single module like DBIx::Password.

Now, this SQL Library module does a similar thing. It tries to handle database sessioning AS WELL AS sql cataloging. Yet another violation of orthogonal integration of concerns

  • Comment on Re^2: SQL Library modules - DBIx::QueryByName

Replies are listed 'Best First'.
Re^3: SQL Library modules - DBIx::QueryByName
by zentara (Cardinal) on Nov 02, 2009 at 16:26 UTC
    orthogonal integration of concerns

    from my background, if something is truly orthogonal, it means it adds another dimension to the set..... this seems desirable to me... more dimensions, which can or can't be used.... too much Matrix algebra in school... :-)

    but i do see the different context that you give to orthogonal


    I'm not really a human, but I play one on earth.
    Old Perl Programmer Haiku