From: Joshua D. Drake <jd@commandprompt.com>
To: Mitch Pirtle <mitch.pirtle@gmail.com>
Cc: pgsql-php@postgresql.org
Subject: Re: Object/relational mappers for PHP?
Date: Fri, 21 Apr 2006 08:46:11 -0700
Message-ID: <4448FE43.8040908@commandprompt.com> (raw)
In-Reply-To: <330532b60604210749n79408d66ha726aa90be7e109f@mail.gmail.com>
References: <330532b60604210749n79408d66ha726aa90be7e109f@mail.gmail.com>
Mitch Pirtle wrote:
> Hi gang,
>
> We finally have the underpinnings for database drivers in Joomla 1.5,
> and now are tackling the thorny issue of all those MySQL-specific SQL
> statements littering the core.
This might help:
http://wiki.cc/php/Object_Relational_Mapping
Joshua D. Drake
>
> One solution of course is to use Christopher Kings-Lynne's(sp?) MySQL
> compatibility goodies, but we are also looking to solve this riddle at
> the application layer so we can support more databases in the future.
>
> We have implemented some basic SQL generating methods in our database
> class (to manage LIMIT and LEFT JOIN differences, for example) but are
> primarily relying on ANSI SQL to get around most issues.
>
> I'd like to know if anyone here is already working on a class to
> generate SQL at the object level, as opposed to (re)inventing your own
> API to generate queries for each database engine.
>
> Anybody else working on something?
>
> --
> Mitch Pirtle
> Joomla! Core Developer
> Open Source Matters
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend
>
--
=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive PostgreSQL solutions since 1997
http://www.commandprompt.com/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: jd@commandprompt.com, mitch.pirtle@gmail.com
Subject: Re: Object/relational mappers for PHP?
In-Reply-To: <4448FE43.8040908@commandprompt.com>
References: <330532b60604210749n79408d66ha726aa90be7e109f@mail.gmail.com> <4448FE43.8040908@commandprompt.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox