[ANN] Swazoo web server 2.0 beta released on Squeak

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

[ANN] Swazoo web server 2.0 beta released on Squeak

Janko Mivšek
Dear Squeakers,

I just finished a port of Swazoo to Squeak and a first beta is now
available on SqueakSource (http://www.squeaksource.com/Swazoo).

After installation you can start a simple 'Hello World' demo site.
Follow instructions on http://www.swazoo.org/installation-squeak.html 
and short explanation on http://www.swazoo.org/documentation.html.

To introduce it a bit: Swazoo (Smalltalk Web Application Zoo) is an open
source, vendor agnostic, dialect neutral Smalltalk HTTP server with
resource and web request resolution framework, a fruit of a first Camp
Smalltalk 2000 in San Diego. Its main features are:

     * HTTP 1.1 and virtual site support
     * concept of hierarchical Resources allows pluggable addition of new
       web resources like static page servers, wikis, dynamic web
       frameworks like Seaside and Aida/Web
     * clean web request resolution framework
     * resource for static web serving

I hope that Squeakers will find Swazoo useful and help us achieve its
main goal: to become a web server of choice for all dialects of Smalltalk.

Best regards
Janko Mivšek
maintainer of Swazoo
http://www.swazoo.org

Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Swazoo web server 2.0 beta released on Squeak

Lukas Renggli
> I just finished a port of Swazoo to Squeak and a first beta is now
> available on SqueakSource (http://www.squeaksource.com/Swazoo).

Cool. Thanks Janko.

One question: How does Swazoo deal with character encoding?

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch

Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Swazoo web server 2.0 beta released on Squeak

Janko Mivšek
Hi Lukas,

Lukas Renggli wrote:
> One question: How does Swazoo deal with character encoding?

It does not deal at all, it just pass strings to other frameworks, which
should deal with encodings by themselves.

But of course Swazoo provides support to read/set headers in
HTTPRequest/Response regarding codepage, language etc.

Best regards
Janko

Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Swazoo web server 2.0 beta released on Squeak

Janko Mivšek
Lukas,

Regarding codepage support one question arises: is this duty of Swazoo
or  is it better for a web framework to deal with?

I have a feeling that it will be hard to make a general codepage support
on Swazoo level (http request parsing) because of lack of knowledge
about meaning of request/response data. Web frameworks have that
knowledge while web server alone not enough IMHO. But we can provide
some support on a http response level. Framework can switch on an UTF-8
conversion for instance. But then again, a framework can do that alone
too. What do you think?

Best regards
Janko

Janko Mivšek wrote:
> Lukas Renggli wrote:
>> One question: How does Swazoo deal with character encoding?
>
> It does not deal at all, it just pass strings to other frameworks, which
> should deal with encodings by themselves.
>
> But of course Swazoo provides support to read/set headers in
> HTTPRequest/Response regarding codepage, language etc.


--
Janko Mivšek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si

Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Swazoo web server 2.0 beta released on Squeak

Bruce Badger
In reply to this post by Lukas Renggli
On 06/06/07, Lukas Renggli <[hidden email]> wrote:

> One question: How does Swazoo deal with character encoding?

A great deal of work has been done on the Hyper HTTP library in this
regard.  Hyper and the HTTP server code in Swazoo have the same roots,
the HTTP server written by Ken Treis.  Hyper has evolved quite a bit
from those roots, though.

The current versions of Hyper are very clear about when they are
dealing with OCTET and CHAR data (per RFC 2616).  Entity data within
an HTTP message is always presumed to be OCTET data so you can apply
whatever encoding you wish.  For the OpenSkills systems we always use
UTF-8 these days.  Hyper can be used with the Swazoo resource handling
code and this is demonstrated in versions of Swazoo published to the
Cincom public Store repository.

Hyper uses Sport and so works in Squeak :-)

HTH,
    Bruce
--
Make the most of your skills - with OpenSkills
http://www.openskills.org/

Reply | Threaded
Open this post in threaded view
|

RE: [ANN] Swazoo web server 2.0 beta released on Squeak

James Hayes
In reply to this post by Janko Mivšek
Hi,

Do I need to get another version of SPort? I have 2.024 (as the Installation doc says) and I just got stuck in the method HTTPString#decodedHTTPFrom: and got the error message:

        SpEnvironment does not understand #integerFromString:

I guess that this class is from the SPort library or have I missed something?

Cheers,

James

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]]On Behalf Of Janko
Mivšek
Sent: Mittwoch, 6. Juni 2007 14:29
To: Squeak
Subject: [ANN] Swazoo web server 2.0 beta released on Squeak


