[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Client CGI vs Server CGI



At 10:20 AM -0500 1/2/99, Emmanuel. M. Decarie wrote:
>I don't know if I'm mislead about the nature of CGIs , but I tend to be
>more confident in a solution that will involve the server (with a Perl or
>a Frontier script) than a solution that will involve a client CGI (a
>JavaScript or/and a Java applet solution executed by the browser).

Well, each has thier own preference.  I have found alot more people are
willing to hit a button and wait a little bit more while the CGI does it's
thing, rather than hitting a button and waiting for your computer to slow
down while it processes the java/javascript.

>I was thinking mostly of CGIs that involve forms, retrieving information
>in a "flat" database, sending mail...

you can almost do anything with CGI..  just be careful..  with CGI, it is
possible to delete everything (you have to code it) but just be careful
with the unlink command in perl.

>I know that Perl can trigger a JavaScript, and I'm sure that Frontier can
>do the same.

...I'm not sure about that...

>What the people think about this. Am I'm wrong to think that beside CGIs
>that involve the browser GUI (opening new windows...), its better to use a
>server architecture than a client architecture to execute CGIs ? And what
>about the speed of deployment when you compare writing a Perl/Frontier
>script and a Java applet (I don't know Java, but I'd like to hear about
>this too).

I think it's best for server-side scripts to be executed.

>PS: Sorry it this is off-topic.
>
>Cheers
>
>-Emmanuel
>
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>Emmanuel M. Dˇcarie - <emm@cam.org>
>---> The Frontier Newbie Toolbox:
><http://www.cam.org/~emm/frontierNewbieToolbox.html>
>---> Frontier en fran¨ais !
><http://www.scripting.com/frontier5/francais/>
><http://www.scriptmeridian.org/tutorials/francais/odb/>
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>***** Want to unsubscribe from this list?
>***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch

--Tim

--------------------------------------------------------------------------------
"If the opposite of 'pro' is 'con' ...
    does that mean the opposite of 'progress' is 'congress'??"  -- Unknown
--------------------------------------------------------------------------------



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch