[Lazarus] GUI development for web UI

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Wed Dec 1 15:52:59 CET 2010

On Wed, 1 Dec 2010, Michael Schnell wrote:

> On 12/01/2010 02:16 PM, Joost van der Sluis wrote:
>>> My FastCGI process is running as a windows service.
>> What is exactly the reason for this? Isn't it much easier when the
>> webserver starts (and stops, when it is not used) the cgi-application,
>> than doing this in a Windows service?
> As creating process is a time consuming effort in Windows, fast-cgi-ing 
> already running processes would offer a lot faster response.
> OTOH, If doing Windows, Microsoft of course wants you to use IIS. Microsoft 
> IIS provides the ISAPI interface between the webserver and the cgi program, 
> that in this case is neither a program nor a service, but a DLL. ISAPI offers 
> similar features like FGCI but in a Windows-centric way.
> A colleague of mine (using Delphi) did a quite complex application based on 
> ISAP. it's running just fine for a lot of customers.
> In fact he did an ISAPI "proxy" DLL, that communicates with a service (or 
> program). This way debugging is a lot easier than directly debugging the 

ISAPI is still on my list.

But FastCGI is better, since it runs irrespective of the webserver.
And given that IIS is losing market share, I would never code exclusively
for IIS.


More information about the Lazarus mailing list