Swazoo 2.2 released

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

Swazoo 2.2 released

Janko Mivšek
Dear Smalltalkers,

After one year I'm glad to announce a new release 2.2 of Swazoo
Smalltalk Web Server, currently just for Squeak and VisualWorks.

What is new?

  * upload streaming 30 times better for large file uploads
  * additional improvements of streamed upload performance, as a result
    of a nice "competition" with Göran Krampe doing the same on the
    Commance
  * two important classes renamed to avoid namespace clashes: Site to
    SwazooSite, Resource to SwazooResource
  * more reliable post data parsing
  * more and better tests
  * benchmarking support added.

Detailed release notes: http://www.swazoo.org/release-notes-2.2.html

Download page: http://www.swazoo.org/download.html

Special thanks to Paolo Bonzini, Lautaro Fernández, Julian Fitzell,
Göran Krampe, Philippe Marschall and Stefan Schmiedl for your valuable
inputs to this release!

Best regards
Janko Mivšek
Swazoo maintainer
_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: [Seaside] Swazoo 2.2 released

Rob Rothwell
I have committed changes to Aida6.0Beta1 at http://mc.bioskop.fr under Aida/Web:

http://mc.bioskop.fr/Aida/Aida6.0-rob_rothwell.4.mcz

The changes merely make Aida6.0 compatible with Swazoo2.2 (as far as I can tell!), and also allow it to load cleanly in Pharo-dev by removing some upper case class instance variable names.

I'm sure you guys have been doing other work on Aida and will take care of this as well, but I thought it might be useful to someone.

I still owe you some updates to Lists and Tabs!

Take care,

Rob


On Sun, Mar 1, 2009 at 9:53 AM, Janko Mivšek <[hidden email]> wrote:
Dear Smalltalkers,

After one year I'm glad to announce a new release 2.2 of Swazoo
Smalltalk Web Server, currently just for Squeak and VisualWorks.

What is new?

 * upload streaming 30 times better for large file uploads
 * additional improvements of streamed upload performance, as a result
   of a nice "competition" with Göran Krampe doing the same on the
   Commance
 * two important classes renamed to avoid namespace clashes: Site to
   SwazooSite, Resource to SwazooResource
 * more reliable post data parsing
 * more and better tests
 * benchmarking support added.

Detailed release notes: http://www.swazoo.org/release-notes-2.2.html

Download page: http://www.swazoo.org/download.html

Special thanks to Paolo Bonzini, Lautaro Fernández, Julian Fitzell,
Göran Krampe, Philippe Marschall and Stefan Schmiedl for your valuable
inputs to this release!

Best regards
Janko Mivšek
Swazoo maintainer
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: [Seaside] Swazoo 2.2 released

Nicolas Petton
Hi,

Thanks for this :)

For the future, Aida6.0x are used for betas releases of Aida 6. I know
it's confusing, but the development branch is still named 5.6x...

Anyway, I will take a look at it and backport it. Thanks again!

Nico

Le dimanche 01 mars 2009 à 19:16 -0500, Rob Rothwell a écrit :

