HV intro (was Re: Squeak SSP-- huh?)
goran.hultgren at bluefish.se
goran.hultgren at bluefish.se
Thu Apr 4 17:26:29 UTC 2002
"Stephen Pair" <spair at advantive.com> wrote:
> > As in SSP one method normally maps to one url and it normally
> > builds one page. The method sits in a subclass of HVHttpView
> > (which means it has inherited the #builder method etc.).
>
> Using a single SSP method to build an entire page is not a good idea.
Sorry, I just thought that was how it worked. I guessed wrong.
> Generally speaking, you should only be creating HTML that is appropriate
> for the reciever (in much the same way that you would do with a
> #printOn: method). This way, you get the benefits of polymorphism.
>
> Also, SSP is not an HTML building solution, it's only a text streaming
> solution. In Swiki.net we have a whole hierarchy of "web thingies" that
> correspond to widgets (i.e a small icon link, large icon link, rollover
> button, etc). Each web thingie spits out a little chunk of HTML,
> usually using SSP. In this regard, web thingies seem to be similar in
> concept to HV.
>
> - Stephen
Ok!
My prototyping sofar has mostly used one method - one page, but I am
also aiming for components etc. Actually I have already implemented a
scheme where you can add builders into a builder forming a (sort of)
tree of builders. This means that you can compose pages out of HV
components.
Probably much like both Seaside and SSP - it is SOOO hard to come up
with something really original, isn't it? :-)
regards, Göran
More information about the Squeak-dev
mailing list
|