Seaside for Swazoo 2 alpha server adaptor

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Seaside for Swazoo 2 alpha server adaptor

Philippe Marschall
Hi

Attached you find a very basic Seaside server adaptor for Swazoo 2.

SwazooServer seasideStart
should start Seaside at
localhost:8888

What should work:
- /seaside/tests/alltests including file upload and cookies

Known issues:
- You have to evaluate SwazooServer seasideStop before quiting the
Squeak image. The problem here is a not complete implementation of
SPort on Squeak.
- 127.0.0.1 does not work as an address, you have to use 'localhost'

What needs more testing:
- Multipart file uploads

What does not work:
- catching of internal errors
- encoding
- streaming

Cheers
Philippe

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

SeasideSwazoo-pmm.5.mcz (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Seaside for Swazoo 2 alpha server adaptor

Esteban A. Maringolo
Hi Philippe:

On 9/3/07, Philippe Marschall <[hidden email]> wrote:

> Hi
>
> Attached you find a very basic Seaside server adaptor for Swazoo 2.
>
> SwazooServer seasideStart
> should start Seaside at
> localhost:8888
>
> What should work:
> - /seaside/tests/alltests including file upload and cookies
>
> Known issues:
> - You have to evaluate SwazooServer seasideStop before quiting the
> Squeak image. The problem here is a not complete implementation of
> SPort on Squeak.
> - 127.0.0.1 does not work as an address, you have to use 'localhost'

Why don't you use an existing SwazooSite implementation?
As far as I can see, you can use Michael Bany's VW or mine in Dolphin as a base.

Regards,

--
Esteban A. Maringolo
[hidden email]
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside for Swazoo 2 alpha server adaptor

Philippe Marschall
2007/9/4, Esteban A. Maringolo <[hidden email]>:

> Hi Philippe:
>
> On 9/3/07, Philippe Marschall <[hidden email]> wrote:
> > Hi
> >
> > Attached you find a very basic Seaside server adaptor for Swazoo 2.
> >
> > SwazooServer seasideStart
> > should start Seaside at
> > localhost:8888
> >
> > What should work:
> > - /seaside/tests/alltests including file upload and cookies
> >
> > Known issues:
> > - You have to evaluate SwazooServer seasideStop before quiting the
> > Squeak image. The problem here is a not complete implementation of
> > SPort on Squeak.
> > - 127.0.0.1 does not work as an address, you have to use 'localhost'
>
> Why don't you use an existing SwazooSite implementation?

It is roughly based on the original SwazooListener.

> As far as I can see, you can use Michael Bany's VW or mine in Dolphin as a base.

I can't have a look at the Dolphin one because I don't have Windows.
But Michels doesn't seem to do encoding or streaming so it won't help
with the hard parts.

Cheers
Philippe

> Regards,
>
> --
> Esteban A. Maringolo
> [hidden email]
> _______________________________________________
> Seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside for Swazoo 2 alpha server adaptor

Janko Mivšek
In reply to this post by Philippe Marschall
Hi Philippe,

I just published a new Sport-2.031 and Swazoo-2.0.1 on SqueakSource,
which auto-restart websites, running at image shutdown. Please let me
know if it works well now.

Best regards
Janko

Philippe Marschall wrote:

> Hi
>
> Attached you find a very basic Seaside server adaptor for Swazoo 2.
>
> SwazooServer seasideStart
> should start Seaside at
> localhost:8888
>
> What should work:
> - /seaside/tests/alltests including file upload and cookies
>
> Known issues:
> - You have to evaluate SwazooServer seasideStop before quiting the
> Squeak image. The problem here is a not complete implementation of
> SPort on Squeak.
> - 127.0.0.1 does not work as an address, you have to use 'localhost'
>
> What needs more testing:
> - Multipart file uploads
>
> What does not work:
> - catching of internal errors
> - encoding
> - streaming
>
> Cheers
> Philippe
>

--
Janko Mivšek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside for Swazoo 2 alpha server adaptor

Janko Mivšek
In reply to this post by Philippe Marschall


Philippe Marschall wrote:

> What does not work:
> - catching of internal errors
> - encoding
> - streaming


I'm thinking about adding utf-8 encoding support to Sport, so that it
will be portable. Do you see this a good idea?

Maybe simply as:

- SpStringUtilities toUTF8: aString  "returns an UTF-8 encoded string"
- SpStringUtilities fromUTF8: aString "returns an Unicode encod.string"

Best regards
Janko
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside for Swazoo 2 alpha server adaptor

Philippe Marschall
2007/9/6, Janko Mivšek <[hidden email]>:

>
>
> Philippe Marschall wrote:
>
> > What does not work:
> > - catching of internal errors
> > - encoding
> > - streaming
>
>
> I'm thinking about adding utf-8 encoding support to Sport, so that it
> will be portable. Do you see this a good idea?
Yeah that would help a lot when making a portable SwazooServer adaptor
that does encoding.

> Maybe simply as:
>
> - SpStringUtilities toUTF8: aString  "returns an UTF-8 encoded string"
> - SpStringUtilities fromUTF8: aString "returns an Unicode encod.string"

That would be enough for a SwazooSeaside adapter. The class
WAKomEncoded39 in Seaside does it for Squeak using the utf-8 fastpath
patches posted by Andreas.

And thanks for the shutdown stuff.

Cheers
Philippe

> Best regards
> Janko
> _______________________________________________
> Seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside