From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Christopher Cramer Newsgroups: gmane.lisp.guile.user Subject: Re: Guile & Sablotron Date: Wed, 17 Mar 2004 18:02:43 -0600 Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Message-ID: <20040317180243.A2923@kiwi.pyrotechnics.com> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1079568295 8159 80.91.224.253 (18 Mar 2004 00:04:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 18 Mar 2004 00:04:55 +0000 (UTC) Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Mar 18 01:04:45 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B3l1h-00079D-00 for ; Thu, 18 Mar 2004 01:04:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B3l0v-0001Cr-58 for guile-user@m.gmane.org; Wed, 17 Mar 2004 19:03:57 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B3kz7-0000aF-1F for guile-user@gnu.org; Wed, 17 Mar 2004 19:02:05 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B3kyZ-0000Jk-L3 for guile-user@gnu.org; Wed, 17 Mar 2004 19:02:02 -0500 Original-Received: from [207.7.10.6] (helo=kiwi.pyro.net) by monty-python.gnu.org with smtp (Exim 4.30) id 1B3kyZ-0000Hp-AF for guile-user@gnu.org; Wed, 17 Mar 2004 19:01:31 -0500 Original-Received: (qmail 6725 invoked by uid 8610); 18 Mar 2004 00:02:43 -0000 Original-To: guile-user@gnu.org Mail-Followup-To: guile-user@gnu.org Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from bqueen@nas.nasa.gov on Tue, Mar 09, 2004 at 09:32:05AM -0800 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.4 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:2949 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:2949 On Tue, Mar 09, 2004 at 09:32:05AM -0800, Brian S McQueen wrote: > Guile & Sablotron! Who is interested? I need to discuss this with > someone! TTN! You do a lot of web work. Using a template engine is the > way to go for handling the presentation of data. The programs can produce > generic data of this sort: > > > > > 10 > 9 > 7 > > > > 4 > 3 > 4 > > > > 6 > -1.5 > 2 > > > I'm pretty much sold on the idea of integrating templates into Recluse. But that sort of output seems a little less elegant than I would like. You'd end up with display or format calls outputting XML, which is an improvement over outputting HTML, but I wonder if instead of outputting XML we could just return a list. Something like: '(sales (division (id "North") (revenue 10) (growth 9) (bonus 7)) (division (id "South") (revenue 4) (growth 3) (bonus 4))) I think being able to write the whole thing using just sql->list, map, append, etc. (or even backquotes) would make it a lot easier. I suppose there might be interoperability benefits to using XML though. Maybe we should have some ->xml and xml-> procedures. -- Christopher Cramer In politics you have to understand not where the voters are when a poll is taken, but where they are likely to end up on Election Day. -- Rep. Tom Davis, former NRCC Chairman _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user