|
From: Patrick M. <mai...@st...> - 2001-09-02 11:06:33
|
On Sun, Sep 02, 2001 at 02:55:26AM +0200, Javier Sixto wrote: > About the "SQL queries problem" > I was thinking to extract all SQL queries (or sql bits), into one file, > it is just an idea to simplify database tunning or other code > maintenance ... PHP is not SQL, so why we mixed both every time ;-) ... > An important part of work made for a PHP application is SQL debugging, > isn't it ? > Perhaps it is a bad idea, because i have never see this done in any PHP > application ... > What do you think about ? > As i said it is just an idea ;-) I tried to do this in another project, but it showed up that the sql queries are often logically linked with the php code and debugging isn't simplified when it's splitted. -- http://home.nikocity.de/mairif http://caravan-network.de ICQ# 96716515 |