Path: news.net.uni-c.dk!noatun.mjolner.dk!mail-to-news From: Jan Atle Ramsli Newsgroups: comp.lang.beta Subject: Re: Please, some critique! Date: Mon, 06 May 2002 12:44:34 +0200 Organization: Posted to comp.lang.beta by a mailtonews script Lines: 14 Sender: lbr@mjolner.dk Approved: mailtonews@cs.au.dk Message-ID: References: <20020506112104.2876.qmail@midgaard.mjolner.dk> NNTP-Posting-Host: bifrost.mjolner.dk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.net.uni-c.dk 1020685572 30198 130.225.4.254 (6 May 2002 11:46:12 GMT) X-Complaints-To: usenet@news.net.uni-c.dk NNTP-Posting-Date: Mon, 6 May 2002 11:46:12 +0000 (UTC) Mailing-List: contact usergroup-help@mjolner.dk; run by ezmlm X-No-Archive: yes X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.4.7-10 i686) X-Accept-Language: en X-Original-Message-ID: <3CD65E92.B7ED368@skynet.be> X-Original-Sender: atle@picard.skynet.be Xref: news.net.uni-c.dk comp.lang.beta:13232 Peter Andersen wrote: > Whether you prefer to have the TableReaders declared inside the windows So, I make an abstract window pattern, and only 'connect' these windows to TableReaders when instantiating them. I think I get it, and this wil be the approach I will use in the future! So, Beta itself becomes the 'controller' PrinterWindow:AbstractWindow(# p:PrinterTableReader; .... #); { wiev } { model } { controller } Now, MVC structure is maintained, and TableReaders are inside Windows !(?)