... mehrere Datenbanken zu unterstützen, kann man wunderbar in der Drupal Entwicklermailingliste mitverfolgen. Da gibt es Leute, die argumentieren, dass der Support für Postgres zugunsten von MySQL aufgegeben werden soll.
Es gibt aber sehr gute Argumente , die gegen eine solche Entscheidung sprechen.
Forcing ourselves to think generically about databases forces us to make certain design decisions that, in the long run, are good for the health of the code, even if only 5 people use Something other than MySQL.
In einer weiteren Mail wird das ganze anhand eines Auszugs eines Buches über Microsofts erstes “Betriebssytemprojekt” Windows NT in den 90’ern beschrieben.
Since the start of the project, Cutler had emphasized the importance of creating two versions of NT in tandem. This kept code writers “honest” by forcing them to write their code in portable languages, rather than lapsing in to chip-specific assembly code.
Proudly dubbing himself Mr. Mips, Cutler was more enthusiastic about the version of NT designed for the Mips chip. This was… because… Cutler feared that the Mips version would receive short shrift unless someone of his stature defended it. It was all too easy to tailor NT to Intel’s X86 chips, giving the program greater performance but at the cost of portability.
This was the path advocated by Muglia, who was convince that Intel chips would power virtually every PC for years to come. “Screw Mips,” he said. The team should “focus on the Intel version and let Mips drag behind.”
To Cutler, Muglia’s position was stupid. If the team let the Mips version of NT lag behind, within months there would be no Mips version. Without a constant effort to keep the two versions in line, they would drift hopelessly apart. Day to day Cultler’s top propriety was to keep the two versions on an equal footing. As one code writer put it. “That guarantees you portability and verifies your design.”
Ich wette ja drauf, dass der Datenbankzugriff so weit abstrahiert wird, dass Modulschreiber garnicht mehr daran denken, direkt für eine Datenbank zu schreiben. Und dann wird sich die Unterstützung für viele “Exotendanken“, wie zB. sqlite, Firebird und Oracle, verbessern.