Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Rugby for Artists => was Re: Re: Medium+ Scale Developments

From: brett:codeconscious at: 14-Jan-2002 19:20

Hi Rondon,
> I have a few doubts about rugby. I can make a direct call using rexec and
sexec, putting the service at http layer. So I can call a service through rugby to be sent to a browser, but how can I send back args to my functions inside rugby server via my IE5?
> What are the variables that I must read ? Where are they located, if this
is not running in cgi-mode?
> If you would compare the use of FastCGI and Rugby, which do you prefer to
use in terms of best performance? First off, let me say, I may have completely misunderstood you and so my response could be completely irrelevent. More knowledge people will hopefully correct me if I'm wrong. I must admit I hadn't thought of using a browser with Rugby. But if I did, I would need to use the Rebol plugin as well. I would then put my Rugby (client) enabled script in an html page for delivery to the user. Rugby and FastCGI can both handle http requests - but those requests mean totally different things. For me, Rugby and FastCGI have two different purposes. FastCGI is used to avoid a weakness of plain CGI - that being that CGI creates a new process for each request it needs to service. FastCGI does better because it makes a CGI type program persistent (held in memory) - a very old trick from mini-computer days. Though it requires a change to the programming (something the old minis avoided). FastCGI then, is a performance tweak for web-servers. Rugby has a more specific purpose. Rugby is meant to provide network services for programs. As Maarten points out, Rugby now supports XML-RPC. So Rugby can do web services as well. FastCGI might be used for a web-service situation, but then again it might not - it might just deliver the time of day in pretty colours. Rugby is devoted to network services for programs at the language level (the level of a function). FastCGI delivers html or other content, Rugby delivers Rebol values. I have no recommendation on one over the other. I have not used FastCGI at all, I have not used Rugby in a production environment. I would normally consider them different tools for different jobs. Brett.