HttpView2 1.1-beta available on Squeak Map

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

HttpView2 1.1-beta available on Squeak Map

Giovanni Corriga
Hello,

the beta release of the HttpView2 web framework is now available on
Squeak Map. Highlights of this new version include:

- A generic Canvas system
- A specialized XHTML Canvas/Painter system, inspired by Seaside's one
- Code reorganization and bug fixes

Please send you feedback and/or bug fixes to [hidden email] .

        Giovanni


Reply | Threaded
Open this post in threaded view
|

Re: HttpView2 1.1-beta available on Squeak Map

Rob Withers
Giovanni,

There is the SSL package on Universes, which would allow you to support
retrieving URLs like
    https:\\www.squeak.org

Are you planning on supporting this in HttpView2?

Rob

----- Original Message -----
From: "Giovanni Corriga" <[hidden email]>
To: <[hidden email]>;
<[hidden email]>;
<[hidden email]>
Sent: Sunday, November 04, 2007 5:53 AM
Subject: HttpView2 1.1-beta available on Squeak Map


> Hello,
>
> the beta release of the HttpView2 web framework is now available on
> Squeak Map. Highlights of this new version include:
>
> - A generic Canvas system
> - A specialized XHTML Canvas/Painter system, inspired by Seaside's one
> - Code reorganization and bug fixes
>
> Please send you feedback and/or bug fixes to [hidden email] .
>
> Giovanni
>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: HttpView2 1.1-beta available on Squeak Map

Giovanni Corriga
Il giorno dom, 04/11/2007 alle 06.35 -0800, Rob Withers ha scritto:
> Giovanni,
>
> There is the SSL package on Universes, which would allow you to support
> retrieving URLs like
>     https:\\www.squeak.org
>
> Are you planning on supporting this in HttpView2?

Hi Rob,

Usually a web framework delegates these things to the web server, which
in HV2's case is KomHttpServer.

Personally I'd prefer using a web server such as Apache or Lighttpd to
act as an https proxy, but if someone provides working code to support
https on Kom I will gladly add it to the main package.

        Ciao,

                Giovanni


Reply | Threaded
Open this post in threaded view
|

Re: HttpView2 1.1-beta available on Squeak Map

Edgar J. De Cleene
In reply to this post by Giovanni Corriga



El 11/4/07 10:53 AM, "Giovanni Corriga" <[hidden email]> escribió:

> Hello,
>
> the beta release of the HttpView2 web framework is now available on
> Squeak Map. Highlights of this new version include:
>
> - A generic Canvas system
> - A specialized XHTML Canvas/Painter system, inspired by Seaside's one
> - Code reorganization and bug fixes
>
> Please send you feedback and/or bug fixes to [hidden email] .
>
> Giovanni

Very good !
As long time fan of HV2 I try as soon is possible.

Edgar



Reply | Threaded
Open this post in threaded view
|

Re: HttpView2 1.1-beta available on Squeak Map

Rob Withers
In reply to this post by Giovanni Corriga

----- Original Message -----
From: "Giovanni Corriga" <[hidden email]>
To: "The general-purpose Squeak developers list"
<[hidden email]>
Sent: Sunday, November 04, 2007 6:52 AM
Subject: Re: HttpView2 1.1-beta available on Squeak Map


> Il giorno dom, 04/11/2007 alle 06.35 -0800, Rob Withers ha scritto:
>> Giovanni,
>>
>> There is the SSL package on Universes, which would allow you to support
>> retrieving URLs like
>>     https:\\www.squeak.org
>>
>> Are you planning on supporting this in HttpView2?
>
> Hi Rob,
>
> Usually a web framework delegates these things to the web server, which
> in HV2's case is KomHttpServer.

Ok, thanks for pointing this out.  I was unable to load KomHttpServer from
SqueakMap, as it wanted a definition of TcpService.  Someone should add
these the the Universes browser.

> Personally I'd prefer using a web server such as Apache or Lighttpd to
> act as an https proxy, but if someone provides working code to support
> https on Kom I will gladly add it to the main package.

The code is done and working, it would just need to be integrated.

Cheers,
Rob


Reply | Threaded
Open this post in threaded view
|

Re: HttpView2 1.1-beta available on Squeak Map

Giovanni Corriga
Il giorno dom, 04/11/2007 alle 08.20 -0800, Rob Withers ha scritto:

> ----- Original Message -----
> From: "Giovanni Corriga" <[hidden email]>
> To: "The general-purpose Squeak developers list"
> <[hidden email]>
> Sent: Sunday, November 04, 2007 6:52 AM
> Subject: Re: HttpView2 1.1-beta available on Squeak Map
>
>
> > Il giorno dom, 04/11/2007 alle 06.35 -0800, Rob Withers ha scritto:
> >> Giovanni,
> >>
> >> There is the SSL package on Universes, which would allow you to support
> >> retrieving URLs like
> >>     https:\\www.squeak.org
> >>
> >> Are you planning on supporting this in HttpView2?
> >
> > Hi Rob,
> >
> > Usually a web framework delegates these things to the web server, which
> > in HV2's case is KomHttpServer.
>
> Ok, thanks for pointing this out.  I was unable to load KomHttpServer from
> SqueakMap, as it wanted a definition of TcpService.  Someone should add
> these the the Universes browser.

Yes, you need to load the prerequisites (Dynamic Bindings and
KomServices packages).

> > Personally I'd prefer using a web server such as Apache or Lighttpd to
> > act as an https proxy, but if someone provides working code to support
> > https on Kom I will gladly add it to the main package.
>
> The code is done and working, it would just need to be integrated.

Ok, then please do the following:

1) upload your KomHttpServer patches to the Kom repository
( http://www.squeaksource.com/KomHttpServer )
2) open a bug on bugs.squeak.org (project: Squeak Packages, category:
KomHttpServer) listing the name of the package you uploaded, the
prerequisites (if any) and any other useful info.

        Ciao,

                Giovanni


Reply | Threaded
Open this post in threaded view
|

Re: HttpView2 1.1-beta available on Squeak Map

Rob Withers

----- Original Message -----
From: "Giovanni Corriga" <[hidden email]>
To: "The general-purpose Squeak developers list"
<[hidden email]>
Sent: Sunday, November 04, 2007 8:43 AM
Subject: Re: HttpView2 1.1-beta available on Squeak Map


> Il giorno dom, 04/11/2007 alle 08.20 -0800, Rob Withers ha scritto:
>> ----- Original Message -----
>> From: "Giovanni Corriga" <[hidden email]>
>> To: "The general-purpose Squeak developers list"
>> <[hidden email]>
>> Sent: Sunday, November 04, 2007 6:52 AM
>> Subject: Re: HttpView2 1.1-beta available on Squeak Map
>>
>>
>> > Il giorno dom, 04/11/2007 alle 06.35 -0800, Rob Withers ha scritto:
>> >> Giovanni,
>> >>
>> >> There is the SSL package on Universes, which would allow you to
>> >> support
>> >> retrieving URLs like
>> >>     https:\\www.squeak.org
>> >>
>> >> Are you planning on supporting this in HttpView2?
>> >
>> > Hi Rob,
>> >
>> > Usually a web framework delegates these things to the web server, which
>> > in HV2's case is KomHttpServer.
>>
>> Ok, thanks for pointing this out.  I was unable to load KomHttpServer
>> from
>> SqueakMap, as it wanted a definition of TcpService.  Someone should add
>> these the the Universes browser.
>
> Yes, you need to load the prerequisites (Dynamic Bindings and
> KomServices packages).

Got it, thanks.

>
>> > Personally I'd prefer using a web server such as Apache or Lighttpd to
>> > act as an https proxy, but if someone provides working code to support
>> > https on Kom I will gladly add it to the main package.
>>
>> The code is done and working, it would just need to be integrated.
>
> Ok, then please do the following:

Ok, I got an HttpsService defined, but my SSLSocket still doesn't support
all of the protocol you expect a socket to have.  I'll work on that.  You
would have to launch this from your HVRootView class like:

 ^(HttpsService startOn: portNum named: name)
  loadRSACertificateFile: 'certificates/rsa.cert' privateKeyFile:
'certificates/rsa.key';
  plug: ma rootModule; mode: mode


> 1) upload your KomHttpServer patches to the Kom repository
> ( http://www.squeaksource.com/KomHttpServer )
> 2) open a bug on bugs.squeak.org (project: Squeak Packages, category:
> KomHttpServer) listing the name of the package you uploaded, the
> prerequisites (if any) and any other useful info.

Ok, when it's ready.

Ciao,
Roberto


Reply | Threaded
Open this post in threaded view
|

Re: HttpView2 1.1-beta available on Squeak Map

Giovanni Corriga
Il giorno dom, 04/11/2007 alle 09.23 -0800, Rob Withers ha scritto:
> Ok, I got an HttpsService defined, but my SSLSocket still doesn't support
> all of the protocol you expect a socket to have.  I'll work on that.  You
> would have to launch this from your HVRootView class like:
>
>  ^(HttpsService startOn: portNum named: name)
>   loadRSACertificateFile: 'certificates/rsa.cert' privateKeyFile:
> 'certificates/rsa.key';
>   plug: ma rootModule; mode: mode

Looks good.

        Giovanni