From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike Gran Newsgroups: gmane.lisp.guile.user Subject: Re: My Project: Guile Hypertext Preprocessor Date: Thu, 12 Aug 2010 13:42:26 -0700 (PDT) Message-ID: <138132.16251.qm@web37908.mail.mud.yahoo.com> References: <7228B261-C474-4E34-8301-246D0AEA8CB3@mac.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1281645756 15330 80.91.229.12 (12 Aug 2010 20:42:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 12 Aug 2010 20:42:36 +0000 (UTC) Cc: Guile Mailing List To: "dskr@mac.com" , Luiji Maryo Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Aug 12 22:42:34 2010 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ojebh-00026K-Rm for guile-user@m.gmane.org; Thu, 12 Aug 2010 22:42:34 +0200 Original-Received: from localhost ([127.0.0.1]:45934 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ojebh-0000Dd-8x for guile-user@m.gmane.org; Thu, 12 Aug 2010 16:42:33 -0400 Original-Received: from [140.186.70.92] (port=46066 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ojebc-0000DW-BZ for guile-user@gnu.org; Thu, 12 Aug 2010 16:42:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ojebb-0001Er-G8 for guile-user@gnu.org; Thu, 12 Aug 2010 16:42:28 -0400 Original-Received: from web37908.mail.mud.yahoo.com ([209.191.91.170]:41451) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1Ojebb-0001En-A1 for guile-user@gnu.org; Thu, 12 Aug 2010 16:42:27 -0400 Original-Received: (qmail 16715 invoked by uid 60001); 12 Aug 2010 20:42:26 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1281645746; bh=L0LgPuxyGEUNud848EfG4Jw8h/nL4+sgek80JKT8MRw=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Bw3yp+Kv3sLFHrdvd/nda6mqxC6rpAk0mOX2u7M9JxrOR6jx+WXauY2IQv/lNRSQAb2zGHlQi60uDVW4n0HzHDuK2/fsfc5VSWao4jg14OrIjQX0KBi5Podbn6dBp3YSUrurdIEHGBB2A9ct3JtSb6aLDNBD/u7x9Bn269AofqI= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=ObugMWzxGiWPCf4CZKNlhv9VA0v55oahf8IskL4MnXBkeARIdnqi/+rvf1zj1IPzeZEWDCSMBqe5RmkBg0aReop2HqgsCS7qBGMtgQeTz1VLc7C/iKxHRV7Z6+8/90sUTAR2dqQgDKGW+sN6d1F+dgOJ7kWpyfa/7m2I6AO5RKU=; X-YMail-OSG: PqNxTZcVM1kO_J2eVyWE960SVzRc9XJmURifexN2y6toTZx 28pMvzBAcmYyKqBiKloO.BXRnjmNNiGZHhCBW6pKXtTkUT5e3_MjxMwoQA2K i1e2fggX1jNerz9f6DaNsIxhPoLlGhE6oRUOnZoxF_a3NFiBAnWWICmgqhlF GSn1g57dMXgCPn8Tb7iFI1sZEsNJooHf48RWnetWDu2Dd4Bhm6nM0DzC1.9P rE4Lo0bFh6naHU7DNeLRV9c7PejdaCwV9btzvvq0_baQn4lRjU.wfzEfzQve wSuSJm3xnz01QedOsq4BgwzeLP10PTUYeUT0mCzZ3fmjvYjZ3oMjyzhjGa66 8fT1m9gSZdOAHWQhEglk5avo- Original-Received: from [207.8.91.2] by web37908.mail.mud.yahoo.com via HTTP; Thu, 12 Aug 2010 13:42:26 PDT X-Mailer: YahooMailRC/470 YahooMailWebService/0.8.105.279950 In-Reply-To: <7228B261-C474-4E34-8301-246D0AEA8CB3@mac.com> X-detected-operating-system: by eggs.gnu.org: FreeBSD 6.x (1) 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: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:8062 Archived-At: > From: "dskr@mac.com" =0A> =0A> Guile is not its REPL. Look = at '-s', '-e'. With that resolved, =0A> I wonder whether there are still us= eful HTML pages where the=0A> static template is large compared to the lang= uage fragment.=0A>PHP is a product of its time.=0A=0AI agree with Dan that = the large template with small amounts=0Aof code is not the way that the web= is going now.=A0 It really=0Ais about dynamically building webpages from t= he ground up.=0A=0AOne strategy would be to use run Guile scripts as CGI sc= ripts,=0Aor FastCGI or ModLisp.=A0 There are Guile CGI, FastCGI and=A0ModLi= sp=0Aparsing routines in Guile-WWW, if I=A0recall correctly.=0A=0A(http://s= avannah.nongnu.org/projects/guile-www)=0A=0AFor the actual web-page constru= ction, you might consider =0Aconstructing the webpages as Scheme lists in S= XML and then=0Adynamically converting them to HTML and CSS.=A0 There is som= e SXML=0Asupport in Guile 1.9.x.=0A=0AConsider this paper: http://sjamaan.a= th.cx/docs/scheme/sxslt.pdf=A0=0A=0A=0A-Mike