Dear Squeakers,

I just finished a port of Swazoo to Squeak and a first beta is now
available on SqueakSource (http://www.squeaksource.com/Swazoo).

After installation you can start a simple 'Hello World' demo site.
Follow instructions on http://www.swazoo.org/installation-squeak.html 
and short explanation on http://www.swazoo.org/documentation.html.

To introduce it a bit: Swazoo (Smalltalk Web Application Zoo) is an open
source, vendor agnostic, dialect neutral Smalltalk HTTP server with
resource and web request resolution framework, a fruit of a first Camp
Smalltalk 2000 in San Diego. Its main features are:

     * HTTP 1.1 and virtual site support
     * concept of hierarchical Resources allows pluggable addition of new
       web resources like static page servers, wikis, dynamic web
       frameworks like Seaside and Aida/Web
     * clean web request resolution framework
     * resource for static web serving

I hope that Squeakers will find Swazoo useful and help us achieve its
main goal: to become a web server of choice for all dialects of Smalltalk.

Best regards
Janko Mivšek
maintainer of Swazoo
http://www.swazoo.org



--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.472 / Virus Database: 269.8.9/834 - Release Date: 05.06.2007 14:38



Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Swazoo web server 2.0 beta released on Squeak

Janko Mivšek
Hi James,

Yes, SPort is really missing that method (it was not ported correctly),
but how do you got that error? Simply by opening that Hello World web page?

Best regards
Janko

James Hayes wrote:

> Hi,
>
> Do I need to get another version of SPort? I have 2.024 (as the Installation doc says) and I just got stuck in the method HTTPString#decodedHTTPFrom: and got the error message:
>
> SpEnvironment does not understand #integerFromString:
>
> I guess that this class is from the SPort library or have I missed something?
>
> Cheers,
>
> James
>
> -----Original Message-----
> From: [hidden email]
> [mailto:[hidden email]]On Behalf Of Janko
> Mivšek
> Sent: Mittwoch, 6. Juni 2007 14:29
> To: Squeak
> Subject: [ANN] Swazoo web server 2.0 beta released on Squeak
>
>
> Dear Squeakers,
>
> I just finished a port of Swazoo to Squeak and a first beta is now
> available on SqueakSource (http://www.squeaksource.com/Swazoo).
>
> After installation you can start a simple 'Hello World' demo site.
> Follow instructions on http://www.swazoo.org/installation-squeak.html 
> and short explanation on http://www.swazoo.org/documentation.html.
>
> To introduce it a bit: Swazoo (Smalltalk Web Application Zoo) is an open
> source, vendor agnostic, dialect neutral Smalltalk HTTP server with
> resource and web request resolution framework, a fruit of a first Camp
> Smalltalk 2000 in San Diego. Its main features are:
>
>      * HTTP 1.1 and virtual site support
>      * concept of hierarchical Resources allows pluggable addition of new
>        web resources like static page servers, wikis, dynamic web
>        frameworks like Seaside and Aida/Web
>      * clean web request resolution framework
>      * resource for static web serving
>
> I hope that Squeakers will find Swazoo useful and help us achieve its
> main goal: to become a web server of choice for all dialects of Smalltalk.
>
> Best regards
> Janko Mivšek
> maintainer of Swazoo
> http://www.swazoo.org

--
Janko Mivšek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si

Reply | Threaded
Open this post in threaded view
|

RE: [ANN] Swazoo web server 2.0 beta released on Squeak

J J-6
In reply to this post by Janko Mivšek
The features appear similar, what technical advantages does Swazoo provide
over Commanche?


>From: Janko Mivšek <[hidden email]>
>Reply-To: The general-purpose Squeak developers
>list<[hidden email]>
>To: Squeak <[hidden email]>
>Subject: [ANN] Swazoo web server 2.0 beta released on Squeak Date: Wed, 06
>Jun 2007 14:28:45 +0200
>
>Dear Squeakers,
>
>I just finished a port of Swazoo to Squeak and a first beta is now
>available on SqueakSource (http://www.squeaksource.com/Swazoo).
>
>After installation you can start a simple 'Hello World' demo site. Follow
>instructions on http://www.swazoo.org/installation-squeak.html and short
>explanation on http://www.swazoo.org/documentation.html.
>
>To introduce it a bit: Swazoo (Smalltalk Web Application Zoo) is an open
>source, vendor agnostic, dialect neutral Smalltalk HTTP server with
>resource and web request resolution framework, a fruit of a first Camp
>Smalltalk 2000 in San Diego. Its main features are:
>
>     * HTTP 1.1 and virtual site support
>     * concept of hierarchical Resources allows pluggable addition of new
>       web resources like static page servers, wikis, dynamic web
>       frameworks like Seaside and Aida/Web
>     * clean web request resolution framework
>     * resource for static web serving
>
>I hope that Squeakers will find Swazoo useful and help us achieve its main
>goal: to become a web server of choice for all dialects of Smalltalk.
>
>Best regards
>Janko Mivšek
>maintainer of Swazoo
>http://www.swazoo.org
>

_________________________________________________________________
Get a preview of Live Earth, the hottest event this summer - only on MSN
http://liveearth.msn.com?source=msntaglineliveearthhm


Reply | Threaded
Open this post in threaded view
|

RE: [ANN] Swazoo web server 2.0 beta released on Squeak

James Hayes
In reply to this post by Janko Mivšek
Hi Janko,

>Yes, SPort is really missing that method (it was not ported correctly),
>but how do you got that error? Simply by opening that Hello World web page?

I was trying out a little web app I wrote in Seaside. The problem arised during a post request which included an email address. Could you tell me where should I get the correctly ported version of SPort?

Cheers,

James

James Hayes wrote:

> Hi,
>
> Do I need to get another version of SPort? I have 2.024 (as the Installation doc says) and I just got stuck in the method HTTPString#decodedHTTPFrom: and got the error message:
>
> SpEnvironment does not understand #integerFromString:
>
> I guess that this class is from the SPort library or have I missed something?
>
> Cheers,
>
> James
>
> -----Original Message-----
> From: [hidden email]
> [mailto:[hidden email]]On Behalf Of Janko
> Mivšek
> Sent: Mittwoch, 6. Juni 2007 14:29
> To: Squeak
> Subject: [ANN] Swazoo web server 2.0 beta released on Squeak
>
>
> Dear Squeakers,
>
> I just finished a port of Swazoo to Squeak and a first beta is now
> available on SqueakSource (http://www.squeaksource.com/Swazoo).
>
> After installation you can start a simple 'Hello World' demo site.
> Follow instructions on http://www.swazoo.org/installation-squeak.html 
> and short explanation on http://www.swazoo.org/documentation.html.
>
> To introduce it a bit: Swazoo (Smalltalk Web Application Zoo) is an open
> source, vendor agnostic, dialect neutral Smalltalk HTTP server with
> resource and web request resolution framework, a fruit of a first Camp
> Smalltalk 2000 in San Diego. Its main features are:
>
>      * HTTP 1.1 and virtual site support
>      * concept of hierarchical Resources allows pluggable addition of new
>        web resources like static page servers, wikis, dynamic web
>        frameworks like Seaside and Aida/Web
>      * clean web request resolution framework
>      * resource for static web serving
>
> I hope that Squeakers will find Swazoo useful and help us achieve its
> main goal: to become a web server of choice for all dialects of Smalltalk.
>
> Best regards
> Janko Mivšek
> maintainer of Swazoo
> http://www.swazoo.org

--
Janko Mivšek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si



--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.472 / Virus Database: 269.8.9/834 - Release Date: 05.06.2007 14:38



Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Swazoo web server 2.0 beta released on Squeak

Janko Mivšek
Hi James,

James Hayes wrote:
> Hi Janko,
>
>> Yes, SPort is really missing that method (it was not ported correctly),
>> but how do you got that error? Simply by opening that Hello World web page?
> I was trying out a little web app I wrote in Seaside. The problem arised during a post request which included an email address. Could you tell me where should I get the correctly ported version of SPort?

I just published SPort 2.025 on http://www.squeaksource.com/SPort which
includes all missing methods. This was an error also reported on Mantis
at http://bugs.squeak.org/view.php?id=6515 and it is now therefore solved.

Thanks for reporting it!
Janko


--
Janko Mivšek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si

Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Swazoo web server 2.0 beta released on Squeak

Bruce Badger
On 08/06/07, Janko Mivšek <[hidden email]> wrote:
> I just published SPort 2.025 on http://www.squeaksource.com/SPort which
> includes all missing methods. This was an error also reported on Mantis
> at http://bugs.squeak.org/view.php?id=6515 and it is now therefore solved.

Further to this, we are in the process of setting up a SourceForge
project that can host recent versions of every port of Sport.  The
project is in the queue to be established.

Also, for those interested in Sport and who will be coming along to
ESUG, there will be a Sport BOF one evening at which we will discuss
the interfaces we would like to see in Sport 2 based on what we have
learned with Sport (1).

All the best,
    Bruce
--
Make the most of your skills - with OpenSkills
http://www.openskills.org/