[Seaside] Dolphin port ..... whine whine

Sean Malloy smalloy at gmail.com
Tue May 30 02:38:48 UTC 2006


Avi,

Here is a comment from Janko regarding configuration of Swazoo w/ Seaside:

"Another recommendation for Seaside port: subclass Site with SeasideSite
(like AIDASite in Aida) and implement method answerTo: aRequest, instead
of subclassing HttpServer directly. Therefore you can have many Seaside
sites working at once and even Seaside in parallel with Aida!

Another hint: in SeasideSite override method Site>>helpResolve:

  helpResolve: aResolution
    (self canAnswer and: [aResolution siteMatch: self]) ifFalse: [^nil].
    ^self answerTo: aResolution request

To make a new site, just evaluate:

       SeasideSite newNamed: 'test'.

then set a correct site identification:

       (SeasideSite named: 'test')
          host: 'localhost' ip: '127.0.0.1' port: 9090

and start the whole server:

       SwazooServer start.

or just your site:

       (Seaside named: 'test') start

I just spotted that Site class methods are missing:

       Site class>>newNamed: aString
         | site |
         site := self new name: aString.
         SwazooServer singleton addSite: site.
         site initialize.
         ^site

       Site class>>named: aString
         ^SwazooServer singleton siteNamed: aString"



On 5/26/06, Esteban A. Maringolo <emaringolo at gmail.com> wrote:
> On 5/26/06, Avi Bryant <avi.bryant at gmail.com> wrote:
>
> > So, give this a whirl then:
> >
> > http://www.seaside.st/Download/Dolphin/
>
> Thank you!
>
> I will play with this.
>
> Regards,
>
> --
> Esteban A. Maringolo
> eMaringolo at gmail.com
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>


More information about the Seaside mailing list