--- On Mon, 5/24/10, Marcos Douglas <m...@delfire.net> wrote:

> From: Marcos Douglas <m...@delfire.net>
> Subject: Re: [fpc-pascal] Powtils Apache and Windows Seven 64bits
> To: "FPC-Pascal users discussions" <fpc-pascal@lists.freepascal.org>
> Date: Monday, May 24, 2010, 3:20 PM
> On Mon, May 24, 2010 at 2:24 PM, Lee
> Jenkins <l...@datatrakpos.com>
> wrote:
> >
> > It is more or less a console application.
> >
> > 1. Request come in.
> > 2. CGI Application starts and handles request through
> stdin/stdout.
> > 3. CGI Application shuts down and release its
> resources.
> >
> > One application is started and then shutdown for every
> request which comes
> > in. Not good for sites that need AJAX, connection
> pooling, persistent
> > objects, etc.  Great (and fast) for sites with basic
> fetch(static, database,
> > etc) and display models, IMO.
> 
> Oh my...
> 
> Then I can do this:
> var
>   s1, s2, s3: TStrings;
> begin
>   s1 := TStringList.Create;
>   s2 := TStringList.Create;
>   s3 := TStringList.Create;
> end;
> 
> ...and at the end, no memory leaks?
> 
> This is true about Desktop (Win/Linux) apps too?
> 
> Marcos Douglas

Marcos, nobody is saying that you don't have to destroy instances when 
programming CGI apps. 

Leonardo M. Ramé
http://leonardorame.blogspot.com




_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to