[Lazarus] Library internals and interface based data aware controls

Martin Schreiber fpmse at bluewin.ch
Wed Oct 28 07:42:39 CET 2009


On Tuesday 27 October 2009 23:07:07 Juha Manninen wrote:
>
> The current DB components (Dataset, DataSource and edit controls) are
> needed to support existing code base but there should be another well
> designed interface based component set.
> What you say?
>
Agreed. As an intermediate solution MSEide+MSEgui uses interfaces in order to 
connect DB widgets with teditwidgetdatalink which communicates with standard 
TDataSource. So some of the code can be centralised. In order to implement 
extensions, bugfixes and workarounds MSEgui datasets have a tdscontroller 
property which also operates with interfaces.
I don't think that it is possible to develop a new DB framework based on a 
completely new approach in acceptable time frame because it needs a complete 
rewrite and would have zero or very low backwards compatibility. Remember how 
long it took until the current FPC DB implementation reached a usable 
state...

Martin




More information about the Lazarus mailing list