unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* WebSockets
@ 2014-04-02  9:29 Neil Jerram
  2014-04-02 10:08 ` WebSockets Nala Ginrut
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Neil Jerram @ 2014-04-02  9:29 UTC (permalink / raw)
  To: guile-devel, guile-user

Hi there,

I'm interested in adding support for WebSockets 
(http://tools.ietf.org/html/rfc6455) to Guile's web modules.  Is anyone 
else interested in - or possibly already working on - that?

Thanks,
     Neil




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: WebSockets
  2014-04-02  9:29 WebSockets Neil Jerram
@ 2014-04-02 10:08 ` Nala Ginrut
  2014-04-02 11:54   ` WebSockets Neil Jerram
  2014-04-04 16:57 ` WebSockets Ludovic Courtès
  2015-02-20 21:52 ` WebSockets David Thompson
  2 siblings, 1 reply; 7+ messages in thread
From: Nala Ginrut @ 2014-04-02 10:08 UTC (permalink / raw)
  To: Neil Jerram; +Cc: guile-user, guile-devel

On Wed, 2014-04-02 at 10:29 +0100, Neil Jerram wrote:
> Hi there,
> 
> I'm interested in adding support for WebSockets 
> (http://tools.ietf.org/html/rfc6455) to Guile's web modules.  Is anyone 
> else interested in - or possibly already working on - that?
> 

I was planing to implement websocket in Artanis web-framework and
there's half-baked code. Then I realized it's better to integrate with
the server, but Artanis hasn't written its own server. So it's
appreciated if anyone can do the job. ;-)

BTW, I think it's a chance to have crypto modules in guile-core since
websocket needs both sha-1 and base64.

> Thanks,
>      Neil
> 
> 





^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: WebSockets
  2014-04-02 10:08 ` WebSockets Nala Ginrut
@ 2014-04-02 11:54   ` Neil Jerram
  2014-04-02 12:17     ` WebSockets Nala Ginrut
  0 siblings, 1 reply; 7+ messages in thread
From: Neil Jerram @ 2014-04-02 11:54 UTC (permalink / raw)
  To: Nala Ginrut; +Cc: guile-user

[Now guile-user only, since that seems appropriate]

On 2014-04-02 11:08, Nala Ginrut wrote:
> On Wed, 2014-04-02 at 10:29 +0100, Neil Jerram wrote:
>> Hi there,
>> 
>> I'm interested in adding support for WebSockets
>> (http://tools.ietf.org/html/rfc6455) to Guile's web modules.  Is 
>> anyone
>> else interested in - or possibly already working on - that?
>> 
> 
> I was planing to implement websocket in Artanis web-framework and
> there's half-baked code. Then I realized it's better to integrate with
> the server, but Artanis hasn't written its own server. So it's
> appreciated if anyone can do the job. ;-)

Wow, Artanis looks quite sophisticated and I'm wondering now if I should 
use it for my work instead of (web ...) directly.  I need to take a 
closer look.

One immediate thing that I noticed: some of its API is different from 
(web ...) but not obviously better or at a different conceptual level.  
For example, your route context seems conceptually equivalent to (web 
request).  Is this just because you first wrote Artanis before (web ...) 
was available?

Regards,
       Neil




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: WebSockets
  2014-04-02 11:54   ` WebSockets Neil Jerram
@ 2014-04-02 12:17     ` Nala Ginrut
  0 siblings, 0 replies; 7+ messages in thread
From: Nala Ginrut @ 2014-04-02 12:17 UTC (permalink / raw)
  To: Neil Jerram; +Cc: Guile User

[-- Attachment #1: Type: text/plain, Size: 2084 bytes --]

2014年4月2日 PM7:54于 "Neil Jerram" <neil@ossau.homelinux.net>写道:
>
> [Now guile-user only, since that seems appropriate]
>
>
> On 2014-04-02 11:08, Nala Ginrut wrote:
>>
>> On Wed, 2014-04-02 at 10:29 +0100, Neil Jerram wrote:
>>>
>>> Hi there,
>>>
>>> I'm interested in adding support for WebSockets
>>> (http://tools.ietf.org/html/rfc6455) to Guile's web modules.  Is anyone
>>> else interested in - or possibly already working on - that?
>>>
>>
>> I was planing to implement websocket in Artanis web-framework and
>> there's half-baked code. Then I realized it's better to integrate with
>> the server, but Artanis hasn't written its own server. So it's
>> appreciated if anyone can do the job. ;-)
>
>
> Wow, Artanis looks quite sophisticated and I'm wondering now if I should
use it for my work instead of (web ...) directly.  I need to take a closer
look.
>

I'm glad you like it!
But oh, shame on me!  So many people are interested in it but I haven't
done a better database handling.
Anyway, you can build a site if you can play sql directly.
Although it works now, I haven't released it yet. Because I want to release
the first version with better config and database module.
The latest branch is wip-sql-mapping. There will be some changes compare to
master. :-)

