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

World: r3wp

[!Uniserve] Creating Uniserve processes

Dockimbel
8-May-2006
[303x2]
There were some OS upgrades on this server in mid-april that required 
to put down the web site.
There's currently some issues on the domain name softinnov.org, please 
use http://softinnov.netfor now to access our web site.
Philippe
10-May-2006
[305]
Doc, when will you release a beta of Cheyenne and a new version of 
Uniserve ?
Terry
11-May-2006
[306]
I second that request
Dockimbel
13-May-2006
[307x3]
:-). I could release a new Uniserve version, but there's no much 
new protocols added yet. Uniserve also deserves some better docs. 
Cheyenne is still under development, my priority is to finish it 
asap. I'll release a beta as soon as I have a stable and almost feature-complete 
version. Cheyenne is meant to be a end-user product, so it needs 
some polishing and enhancement before giving it to users.
I want it to be as good as possible starting from the first release 
because, it may become a major tool for the REBOL community.
I expect that the community will be very enthusiastic about it, so 
I don't want to disappoint you all ;-).
Pekr
13-May-2006
[310]
:-) isn't it just a - webserver? :-)
Dockimbel
13-May-2006
[311]
Basically yes, but with the RSP module, it becomes a fast and flexible 
web application framework !
Pekr
13-May-2006
[312]
RSP? rebservices-like protocol?
MichaelB
13-May-2006
[313]
I guess more like ASP or JSP.
Louis
13-May-2006
[314x2]
Rebol Server Pages
If this list doesn't fulfill all your needs, here's the additionnal 
features planned for the 1.0 release :

    * RSP: REBOL Server Pages support.
    * General CGI support (run any CGI script).

    * Chunk-encoding transferts support (streamed data transferts).
    * Standard compression methods support: gzip, deflate, bzip2.

    * Byte-ranges request support (ability to request files in parts 
    and resume broken downloads).

    * mod-rewrite module for powerful request URL transformations (without 
    the regexp complexity!).

    * mod-map-url module for direct URL to REBOL functions or objects 
    mapping.
    * SSL support.
    * Advanced GUI client for local and remote administration.
Philippe
13-May-2006
[316x2]
Salut Doc, I have sent some informations about Uniserve on http://www.rebolfrance.info/projets/uniserve?s=Uniserve.
  I.e. the ability for Uniserve to use the lib Magic (O. Auverlot), 
with a lot of shorcuts to quickly create forms, check boxs, etc.
Have you planned a target date for a beta of Cheyenne ?
Dockimbel
13-May-2006
[318]
Not yet, I can only work on Cheyenne and other REBOL projects on 
my spare time, I'm currently almost full time on a big project for 
a customer (until end of july). I expect to make a first beta release 
of Cheyenne before that.
Terry
13-May-2006
[319]
Be sure to add some encap notes too please.
Oldes
31-Aug-2006
[320]
I changed this line:
if not find ti: third third :in port! [append ti port!]
to:

if not find ti: first find/tail third :in 'word port! [append ti 
port!]
to be able run uniserv in Rebol/Base
Will
31-Aug-2006
[321]
Mike, I started using Apache and rebol as cgi, this is not suited 
for performances as on every call to the cgi, a new instance of rebol 
is  initialized, run and closed.

I thought about using fastcgi, but never came to a working solution.
Now I use uniserve as main webserver, here some advantages:

-it is fast! On my local machine I get +- 600 req/sec for static 
pages and a max of 160req/sec for dynamic rsp pages

-it is written in rebol, I could easly(less than 10 lines code) add 
a rewrite engine

-child process are persistent, this mean you can keep state of your 
web applications, implement caching, keep a pool of connection to 
databases open (in apache + rebol/cgi you'd have to open and close 
the connection for every request)
-it is written by Dock whom I may be the biggest fan ;-)

btw I'm running an unreleased version (have bought commercial support) 
 that support http 1.1, stuff like If-Modified etc..

