Stephen Pair wrote:

> No, actually SSP means Squeak Server Pages.

    I knew that... it was just a jock... sorry...

    I tested SSP, it's easy enough, but, now I wonder why you said, in a
previous
mail that:

> I would still use text formatters for Swiki templates however.

    what's the difference between a default.template:

    <h1>Hi! I'm the title of page named <?pagetitle?></h1>
    and my text is:
    <?pagetext?>

    and a SSP like:

method #templateDefault: strm forPage: page request: anHttpRequest
<ssp on: strm> "does it only accept one argument, or I can play like this?"
    <h1>Hi! I'm then title of page named <page title></h1>
    and my text is:
    <page text>

    Or a better scheme, where you have something similar to current Four Strong
Wings design,
replacing actions, templates and addresses for squaek methods, where some of
them are SSPs:

    t _ MySwikiTemplateFormatter new.
    t onAddress: 'page' use: #default:request:page.

    and then use something like.

    t format: page forAddress: request address withRequest: request    "just an
example"

    I'll reader prefer using SSPs, why not (other than moving current swikis to
SSPs)?

    SSPed Bye!
    Richie++

Reply via email to