> I have committed changes to Aida6.0Beta1 at http://mc.bioskop.fr under
> Aida/Web:
>
> http://mc.bioskop.fr/Aida/Aida6.0-rob_rothwell.4.mcz
>
> The changes merely make Aida6.0 compatible with Swazoo2.2 (as far as I
> can tell!), and also allow it to load cleanly in Pharo-dev by removing
> some upper case class instance variable names.
>
> I'm sure you guys have been doing other work on Aida and will take
> care of this as well, but I thought it might be useful to someone.
>
> I still owe you some updates to Lists and Tabs!
>
> Take care,
>
> Rob
>
>
> On Sun, Mar 1, 2009 at 9:53 AM, Janko Mivšek <[hidden email]>
> wrote:
>         Dear Smalltalkers,
>        
>         After one year I'm glad to announce a new release 2.2 of
>         Swazoo
>         Smalltalk Web Server, currently just for Squeak and
>         VisualWorks.
>        
>         What is new?
>        
>          * upload streaming 30 times better for large file uploads
>          * additional improvements of streamed upload performance, as
>         a result
>            of a nice "competition" with Göran Krampe doing the same on
>         the
>            Commance
>          * two important classes renamed to avoid namespace clashes:
>         Site to
>            SwazooSite, Resource to SwazooResource
>          * more reliable post data parsing
>          * more and better tests
>          * benchmarking support added.
>        
>         Detailed release notes:
>         http://www.swazoo.org/release-notes-2.2.html
>        
>         Download page: http://www.swazoo.org/download.html
>        
>         Special thanks to Paolo Bonzini, Lautaro Fernández, Julian
>         Fitzell,
>         Göran Krampe, Philippe Marschall and Stefan Schmiedl for your
>         valuable
>         inputs to this release!
>        
>         Best regards
>         Janko Mivšek
>         Swazoo maintainer
>         _______________________________________________
>         seaside mailing list
>         [hidden email]
>         http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
> _______________________________________________
> Aida mailing list
> [hidden email]
> http://lists.aidaweb.si/mailman/listinfo/aida

_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida

signature.asc (204 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [Seaside] Swazoo 2.2 released

Rob Rothwell
No problem...and yes, I am easily confused by what the "right" version is!

I'll do it again if you tell me what version to start with; no need for you to go figure it out too!

Rob

On Sun, Mar 1, 2009 at 7:52 PM, nico <[hidden email]> wrote:
Hi,

Thanks for this :)

For the future, Aida6.0x are used for betas releases of Aida 6. I know
it's confusing, but the development branch is still named 5.6x...

Anyway, I will take a look at it and backport it. Thanks again!

Nico

Le dimanche 01 mars 2009 à 19:16 -0500, Rob Rothwell a écrit :
> I have committed changes to Aida6.0Beta1 at http://mc.bioskop.fr under
> Aida/Web:
>
> http://mc.bioskop.fr/Aida/Aida6.0-rob_rothwell.4.mcz
>
> The changes merely make Aida6.0 compatible with Swazoo2.2 (as far as I
> can tell!), and also allow it to load cleanly in Pharo-dev by removing
> some upper case class instance variable names.
>
> I'm sure you guys have been doing other work on Aida and will take
> care of this as well, but I thought it might be useful to someone.
>
> I still owe you some updates to Lists and Tabs!
>
> Take care,
>
> Rob
>
>
> On Sun, Mar 1, 2009 at 9:53 AM, Janko Mivšek <[hidden email]>
> wrote:
>         Dear Smalltalkers,
>
>         After one year I'm glad to announce a new release 2.2 of
>         Swazoo
>         Smalltalk Web Server, currently just for Squeak and
>         VisualWorks.
>
>         What is new?
>
>          * upload streaming 30 times better for large file uploads
>          * additional improvements of streamed upload performance, as
>         a result
>            of a nice "competition" with Göran Krampe doing the same on
>         the
>            Commance
>          * two important classes renamed to avoid namespace clashes:
>         Site to
>            SwazooSite, Resource to SwazooResource
>          * more reliable post data parsing
>          * more and better tests
>          * benchmarking support added.
>
>         Detailed release notes:
>         http://www.swazoo.org/release-notes-2.2.html
>
>         Download page: http://www.swazoo.org/download.html
>
>         Special thanks to Paolo Bonzini, Lautaro Fernández, Julian
>         Fitzell,
>         Göran Krampe, Philippe Marschall and Stefan Schmiedl for your
>         valuable
>         inputs to this release!
>
>         Best regards
>         Janko Mivšek
>         Swazoo maintainer
>         _______________________________________________
>         seaside mailing list
>         [hidden email]
>         http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
> _______________________________________________
> Aida mailing list
> [hidden email]
> http://lists.aidaweb.si/mailman/listinfo/aida

_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida



