all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Luis Felipe López Acevedo" <felipe.lopez@openmailbox.org>
To: David Thompson <dthompson2@worcester.edu>
Cc: guix-devel@gnu.org
Subject: Re: Website implementation
Date: Sat, 07 Mar 2015 17:43:41 -0500	[thread overview]
Message-ID: <73c66aeb8fc0410ec54b651e69a7ca51@openmailbox.org> (raw)
In-Reply-To: <87a8zo4gbt.fsf@fsf.org>

On 2015-03-07 17:01, David Thompson wrote:
> Luis Felipe López Acevedo <felipe.lopez@openmailbox.org> writes:
> 
>> Regarding the Guilish tool(s) to generate the site statically, I have
>> these to compare
>> 
>>      - Artanis <http://www.gnu.org/s/artanis/> (GNU Project)
> 
> Artanis is intended for dynamic web applications, so I don't think it
> would be particularly useful in this instance.

I thought that its template mechanism could be used independently as I 
use Django's to generate my blog statically...

[...]


>>      - tylan's html simple <https://gitorious.org/taylan-guile/html/>
> 
> I also have an SXML -> HTML converter in guix-web. [0]
> 
>> I still need to get familiar with the fundamentals of Scheme/Guile to
>> decide what tool to use. Personally, I'd like to find a way to write
>> HTML templates and let a program build the final site. Template 
>> context
>> and inheritance would be nice to have. Maybe this can be done with
>> Artanis' template system?
> 
> Lisps have built-in templating via quasiqoute, so you can do any
> transformations you'd like on the resulting s-expression.  SXML is a
> popular way of writing XML/HTML templates in Lisp.  See guix-web for
> examples. [1]
> 
> Does this help or have I just muddied the waters even more?

The Guile world is a completely new world for me, but I'll check 
guix-web to see how templating works.

thanks.


> [0] https://gitorious.org/guix-web/guix-web/source/guix/web/sxml.scm
> [1] 
> https://gitorious.org/guix-web/guix-web/source/guix/web/view/html.scm#L74
> 
> --
> David Thompson
> Web Developer - Free Software Foundation - http://fsf.org
> GPG Key: 0FF1D807
> Support the FSF: https://fsf.org/donate

-- 
Luis Felipe López Acevedo
http://sirgazil.bitbucket.org/

  reply	other threads:[~2015-03-07 22:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-07 21:45 Website implementation Luis Felipe López Acevedo
2015-03-07 22:01 ` David Thompson
2015-03-07 22:43   ` Luis Felipe López Acevedo [this message]
2015-03-07 23:00     ` David Thompson
2015-03-09  9:30   ` Ludovic Courtès
2015-03-07 23:01 ` Taylan Ulrich Bayırlı/Kammer

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

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

  git send-email \
    --in-reply-to=73c66aeb8fc0410ec54b651e69a7ca51@openmailbox.org \
    --to=felipe.lopez@openmailbox.org \
    --cc=dthompson2@worcester.edu \
    --cc=guix-devel@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.