[fpc-devel] Questions and suggestions to fpWeb
Luiz Americo Pereira Camara
luizmed at oi.com.br
Tue Aug 3 20:12:36 CEST 2010
Michael Van Canneyt escreveu:
>>>>>
>>>>> I agree that the contents/content properties should be reduced to 1
>>>>> property. But this is a change which will break backwards
>>>>> compatibility.
>>>>
>>>> AFAIK the fpWeb interface is still in progress. Anyway, better
>>>> change now than later.
>>>
>>> The question is: which one ?
>>
>> Contents is more versatile and does not lead to performance pitfalls
>> like using it as a simple AnsiString property
>
> So you prefer Contents ?
Yes. In fact in the patch i sent i already removed Content.
>>>>
>>>> OK. BTW what's the intention of adding TWebHandler AFAIK only add
>>>> another layer.
>>>
>>> There is a simple reason: if you want to have a service application,
>>> there
>>> will be 2 application objects. Now you can have only 1 application
>>> object
>>> (service application) which uses the webhandler to process requests.
>>>
>>> You can now also produce 1 binary which can be configured to run as a
>>> CGI/FCGI/Service/standalone server, and which will have 1 single
>>> application
>>> instance for all 4 cases.
>>
>> Good.
>>
>> Do you have an simple example of such program?
>
> Not yet for public use.
>
> I personally need the case of a fastcgi service application, for use
> with ExternalFastCGIServer of mod_fastcgi.
> (*not* mod_fcgid, it has no such equivalent)
>
> But I will try to cook up an application which does that.
Thanks. I'll be waiting.
Luiz
More information about the fpc-devel
mailing list