If you have more specific questions, I'll be glad to try and answer.
MikeL
31-Aug-2006
[322]
Thanks Will.   I would like to see how to put together a simple web 
form application that posts to a Uniserve script and provides an 
acceptance message.  When I looked at Uniserve I couldn't see how 
this simple thing could be done and how / which services to use. 
  Do you have a "Hello World" level example that follows that post/reply 
approach?
MikeL
1-Sep-2006
[323]
When I can get that simple part working then I want to add Make-Doc, 
my-sql-protocol and Andrew's ML dialect as services so I can get 
some leverage from these.
Graham
1-Sep-2006
[324x3]
I'm using Cheyenne with RSP, and Firebird.
Ask Doc for a copy of Cheyenne ...
but I think it's still in beta test ( extended ! )
MikeL
1-Sep-2006
[327]
Thanks I'll try that ... he hasn't been on AltMe since 05-Aug-2006. 
 For Cheyenne, do you have NTLM (Integrated Windows Authentication)?
Graham
1-Sep-2006
[328]
nope.
MikeL
1-Sep-2006
[329]
I also want to run Carl's blog.r from Uniserve.
Will
1-Sep-2006
[330x3]
Mike, her you can find latest released uniserve and there is also 
the NTLM:
http://softinnov.org/
Hello Name example:
<% validate [name -]%>

<html>

<body>

<%
either request/var/name [

	print [{Hello} request/var/name]

][

	print {<form method="POST" action="test.rsp">

	<input type="text" name="name">

	</form>}]

%>

</body>

</html>
and if you want to test for speed, you can ab (apache benchmark) 
http://wwd.francobianchi.ch/words.cgi;-)
MikeL
1-Sep-2006
[333]
Thanks Will - I have uniserve running and can serve up static webpages 
and the sample cgi that Doc provided. How do I allow RSP or ML to 
be loaded so that a page that uses them does not have to run as CGI 
and flag .rsp or .rhtml files as handled by RSP.
Will
1-Sep-2006
[334]
well in the release you dl the rsp support is "basic", I used a customized 
one but now I'm using Dock latest rsp, sorry but you should definitely 
ask Dock for latest version or wait till he release.
Volker
1-Sep-2006
[335]
Is there a good way to contact Doc?
Will
1-Sep-2006
[336]
did you try by email?
Oldes
1-Sep-2006
[337x2]
Hm, it was the hard part of the learning uniserve, but now I know, 
how to do-task. But the question now is - what if I need to do task 
once a day, I don't want the launched helper process to be still 
running in the background. Is there someone who can help?
Found a way - to modify on-received function in the task-master to 
send the task port with data to the service using on-task-done and 
than closing the task if needed from the service:-) If there is some 
other way how it should be done, let me know.
Pekr
1-Sep-2006
[339]
how do you feel about Uniserve so far - nice concept, isn't it?
Oldes
1-Sep-2006
[340]
Yes, I like it. I already transfered my MicroChat server to Uniserve 
kernel and Irc bot as well:-)
Pekr
1-Sep-2006
[341]
I thought that concept like that could be built-into rebol by default 
....
Oldes
1-Sep-2006
[342]
Why, it's good as it is and who knows how will look ports in R3
Dockimbel
4-Sep-2006
[343]
I have a much more recent version of UniServe almost ready to release, 
but docs are not updated and some of the protocols are still alpha. 
But with the current interest in UniServe, I'm thinking about releasing 
a beta version here this week.
Graham
4-Sep-2006
[344]
Not so busy now?
Oldes
4-Sep-2006
[345]
I'm using UniServ as a core for my MicroChat - http://box.lebeda.ws/~hmm/chat.html
:-)
Graham
4-Sep-2006
[346]
cool.
Dockimbel
4-Sep-2006
[347]
Busy, I am ;-). But there's a new version sitting on my hard drive 
which could be useful to some people here.
Graham
4-Sep-2006
[348x2]
no one there though
what are the arrows for?
Oldes
4-Sep-2006
[350]
You can move the yellow boxes:-) and all you say is visible here 
as well - http://www.informacezbrna.cz/
Graham
4-Sep-2006
[351]
yee gods .. .birds attacking me!
Oldes
4-Sep-2006
[352]
And the people talking now are puppets - they are recitating Plato's 
Gorgias