> One immediate thing that I noticed: some of its API is different from
(web ...) but not obviously better or at a different conceptual level.  For
example, your route context seems conceptually equivalent to (web request).
 Is this just because you first wrote Artanis before (web ...) was
available?
>

Actually, route context is a Artanis specific local environment of each
request.
It's used to store info of features in Artanis, and passing necessary info
in Artanis environment only, like url-remapping, sql-mapping, cookies inner
processing...all the parts unrelated to http standard.
The http requests are handled by (web ...), and it's just encapsulated in
route context. So their function doesn't duplicate.

> Regards,
>       Neil
>

[-- Attachment #2: Type: text/html, Size: 2611 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: WebSockets
  2014-04-02  9:29 WebSockets Neil Jerram
  2014-04-02 10:08 ` WebSockets Nala Ginrut
@ 2014-04-04 16:57 ` Ludovic Courtès
  2015-02-20 21:52 ` WebSockets David Thompson
  2 siblings, 0 replies; 7+ messages in thread
From: Ludovic Courtès @ 2014-04-04 16:57 UTC (permalink / raw)
  To: guile-user; +Cc: guile-devel

Neil Jerram <neil@ossau.homelinux.net> skribis:

> I'm interested in adding support for WebSockets
> (http://tools.ietf.org/html/rfc6455) to Guile's web modules.  Is
> anyone else interested in - or possibly already working on - that?

Sounds like good idea!

Ludo’.




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: WebSockets
  2014-04-02  9:29 WebSockets Neil Jerram
  2014-04-02 10:08 ` WebSockets Nala Ginrut
  2014-04-04 16:57 ` WebSockets Ludovic Courtès
@ 2015-02-20 21:52 ` David Thompson
  2015-02-20 22:08   ` WebSockets neil
  2 siblings, 1 reply; 7+ messages in thread
From: David Thompson @ 2015-02-20 21:52 UTC (permalink / raw)
  To: Neil Jerram, guile-devel, guile-user

Digging up this old thread. :)

Neil Jerram <neil@ossau.homelinux.net> writes:

> I'm interested in adding support for WebSockets 
> (http://tools.ietf.org/html/rfc6455) to Guile's web modules.  Is anyone 
> else interested in - or possibly already working on - that?

Did you ever decide to work on this?  I'm also interested in getting
WebSockets support into Guile.

-- 
David Thompson
Web Developer - Free Software Foundation - http://fsf.org
GPG Key: 0FF1D807
Support the FSF: https://fsf.org/donate



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: WebSockets
  2015-02-20 21:52 ` WebSockets David Thompson
@ 2015-02-20 22:08   ` neil
  0 siblings, 0 replies; 7+ messages in thread
From: neil @ 2015-02-20 22:08 UTC (permalink / raw)
  To: David Thompson, guile-devel, guile-user

I'm afraid I haven't done anything since writing that. Sorry! 

Except that I noticed that there is a 'websockify' utility. Using and integrating that might be easier than reimplementing the ‎Web sockets protocol in Guile.

Also Nala Ginrut said that he might work on providing Web sockets in Artanis, his web server framework. 


  Original Message  
From: David Thompson
Sent: Friday, 20 February 2015 21:51
To: Neil Jerram; guile-devel@gnu.org; guile-user@gnu.org
Subject: Re: WebSockets

Digging up this old thread. :)

Neil Jerram <neil@ossau.homelinux.net> writes:

> I'm interested in adding support for WebSockets 
> (http://tools.ietf.org/html/rfc6455) to Guile's web modules. Is anyone 
> else interested in - or possibly already working on - that?

Did you ever decide to work on this? I'm also interested in getting
WebSockets support into Guile.

-- 
David Thompson
Web Developer - Free Software Foundation - http://fsf.org
GPG Key: 0FF1D807
Support the FSF: https://fsf.org/donate



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-02-20 22:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-02  9:29 WebSockets Neil Jerram
2014-04-02 10:08 ` WebSockets Nala Ginrut
2014-04-02 11:54   ` WebSockets Neil Jerram
2014-04-02 12:17     ` WebSockets Nala Ginrut
2014-04-04 16:57 ` WebSockets Ludovic Courtès
2015-02-20 21:52 ` WebSockets David Thompson
2015-02-20 22:08   ` WebSockets neil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).