Mateusz Loskot :: hacking on, working out, living up

FDO PostGIS turning point

04 Feb 2007 | mloskot

More than a week ago, after longer discussion in the FDO PostGIS team (Paul Ramsey, Jason Birch and I) we decided about a turning point in the development of PostGIS provider for FDO. The most important part of our decision is about dropping the Generic RDBMS framework as an intermediate API for the provider and implementing FDO core interface directly.

What is the Generic RDBMS framework:

The Generic RDBMS project provides FDO with access to RDBMS systems through a generic framework that allows code reuse and reduces the development time for creating new FDO providers.

I’ve been working with the Generic RDBMS and learning its internals straight from the code long weeks. It wasn’t easy due to fact it feels big and also because it’s not friendly documented for users yet. Nevertheless, I can say I’ve became familiar with internals of Generic RDBMS quite well.

Recently, I’ve started to experience some difficulties and limitations of the Generic RDBMS layer. I faced all these problems while adding support of another DBMS engine - PostgreSQL - to the Generic RDBMS layer and it’s internal components like RDBI and GDBI (the PostgreSQL is not yet supported by Generic RDBMS, so it was obvious for me I need to implement it in order to develop PostGIS provider).

Follow this link to read the turning point announcement posted by Paul on the fdo-internals mailing list, in which you can find more details about the rationale of our decision.

As a conclusion of my experiences from using Generic RDBMS, here is my personal summary of reasons why it’s important to analyse this framework in details before making a final choice (random order):

I can confirm it’s easier because I’ve been developing on new generation of PostGIS provider for more than a week. I suppose thin implementation of FDO core interfaces will be faster because of use of as little abstraction levels as possible.

I’m not against of the idea of abstraction layers for DBMS and I’m not against the idea of the Generic RDBMS framework for FDO. Better, I like the concept. I’m a member of development team of SOCI library - a database access library for C++. It’s a simple abstraction providing common layer for SQL queries execution and fetching query results. I’d call SOCI as a pretty simple example of common denominator for various DBMS and even that we’ve experienced number of problems and limitations resulting from specific nature of various database engines. So, developing usable and extensible abstraction above yet more complex system is tricky for sure, but may be impossible too.

I know there are some users waiting for the PostGIS provider for FDO. I’d like to apologise all of you waiting for it for the significant delay. I’m sure our latest decision about the turning point will favourably influence the PostGIS provider development and make the release date closer.

Fork me on GitHub