Console mode apps (was Revolution speed sucks?)

Pierre Sahores psahores at easynet.fr
Wed Aug 6 16:48:00 EDT 2003


Dar Scott wrote:
> 
> On Wednesday, August 6, 2003, at 03:32 AM, Pierre Sahores wrote:
> 
>> Because the answers have to do with the OS the deamon apps are running 
>> on, what are the platform's operating systems your are developing for 
>> (MacOSX, Win32, Linux,...) ?
> 
> 
> I want it all!  Let's start with Win32 (or a subset) or OS X.
> 
> Dar Scott
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> 
Dar,

At the begining of the story (1997), i was, as lots others, searching a 
way to set-up a little web-driven flat-files database server. At that 
time, i was mostly interesting in running the stuff under the 
MacOS/Webstar platform.

After testing lots of stuffs and possibles ways to do the trick 
(FileMaker, Frontier, Lasso, Visual Cafe, 4D, MacPerl, AppleScript, 
Live-Card, etc...), i went back to my lovely Hypercard 2.35, found a 
WebStar doc about the way to use to set-up a "Hello world !' CGI in 
using HC...

Because MacOS was not able to handle the way the CGI's are running as 
scripts under *NIX, the only way to have HC-based CGI up was to have the 
HC app running along WebStar and to let the two apps communicate trough 
appleevents. After lots of tunning, this way became rally usefull and i 
used it to build some MacOS web apps.

(re)Because Apple shooted HC, i went to Metacard and because MacOSX 
did'nt come out, while i was waiting for more than a beta OS (Rhapsody), 
i went to Linux (1999) and worked hard to set-up Metacard, not as a 
CGI-engine but (in about speed and security considerations, i had 
successfully experimented under MacOS8), to have it up as a long-running 
application process, in compliance with the Init System V guilde-lines.

With the help of Scott (Raney), and some times against his advices !!! 
(the .php-based sockets listener, witch i still recommand) and Andu 
(Novac), i find out the way to get the expected results (see the 
metacard archives list).

...

As Revolution is yet in front of the stage, i would recommand you to use 
it instead of MC to go head in building XTalk's based "three parts 
networked apps".

All what i learned in about this mather is only "work in progress" (SQL 
  servers handling trough shell() has to be replaced by the build-in 
"Rev-DB" facilities) but what i experimented, along those years, is that 
the RR(MC) engine rocks in serving critical web's and erp's dedicated 
apps over the internet.

As a possible starter point, i recommand you to read the Sadhu's how-to, 
witch explain how he builded, in some hours, his first MC-based deamon 
to serve datas over the web to a MC-based client-side front-end. In 
between other places, you will find it at 
<ftp://crdp.intereduc.net/howto.html>.

Search too about a recent (july) general post i did on the Rev's list.

Win32 is able to host such apps too, as long as the apps are launched in 
graphical mode, even id they are only working just as *NIX deamon apps 
would do.

MacOSX is able to run them in both the *NIX and Win32 ways but i did'nt 
have time to test the first one, at this point.

...

Alike Richard, Kevin, Tuviah and others, i belive that Revolution can 
take-off in about the great internet apps framework he is (even if just 
some ones of us are still using it in this way), if we can explain how 
it let us build critical apps without the inconvience of using too 
trivial or unsuitables tools, java included.

Ask for more technical tasks, if needed.

Bests,

-- 
Bien cordialement, Pierre Sahores

Inspection académique de Seine-Saint-Denis
Serveurs d'applications et SGBDR (Web/PGI)
Penser et produire l'avantage compétitif




More information about the use-livecode mailing list