Thursday, May 27, 2004

Further notes.

Thinking to myself::


    Three layers...

      Data
      Control
      Structure


    Not sure though... most of Control is in the Data layer.


Maybe I should seperate Control into a pmodule... use WEB::Control;

The problem is that Indexes are code intensive the way I'm doing things..


sub control{
    $state->{Title} = title('default');
    $state->{Index}= index($postmark);
}

sub index{
    my $postmark = shift;

    if $postmark == 'blah'{
      my @list = Windex(0);
    } else{
      my @list = Windex(1);
    }
}



Well, I've got little time left on this break..

ttfn.

0 Comments:

Post a Comment

<< Home