SEARCH:

How should you handle site-specific customisations in an overall single application source?


How should you handle site-specific customisations in an overall single application source?

Suggestions included

Conditional Compiles -
IfDef Site a .. .. Else . . #Include files of same name in different directories. Switch Workspace for different sites. Or #Includes on an IfDef basis.

Don't try and define different data structures. Try and include site specific data in the spare space at the end of a record definition, but even if that is not possible, better to include all the fields for all sites and ignore those not needed for any particular site, Disk space is cheap, and if it isn't, compression is available to effectively eliminate the redundant field space.