[Lazarus] Build modes, macros and conditionals

Mattias Gaertner nc-gaertnma at netcologne.de
Sun Oct 24 22:49:11 CEST 2010


I'm trying to understand how does factory support works for
WebDataProvider.

Is this feature useful when the programmer don't want to add too many
WebDataProviders into the TFPWebProviderDataModule?.

It is possible to define the WebDataProviders in their own unit (by
code), then, in the TFPWebProviderDataModule register all providers with RegisterProvider,
to let the module know about them?.

If factory support's rationale is to avoid WebProviderDataModules full
of WebDataProviders, why not just divide the app with many
datamodules containing only some WebDataProviders?. 


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




More information about the Lazarus mailing list