-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Saturday 08 June 2002 1:21 pm, Axel Straschil wrote:
> Hello!
>
> After fooling around and falling in love with AxKit I'm starting my first
> project which will have a lot of database stuff, I'm using PostgreSQL,
> just one Database.
>
> I have one ESQL-Connection in my xsp-file and now I wan't to start some
> connections with extern Perl-Libs using TaglibHelper and Apache::DBI, but
> I am afraid that this could mean that I'm haveing more the one Connection
> to my DB.
>
> My config looks like
> PerlModule AxKit
> PerlModule XML::LibXML XML::LibXSLT
> PerlModule Apache::Status Apache::DBI
> and I have an init.pl like
> ache::DBI->connect_on_init('dbi:pg:axel', 'username', 'password');
>
> Now my Question:
> When I'm writing TagLibs which are using DBI and DBI-connect, does this
> mean that I've got two connections to my DB, one for ESQL and one for my
> TagLibs using DBI.
No, ESQL will work in conjunction with Apache::DBI if you have it loaded, so
you're not creating extra connections.
> Also, im creating the most XML-Stuff with stored procedures from
> PostgreSQL and import them with ESQL using <esql:get-xml/>. For
> performance-paranoia, ist this OK or is there a better way?
It does have to parse the XML as you get it out of the database, but it does
so relatively quickly.
- --
<:->get a SMart net</:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE9Afh4VBc71ct6OywRAtwFAKCNRw3NNh9D3/ZPu+FAc40WYqR3PACgusxO
bAQSL8ya9rN50GDWWYXFxBk=
=9NFJ
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]