|
From: Chris W. <ch...@cw...> - 2001-11-05 05:03:49
|
* Terrence Brannon (bl...@sv...) [011104 15:21]:
> 1: $spops = {
> 2: html_page => {
> 3: class => 'My::HTMLPage',
> 4: isa => [ qw/ SPOPS::DBI::Pg SPOPS::DBI / ],
> 5: field => [ qw/ page_id location title author content / ],
> 6: column_group => { listing => [ qw/ location title author / ] },
> 7: ...
> 8: },
> 9: };
>
> has storage-technology-dependant stuff in the app layer.
Which part are you referring to? The 'column_group' configuration
item, or the 'content' property?
> This is unacceptable. The storage technology is handled by the
> storage layer and this layer should be able to use the storage layer
> with no knowledge of that layer.
I'd say 'unacceptable' is a bit harsh. IMO, SPOPS shouldn't mandate
such concerns. If you want to separate these layers further, you're
welcome to do it and SPOPS won't stand in your way.
Chris
--
Chris Winters (ch...@cw...)
Building enterprise-capable snack solutions since 1988.
|