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: Guile 100 #6: CGI and MySQL Date: Fri, 3 May 2013 16:41:37 -0700 (PDT) Message-ID: <1367624497.65662.YahooMailNeo@web120403.mail.ne1.yahoo.com> References: <1367428660.96394.YahooMailNeo@web120405.mail.ne1.yahoo.com> <87haijfykr.fsf@Kagami.home> Reply-To: Mike Gran NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1367624520 6526 80.91.229.3 (3 May 2013 23:42:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 3 May 2013 23:42:00 +0000 (UTC) Cc: Guile User To: Ian Price Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sat May 04 01:41:57 2013 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UYPbw-0004Yz-CM for guile-user@m.gmane.org; Sat, 04 May 2013 01:41:56 +0200 Original-Received: from localhost ([::1]:42344 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYPbv-0008Q2-HM for guile-user@m.gmane.org; Fri, 03 May 2013 19:41:55 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37960) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYPbk-0008Pm-0s for guile-user@gnu.org; Fri, 03 May 2013 19:41:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UYPbf-0001ZD-Fv for guile-user@gnu.org; Fri, 03 May 2013 19:41:43 -0400 Original-Received: from nm15-vm4.bullet.mail.ne1.yahoo.com ([98.138.91.175]:33947) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYPbf-0001Yn-49 for guile-user@gnu.org; Fri, 03 May 2013 19:41:39 -0400 Original-Received: from [98.138.90.57] by nm15.bullet.mail.ne1.yahoo.com with NNFMP; 03 May 2013 23:41:38 -0000 Original-Received: from [98.138.89.172] by tm10.bullet.mail.ne1.yahoo.com with NNFMP; 03 May 2013 23:41:38 -0000 Original-Received: from [127.0.0.1] by omp1028.mail.ne1.yahoo.com with NNFMP; 03 May 2013 23:41:37 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 993355.80498.bm@omp1028.mail.ne1.yahoo.com Original-Received: (qmail 66191 invoked by uid 60001); 3 May 2013 23:41:37 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1367624497; bh=0wPPztbd8zfmDbyL69PFVRUxqBwcZWUZh1uP+Qtjbs0=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=L+PpbsKdanhIlfFeppbG28sQBBstVPCVJ2NRNP3l0WMlz8zAQUDTrb5fCG189dhGAydCqVdVppxj3slsyfuYzpVysfhJYhIoW+mOBqegqHlhG2BGVSTHVSWYJUtRlIoggWyrMYmqZ2LzDmI6UgsYB8pB7YWa2L2RbiwTy69hn6Y= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=3sUJKkTQcHwClbXi04iADAynXJ1/m2q/iKpPsXQs26cyB+frHX6xLHKOJmGQp05pLMCJ0GyIlWPLdKxeXs0/upfowPP7xeG+GhVDqzVZ8Dp0rLFIp9UUJ4fz6GOxPcsmp7fIRVOb4AR4SGdWl5mQgBtpUh1FVxTvYNceujjvlA0=; X-YMail-OSG: 6VGzvDUVM1m3iBY3LofwrhE01cJre0hXbTHQcM3C025RHMj o_6pkHiHNXE4Wt8H3Fyb2ZHdFc4i03fKOo2nP5utblSQepykgEHARObSilgV aql4ttJmcDHSU3l7TyPkKJgQvQlkQB6yqNZyHEv5jsedjBKDyyvLVmK2grub 78JREEsCLTFpXOWExgygMa0kvKCrvOcDG6o4z4.cVrI74.1V4eemwtEm3HJY CIxhCu3MRMkRBxwtaNsrsZFbnFMiyhsm3eYEpQEC2Z9w.LRSp7w5q4bOOHuI 4FyaBgXiQioYbu_Fb6TRPK__6nlBidzWrOpZcxp2eq4l5KapWWHltr18ky4_ 5hNHl65BDIgkDJb64QcaInBa0dKLqgsQKVbfsllDCmFzUQRcUIepgB_p0M.H 1WzL7kZlMDBD2qWkgkC0KSBa2k96.xZe5YnsF01U4ISnNX6KIQrnbrSTeSOH 7ZM88GcUDFPNiUVJTOn0pDeLScA6uWtsRfFu27iX0VN_QJtKhXdfnOh2oMJt JnDP7YhzQHnVXWaybEMS7H80- Original-Received: from [66.80.183.50] by web120403.mail.ne1.yahoo.com via HTTP; Fri, 03 May 2013 16:41:37 PDT X-Rocket-MIMEInfo: 002.001, PiBGcm9tOiBJYW4gUHJpY2UgPGlhbnByaWNlOTBAZ29vZ2xlbWFpbC5jb20.Cgo.SSBoYWQgdm9sdW50ZWVyZWQgZm9yIHRoYXQgcHJldmlvdXNseSwgYW5kIGFzc3VtZWQgeW91IGhhZAo.IHBpY2tlZCBzb21lb25lIGVsc2UgYmFzZWQgb24gdGhlIG1ldGhvZCBpbiB5b3VyIG9yaWdpbmFsCj4gZW1haWwuIEFwcGFyZW50bHkgbm90LgoKU29ycnkgYWJvdXQgdGhhdC7CoCBJIHdhcyB3b3JraW5nIHdpdGggc29tZW9uZSBvbiB0aGF0IG9uZSwgYnV0LAp0aGVyZSB3YXMgbm8gY29tcGxldGlvbi4KCj4.ICDCoAEwAQEBAQ-- X-Mailer: YahooMailWebService/0.8.141.536 In-Reply-To: <87haijfykr.fsf@Kagami.home> X-detected-operating-system: by eggs.gnu.org: FreeBSD 8.x X-Received-From: 98.138.91.175 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:10297 Archived-At: > From: Ian Price =0A=0A>I had volunteered for t= hat previously, and assumed you had=0A> picked someone else based on the me= thod in your original=0A> email. Apparently not.=0A=0ASorry about that.=A0 = I was working with someone on that one, but,=0Athere was no completion.=0A= =0A>> =A0=A0=A0 - Challenge #5: PHP-style Guile=0A> I started hacking toge= ther a Jinja-style templating library before[0],=0A> but I never released i= t since it's kinda less nice than just using=0A> quasiquote/sxml in practic= e.=0A=0AThat is true, once you've been absorbed into the Scheme continuum.= =0ABut imagine that you were someone coming in from the outside: from=0APHP= perhaps.=0A=0AI don't want to dissuade you from doing something big, but, = the=0Aactual scope of the problem as described is quite small: make a CGI= =0Ascript that (a) reads its own PATH_INFO (b) finds a template by=0Athat n= ame (c) sends it through eguile, and (d) returns it=0Ato the client.=0A=0AI= ts a bad approach in practice because there is no compilation=0Aof the temp= lates.=0A=0A-Mike