r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[!Cheyenne] Discussions about the Cheyenne Web Server

Kaj
3-Jan-2010
[7140]
http://web.syllable.org/pages/index.html#id-2010-01-02-22-16
Davide
3-Jan-2010
[7141x2]
this is a start of  a sample app using extjs lib http://www.ddmind.com:81/moon88

As Doc said I think that 2010 will be the year of these kind of applications
Yes Will, I'll try to dive into the code asap :-)
Kaj
3-Jan-2010
[7143]
In addition to being the Year of the Linux Desktop, of course ;-)
Davide
3-Jan-2010
[7144]
(will be the year of duke nukem forever too)
Kaj
3-Jan-2010
[7145x3]
Wow, that server of yours is awesome
My article is on OSNews now:
http://www.osnews.com/story/22681/Syllable_Web_Server_Cheyenne_Gets_WebSocket_Framework
Dockimbel
3-Jan-2010
[7148x2]
Kaj: thanks very much for the article!
Davide: nice work, I'm sure that Cheyenne would make a good front-end 
for your framework.
Davide
3-Jan-2010
[7150]
thanks kaj, thanks doc. 
Anyway it's great to see cheyenne on osnews.
Dockimbel
3-Jan-2010
[7151x3]
Now that there's a framework inside the main Cheyenne process, I'm 
considering adding more UniServe based implemented protocols to Cheyenne, 
like HTTP, POP3, IMAP and MySQL. There are of course all async.
HTTP is the most advanced, I use it in several apps in production. 
POP3 is beta. IMAP has just a few lines of code. MySQL is alpha, 
but working.
For web socket apps, the advantage would be to not have to require 
'do-task to use the sync version of these protocols from a worker 
process. OTOH, that would put more burden on the main process lowering 
its scalability. So I've not decided yet, this would probably require 
good benchmarking first.
Kaj
3-Jan-2010
[7154]
Would you still need your own protocols with R3?
Dockimbel
3-Jan-2010
[7155]
Maybe not if there are already there.
Kaj
3-Jan-2010
[7156x3]
I updated the article on the Syllable sites with the online chat 
demo
I had hoped it would be in time for OSNews, but I thought I had better 
make use of the current slow news period. I'm not sure they would 
report on just some web server
It occurred to me that no contact information is published anywhere 
for Cheyenne, so I linked this chat from the community links on the 
Syllable sites
Dockimbel
4-Jan-2010
[7159]
I'll add contact info in the chat demo.
Will
4-Jan-2010
[7160]
anyone here had problem using mod-alias? I'm not using it but have 
an old patch and would appreciate some user cases where current version 
fail before subitting to Dock, thx
Janko
4-Jan-2010
[7161x3]
I found this example of doing the file upload in cheyenne but I don't 
understand it fully. http://rebol.wik.is/Cheyenne/Upload-file.rsp
where does the 'infile come from?
aha, I see it now..


btw: I noticed one thing.. when I uploaded file request/conetnt keys 
returned to strings from words .. so I had to do req: request/content 
forskip req 2 [ change req to-word first req ]  to fix them back
Dockimbel
4-Jan-2010
[7164x4]
What version are you using? I remember fixing such issue a few month 
ago.
It has been fixed in the SVN repository but the bug is present in 
v0.9.19.
If you want to fix it in 0.9.19, here's the patch :

RSP.r => decode-multipart function => line: insert tail list name
should be : insert tail list to word! name
You can also copy/paste the latest 'decode-multipart function in 
your 0.9.19 RSP.r file, modifications are minor and not dependent 
on other parts.
Graham
4-Jan-2010
[7168]
Janko, if you want to write some additional documentation for my 
example, I can add it ...
Dockimbel
4-Jan-2010
[7169]
Your wiki looks really nice.
Graham
4-Jan-2010
[7170]
Just using the defaults with absolutely no customizations!
Terry
5-Jan-2010
[7171]
When I posted that link to my demo, I had only just updated the nameservers 
for shinyrockets.com.. should have propogated everywhere by now
http://shinyrockets.com/ws2.html
Graham
5-Jan-2010
[7172]
Nope.
Terry
5-Jan-2010
[7173]
There's no www.
Graham
5-Jan-2010
[7174x5]
Chrome is probably aggresively caching
You should put some no-cache directives on that page ...
I always get redirected to http://70.68.163.178/ws2.html
Nothing comes up for me in FF 3 or Chrome 4 at http://www.ddmind.com:81/moon88
well, I see a little red square top right
Dockimbel
5-Jan-2010
[7179]
Works here with Chrome 4.
Henrik
5-Jan-2010
[7180]
Seems to work here too.
Janko
5-Jan-2010
[7181]
I am using 0.9.19, no problem just wanted to mention. 


@Graham: can I ask why are you doing this (checking for file OR data 
in request/content): 
either file? filedata/2 [ 

 write/binary join get-user-dir filename read/binary join incomingdir 
 filedata/2
] [ 
	if filedata/2 [
		write/binary join savedir filename filedata/2
	]
]


I imagine if file is bigger it get's saved and you copy it. But how 
can you then determine the incoming/pwd is this some cheyenne default?
Graham
5-Jan-2010
[7182]
cause there is a default directory for all incoming file data ...
Terry
5-Jan-2010
[7183x4]
Ok.. Chrome has a "prefetch dns" option..  so my demo was caching 
the ip rather than the domain

I've updated the domain to a proper dns record, rather than just 
forwarding.

If you still can't see the demo, turn off "prefetch dns".. temporarily

http://shinyrockets.com/ws2.html
Article regarding chrome dns prefetching

http://tinyurl.com/4adsdd
This is helpful as well.. in the chrome address bar type;
about:dns
Methinks the Cheyenne world would be much better serviced using Cheyenne 
chat rather than this archaic, uneditable, uncustomizable, proprietary 
and  difficult to enter thing called Altme
BrianH
5-Jan-2010
[7187]
All good criticisms, except the "proprietary" one. It could be worse 
though - it could be a web chat.
Terry
5-Jan-2010
[7188]
Yeah, web chats....  avatars, skins, website integration, API integration 
with gmail, animations, sound, video and other media integration... 
those things really suck
BrianH
5-Jan-2010
[7189]
Yup, I agree, at least the parts that need the web to do (which isn't 
much on that list).