_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: [Seaside] Swazoo 2.2 released

Nicolas Petton
Le dimanche 01 mars 2009 à 20:14 -0500, Rob Rothwell a écrit :
> No problem...and yes, I am easily confused by what the "right" version
> is!

The latest is Aida5.6-janko.114

Cheers!

Nico
--
Nicolas Petton
http://nico.aidaweb.si
            ___
          ooooooo
         OOOOOOOOO
        |Smalltalk|
         OOOOOOOOO
          ooooooo
           \   /
            [|]
--------------------------------
Ma clé PGP est disponible ici :
http://nico.aidaweb.si/pgp-key.html

_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida

signature.asc (204 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [Seaside] Swazoo 2.2 released

Rob Rothwell
Ok...great...I'll get that fixed up!

Rob

On Mon, Mar 2, 2009 at 7:45 AM, nico <[hidden email]> wrote:
Le dimanche 01 mars 2009 à 20:14 -0500, Rob Rothwell a écrit :
> No problem...and yes, I am easily confused by what the "right" version
> is!

The latest is Aida5.6-janko.114

Cheers!

Nico
--
Nicolas Petton
http://nico.aidaweb.si
           ___
         ooooooo
        OOOOOOOOO
       |Smalltalk|
        OOOOOOOOO
         ooooooo
          \   /
           [|]
--------------------------------
Ma clé PGP est disponible ici :
http://nico.aidaweb.si/pgp-key.html

_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida



_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: [Seaside] Swazoo 2.2 released

Rob Rothwell
In reply to this post by Nicolas Petton
Ok...I posted http://mc.bioskop.fr/Aida/Aida5.6-rob_rothwell.115.mcz, which will now load cleanly into Pharo (no uppercase class instance variable names), and is compatible with Swazoo2.2 (AidaSite is now subclassed from SwazooSite).

SwazooAida demoStart seems to behave as expected.

Hope that helps...

Rob


On Mon, Mar 2, 2009 at 7:45 AM, nico <[hidden email]> wrote:
Le dimanche 01 mars 2009 à 20:14 -0500, Rob Rothwell a écrit :
> No problem...and yes, I am easily confused by what the "right" version
> is!

The latest is Aida5.6-janko.114

Cheers!

Nico
--
Nicolas Petton
http://nico.aidaweb.si
           ___
         ooooooo
        OOOOOOOOO
       |Smalltalk|
        OOOOOOOOO
         ooooooo
          \   /
           [|]
--------------------------------
Ma clé PGP est disponible ici :
http://nico.aidaweb.si/pgp-key.html

_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida



_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: [Seaside] Swazoo 2.2 released

Nicolas Petton
Le lundi 02 mars 2009 à 22:28 -0500, Rob Rothwell a écrit :
> Ok...I posted http://mc.bioskop.fr/Aida/Aida5.6-rob_rothwell.115.mcz,
> which will now load cleanly into Pharo (no uppercase class instance
> variable names), and is compatible with Swazoo2.2 (AidaSite is now
> subclassed from SwazooSite).
>
> SwazooAida demoStart seems to behave as expected.
>
> Hope that helps...

Perfect! Works for me too

Cheers!

Nico
--
Nicolas Petton
http://nico.aidaweb.si
            ___
          ooooooo
         OOOOOOOOO
        |Smalltalk|
         OOOOOOOOO
          ooooooo
           \   /
            [|]
--------------------------------
Ma clé PGP est disponible ici :
http://nico.aidaweb.si/pgp-key.html

_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida

signature.asc (204 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [Seaside] Swazoo 2.2 released

Rob Rothwell
Great!

Unfortunately, I haven't been Aida-ing too much lately, but what I would really like to use it for still is a tracking board application.  However, I need to possibly basically refresh the whole page every time an interesting event happens, and I've just never quite figured that out yet!

Glad it worked for you too,

Rob

On Tue, Mar 3, 2009 at 7:29 AM, nico <[hidden email]> wrote:
Le lundi 02 mars 2009 à 22:28 -0500, Rob Rothwell a écrit :
> Ok...I posted http://mc.bioskop.fr/Aida/Aida5.6-rob_rothwell.115.mcz,
> which will now load cleanly into Pharo (no uppercase class instance
> variable names), and is compatible with Swazoo2.2 (AidaSite is now
> subclassed from SwazooSite).
>
> SwazooAida demoStart seems to behave as expected.
>
> Hope that helps...

Perfect! Works for me too

Cheers!

Nico
--
Nicolas Petton
http://nico.aidaweb.si
           ___
         ooooooo
        OOOOOOOOO
       |Smalltalk|
        OOOOOOOOO
         ooooooo
          \   /
           [|]
--------------------------------
Ma clé PGP est disponible ici :
http://nico.aidaweb.si/pgp-key.html

_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida



_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: Refreshing the page with Comet (was: Swazoo 2.2 released)

Janko Mivšek
Rob Rothwell pravi:

> Unfortunately, I haven't been Aida-ing too much lately, but what I would
> really like to use it for still is a tracking board application.

> However, I need to possibly basically refresh the whole page every time
> an interesting event happens, and I've just never quite figured that out
> yet!

This can be done in Aida with a Comet pattern. Not with refreshing a
whole page, just a part of it, but this part can be near the whole page
and you'll have the same effect.

We support Comet as a pattern because there is no special additional
code for Comet in Aida, you are just using usual periodic updater, set
to say 1h, but server delays the answer to this Ajax request until some
interesting event happen to be worth refreshing the page.

Simple, isn't it? ;)

Best regards
Janko


>
> Glad it worked for you too,
>
> Rob
>
> On Tue, Mar 3, 2009 at 7:29 AM, nico <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     Le lundi 02 mars 2009 à 22:28 -0500, Rob Rothwell a écrit :
>     > Ok...I posted http://mc.bioskop.fr/Aida/Aida5.6-rob_rothwell.115.mcz,
>     > which will now load cleanly into Pharo (no uppercase class instance
>     > variable names), and is compatible with Swazoo2.2 (AidaSite is now
>     > subclassed from SwazooSite).
>     >
>     > SwazooAida demoStart seems to behave as expected.
>     >
>     > Hope that helps...
>
>     Perfect! Works for me too
>
>     Cheers!
>
>     Nico
>     --
>     Nicolas Petton
>     http://nico.aidaweb.si
>                ___
>              ooooooo
>             OOOOOOOOO
>            |Smalltalk|
>             OOOOOOOOO
>              ooooooo
>               \   /
>                [|]
>     --------------------------------
>     Ma clé PGP est disponible ici :
>     http://nico.aidaweb.si/pgp-key.html
>
>     _______________________________________________
>     Aida mailing list
>     [hidden email] <mailto:[hidden email]>
>     http://lists.aidaweb.si/mailman/listinfo/aida
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Aida mailing list
> [hidden email]
> http://lists.aidaweb.si/mailman/listinfo/aida

--
Janko Mivšek
Svetovalec za informatiko
Eranova d.o.o.
Ljubljana, Slovenija
www.eranova.si
tel:  01 514 22 55
faks: 01 514 22 56
gsm: 031 674 565
_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: Refreshing the page with Comet (was: Swazoo 2.2 released)

Rob Rothwell
On Tue, Mar 3, 2009 at 8:02 AM, Janko Mivšek <[hidden email]> wrote:
Rob Rothwell pravi:

> Unfortunately, I haven't been Aida-ing too much lately, but what I would
> really like to use it for still is a tracking board application.

> However, I need to possibly basically refresh the whole page every time
> an interesting event happens, and I've just never quite figured that out
> yet!

This can be done in Aida with a Comet pattern. Not with refreshing a
whole page, just a part of it, but this part can be near the whole page
and you'll have the same effect.

We support Comet as a pattern because there is no special additional
code for Comet in Aida, you are just using usual periodic updater, set
to say 1h, but server delays the answer to this Ajax request until some
interesting event happen to be worth refreshing the page.

Simple, isn't it? ;)

I hope so!  You have tried to help me with this before, and I never got it to work on Squeak.  I'll give it another shot, though, I am doing a demo in a month of "real time" regulatory data collection in Healthcare.  We have the infrastructure to IDENTIFY an "interesting" patient and generate, say, a file identifying them; all I want is a tracking board listing the patients that could link to our data entry application...

Take care,

Rob

 


Best regards
Janko


>
> Glad it worked for you too,
>
> Rob
>
> On Tue, Mar 3, 2009 at 7:29 AM, nico <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     Le lundi 02 mars 2009 à 22:28 -0500, Rob Rothwell a écrit :
>     > Ok...I posted http://mc.bioskop.fr/Aida/Aida5.6-rob_rothwell.115.mcz,
>     > which will now load cleanly into Pharo (no uppercase class instance
>     > variable names), and is compatible with Swazoo2.2 (AidaSite is now
>     > subclassed from SwazooSite).
>     >
>     > SwazooAida demoStart seems to behave as expected.
>     >
>     > Hope that helps...
>
>     Perfect! Works for me too
>
>     Cheers!
>
>     Nico
>     --
>     Nicolas Petton
>     http://nico.aidaweb.si
>                ___
>              ooooooo
>             OOOOOOOOO
>            |Smalltalk|
>             OOOOOOOOO
>              ooooooo
>               \   /
>                [|]
>     --------------------------------
>     Ma clé PGP est disponible ici :
>     http://nico.aidaweb.si/pgp-key.html
>
>     _______________________________________________
>     Aida mailing list
>     [hidden email] <mailto:[hidden email]>
>     http://lists.aidaweb.si/mailman/listinfo/aida
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Aida mailing list
> [hidden email]
> http://lists.aidaweb.si/mailman/listinfo/aida

--
Janko Mivšek
Svetovalec za informatiko
Eranova d.o.o.
Ljubljana, Slovenija
www.eranova.si
tel:  01 514 22 55
faks: 01 514 22 56
gsm: 031 674 565
_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida


_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: Refreshing the page with Comet (was: Swazoo 2.2 released)

Rob Rothwell
In reply to this post by Janko Mivšek
On Tue, Mar 3, 2009 at 8:02 AM, Janko Mivšek <[hidden email]> wrote:
This can be done in Aida with a Comet pattern. Not with refreshing a
whole page, just a part of it, but this part can be near the whole page
and you'll have the same effect.

We support Comet as a pattern because there is no special additional
code for Comet in Aida, you are just using usual periodic updater, set
to say 1h, but server delays the answer to this Ajax request until some
interesting event happen to be worth refreshing the page.

Simple, isn't it? ;)

Umm...what happens with me on Pharo with:

viewMain
    |e|
    e := WebElement new.
    e addTextH1: 'Tracking Board'.
    e add: (self liveContent updateEverySeconds: 3600).
    self pageFrameWith: e title: 'Tracking Board'

liveContent
    |e|
    self session lastRequest isAjaxRequest ifTrue: [self waitForAnyChange].
    e:=WebElement new.
    e addText: 'Live Content: ',Time now asString.
    ^e

waitForAnyChange

     | count change |
     count := 1. change := false.

    Transcript show: 'Subscribing...'; cr.
    self observee announcer
        subscribe: TrackingBoardAnnouncement
        do: [ :ann | change := true ].

     [change not and: [count < 1000]] whileTrue:
         [(Delay forSeconds: 1) wait.
         count := count + 1].

    Transcript show: 'Unsubscribing...';cr.
     self observee announcer unsubscribe: self

is that I can "push" a refresh just ONE time, and then it is back in waiting mode forever and will not subscribe again to wait for a push until the next Ajax request.

This is what I struggled with the last time I tried this!

Rob

_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida