[fpc-pascal] Powtils Apache and Windows Seven 64bits

Leonardo M. Ramé martinrame at yahoo.com
Mon May 24 20:30:35 CEST 2010


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

> From: Marcos Douglas <md at delfire.net>
> Subject: Re: [fpc-pascal] Powtils Apache and Windows Seven 64bits
> To: "FPC-Pascal users discussions" <fpc-pascal at lists.freepascal.org>
> Date: Monday, May 24, 2010, 3:20 PM
> On Mon, May 24, 2010 at 2:24 PM, Lee
> Jenkins <lee at 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



      



More information about the fpc-pascal mailing list