From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Anthony Kozar Newsgroups: gmane.lisp.guile.user Subject: Re: Newbie - desigining apps Date: Fri, 08 Oct 2004 14:43:27 -0400 Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Message-ID: References: <4165E98D.3090304@triad.rr.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1097261285 27365 80.91.229.6 (8 Oct 2004 18:48:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 8 Oct 2004 18:48:05 +0000 (UTC) Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri Oct 08 20:47:49 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CFzmP-0001lp-00 for ; Fri, 08 Oct 2004 20:47:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CFzsP-0007mi-QS for guile-user@m.gmane.org; Fri, 08 Oct 2004 14:54:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CFzqd-0007FP-OZ for guile-user@gnu.org; Fri, 08 Oct 2004 14:52:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CFzpz-0006xy-KK for guile-user@gnu.org; Fri, 08 Oct 2004 14:51:32 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CFzpH-0006id-6X for guile-user@gnu.org; Fri, 08 Oct 2004 14:50:47 -0400 Original-Received: from [66.163.168.187] (helo=smtp808.mail.sc5.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.34) id 1CFziD-0003x2-8Z for guile-user@gnu.org; Fri, 08 Oct 2004 14:43:29 -0400 Original-Received: from unknown (HELO ?68.254.254.4?) (anthonykozar@sbcglobal.net@68.254.254.4 with login) by smtp808.mail.sc5.yahoo.com with SMTP; 8 Oct 2004 18:43:26 -0000 User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.0.4 Original-To: guile In-Reply-To: <4165E98D.3090304@triad.rr.com> X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.user:3534 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:3534 IHDTM (I haven't done this myself), but based on knowledge of how scriptable applications are often implemented on other platforms, I would suggest using the Model-View-Controller pattern/paradigm. Basically, you strive for a clean separation between your data objects, the objects that display the data, and the mechanisms/interface objects that allow those objects to be manipulated. (Just do a seach online for MVC to learn more). This approach definitely requires designing your app from the beginning with this separation in mind. But the benefits of this design will I think be useful in the future if you decide to add other controllers, views, etc. In your case, I would guess that you will start off with two sets of controllers for the same data -- one for your GUI and one for Guile. Anthony Kozar anthony.kozar@utoledo.edu http://akozar.spymac.net/ On 10/7/04 9:12 PM, Max Polk etched in stone: > Have others found that supporting Guile in an application means > rethinking how it runs at it's very core? For example, instead of > writing use cases and designing from that, now I have a use case like > "let the user call any higher-level function". _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user