RevConference - Client Server vs Stateless

Pierre Sahores psahores at easynet.fr
Mon Jan 12 19:13:43 EST 2004


Le mar 13/01/2004 à 01:09, HyperChris at aol.com a écrit :
> In Jerry Daniels presentation on thin clients he stated a strong preference 
> against using the client-server model, which I took to be Rev talking to the 
> database directly, in favor of what he called a stateless model in which rev 
> made http calls to the Apache/MySQL/PHP setup.

...
> 
> The obvious question I have is why ? Do the stateful operation of direct 
> database calls create a reliability problem? (The little voice in my head says I 
> am missing something here!)
> 
> Also, it occurs to me that the Rev engine could replace PHP and allow one to 
> simplify that aspect of it a little bit. I say a little bit because one would 
> still have to right scripts for the Rev engine that translate ones tags into 
> database calls. Has anyone taken this route and care to share its effectiveness 
> ?

You could try and optimise something like that,...

> <HTML><HEAD>
> <META HTTP-EQUIV="content-type" CONTENT="text/html;charset=iso-8859-1">
> <META NAME="generator" CONTENT="BBEdit 5.0">
> <META NAME="author" CONTENT="Pierre Sahores">
> <META NAME="keywords" CONTENT="cndp c.n.d.p. ingenierie educative enseignement metacard linux">
> <TITLE>Test RSP : accueil</TITLE><SCRIPT><!--
> 
> <? require("iassd/banniere.js"); ?>
> 
> // © 1999 Pierre Sahores psahores at easynet.fr --></SCRIPT>
> <NOSCRIPT><H2>Attention ! Votre navigateur est trop ancien pour interpréter le code javascript utile 
> au fonctionnement du site consulté !</H2></NOSCRIPT></HEAD>
> 
> <BODY text="darkblue" ONLOAD="msgBan4='Site optimisé pour un affichage 800x600, 256 couleurs et Netscape 4.7/Explorer 5.5 minimum.';banniere4(100);" ONUNLOAD="clearTimeout(ban4)">
> 
> <br><br>
> <table border="0" cellpadding="0" cellspacing="0" width="100%"><TR><TD align=center>
> <FONT SIZE="3" color="slateblue">
> 
> <? passthru('#!/bin/sh
> exec 2>&1
> echo \
> \
> \
> set itemdel to \"/\" \
> put \"Hi !\" \&\& item 2 of the short date \& \"/\" \& item 1 of the short date \& \"/\" \& item 3 of the short date \&\& word 1 of the short time \
> put \"This is a Rev ASP/JSP alike way to output Transcript contents to the Web\.\" \
> \
> \
> | /srv/www/celia/asplike.rsp'); ?> 
> 
> Have Fun ;-)</FONT></TD></TR></table></BODY></HTML>
> 
Best, Pierre
> 
> Thanks.
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
-- 
Bien cordialement, Pierre Sahores

100, rue de Paris
F - 77140 Nemours

psahores at easynet.fr

GSM:   +33 6 03 95 77 70
Pro:   +33 1 41 60 52 68
Dom:   +33 1 64 45 05 33
Fax:   +33 1 64 45 05 33

Inspection académique de Seine-Saint-Denis
Applications et SGBD ACID SQL (WEB et PGI)
Penser et produire "delta de productivité"


More information about the use-livecode mailing list