GM - Interface based Data aware Controls

GM - Interface based Data aware Controls

The GM - Week Services application is a good example how the GM-Interface based components work.

Features:

Relying on interfaces instead of base classes has two major advandages:

  1. A new data container may derive from any class. You are not forced to use Units with certain base classes. No overhead code is linked to your application when building a simple new data container because of using other heavy weight units just to derive from a certain class.
  2. Because of the fine interface granularity only a few methods need to be implemented to be able to connect controls to the container. The more interfaces are implemented by the container the more features get available. This allows to build very complex applications and still keeps simple applications small.