unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Mike Gran <spk121@yahoo.com>
To: Ian Price <ianprice90@googlemail.com>
Cc: Guile User <guile-user@gnu.org>
Subject: Re: Guile 100 #6: CGI and MySQL
Date: Fri, 3 May 2013 16:41:37 -0700 (PDT)	[thread overview]
Message-ID: <1367624497.65662.YahooMailNeo@web120403.mail.ne1.yahoo.com> (raw)
In-Reply-To: <87haijfykr.fsf@Kagami.home>

> From: Ian Price <ianprice90@googlemail.com>

>I had volunteered for that previously, and assumed you had
> picked someone else based on the method in your original
> email. Apparently not.

Sorry about that.  I was working with someone on that one, but,
there was no completion.

>>      - Challenge #5: PHP-style Guile
> I started hacking together a Jinja-style templating library before[0],
> but I never released it since it's kinda less nice than just using
> quasiquote/sxml in practice.

That is true, once you've been absorbed into the Scheme continuum.
But imagine that you were someone coming in from the outside: from
PHP perhaps.

I don't want to dissuade you from doing something big, but, the
actual scope of the problem as described is quite small: make a CGI
script that (a) reads its own PATH_INFO (b) finds a template by
that name (c) sends it through eguile, and (d) returns it
to the client.

Its a bad approach in practice because there is no compilation
of the templates.

-Mike



  reply	other threads:[~2013-05-03 23:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-01 17:17 Guile 100 #6: CGI and MySQL Mike Gran
2013-05-02  3:10 ` Nala Ginrut
2013-05-03  3:26 ` Daniel Hartwig
2013-05-03 23:11 ` Ian Price
2013-05-03 23:41   ` Mike Gran [this message]
2013-05-04  0:22     ` Ian Price
2013-05-04  1:02   ` Daniel Hartwig
2013-05-04  1:11     ` Mike Gran

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1367624497.65662.YahooMailNeo@web120403.mail.ne1.yahoo.com \
    --to=spk121@yahoo.com \
    --cc=guile-user@gnu.org \
    --cc=ianprice90@googlemail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).