cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <>
Subject Re: XSP problem
Date Fri, 19 May 2000 12:54:33 GMT
Ulrich Mayring wrote:
> Kevin Sonney wrote:
> >
> > Ah-ha. This uses XSP then calls the SQL Processor. Why not use the SQL
> > TagLib instead :
> [deleted convoluted query syntax]
> Perhaps I'm dumb and don't see the light, but the sql taglib is too
> verbose to be useful for me. I have many, many queries in many, many XML
> files. With the SQL Processor I just define my connection parameters
> once and re-use them for every query. With the SQL taglib the code
> becomes unmaintainable - what if the database user changes or the
> password or ... ? I have to edit every query in every XML file I have.
> Folks: this was yesterday, today is cocoon :)

Why don't you use XInclude?
> With the SQLProcessor I can have one connection.xml file and that gets
> included in every XML page that has queries. That also means I can give
> my files to other users to edit, because they contain no
> username/password for the database.

See above.

Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<>                             Friedrich Nietzsche
 Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com ---------------------

View raw message