Pier, Smalltalk and XSLT

hhs@lexdb.net hhs at lexdb.net
Thu Oct 9 19:06:40 MEST 2008


Dear Steve

Steve Lloyd <steve.lloyd at ibo.org> hat am 9. Oktober 2008 um 15:38 geschrieben:

> I'm currently investigating approaches to an update/rewrite of a 
> publishing system we've developed (using Rails) which takes publications 
> stored as Docbook XML and renders a series of webpages with navigation 
> according to a set of common themes switched by metadata in the source 
> file.Pier looks a promising candidate,  either on Squeak or Gemstone/S, 
> but I get the impression that Smalltalk XSLT libraries are fairly scant. 
> Is this right? I guess there would be the approach of calling out via a 
> web service or FFI to other libraries, but any advice would be appreciated.
> 
I assume that you currently use a collection of XSLT style sheets to format your
XML documents to XHTML (and maybe other formats).

The approach in Seaside is that you generate the HTML in the 'renderContentOn:'
method. (See http://www.seaside.st/documentation/generating-html). You create
components, every component has its own 'renderContentOn:' method. You than put
the components together.

This approach bypasses the need for XSLT. One can say that Smalltalk is used as
the "Formatting language". This might or might not be what you want to go for.
However quite a number of people like this idea.

Regards

Hannes Hirzel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.iam.unibe.ch/pipermail/smallwiki/attachments/20081009/43abec08/attachment-0001.html


More information about the smallwiki mailing list