&gt; I live in the PHP world, and it seems that every hot new framework wants to do its own SQL re-hash. They always seem created by programmers who either hate SQL and want to avoid it as much as possible in favor of OO paradigms, or have never used it beyond its basic features.<p>Agreed.<p>I don&#x27;t use PostgreSQL and haven&#x27;t got my head around it fully, but have you seen <a href="http:&#x2F;&#x2F;www.pomm-project.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.pomm-project.org&#x2F;</a> ?