[plt-scheme] Scheme to my site

From: Noel Welsh (noelwelsh at yahoo.com)
Date: Tue Mar 4 05:15:53 EST 2003

--- Alphonse PHILIPPE <a.philippe at wanadoo.fr> wrote:
> My question : is there a road from Scheme, passing
> through HTML (or XML),
> and arriving to my personal site currently under
> construction ? If yes,
> could someone give me the road map ?  Are there some
> tutorials, templates,
> librairies, ... available ?

I developed the Scheme UK site

 http://schematics.sourceforge.net/scheme-uk/

using WebIt!

 http://celtic.benderweb.net/webit/

The roadmap I very simply:

1.  Define the schema and content of your site in the
WebIt! markup (RXML?  I forget what its called.) 

2.  Write the transformations to HTML

3.  Render as HTML

Points to consider:

1.  Don't use XML as the data format!  Use Scheme -
its a real programming language so you can, for
example, pull in the current time very easily.

2.  If you are doing lots of processing before your
presentation layers, I wouldn't try to organise this
processing as a pipeline of transformations (ala
Cocoon).  It's way too many contracts to maintain. 
Just write normal code and then spit out the RXML at
the end.

The code to the Scheme UK site is available in the
Schematics CVS (src/apps/scheme-uk)  There are some
WebIt! tutorials on the WebIt! site.  There are some
SSAX tutorials on the Scheme UK site.

HTH,
Noel

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/


Posted on the users mailing list.