On Monday 14 October 2002 21:58, Sean Evans wrote:
> Hi all,
>
> I plan to use Postgresql for data storage, and was wondering what the
> recommended approach was. Should I write a Provider? Encapsulate database
> access behind a taglib? I appreciate your help.

Use a Provider. When I get around to packaging my SQL provider (really soon 
now, I promise), you can configure your queries in httpd.conf and get caching 
for free. With taglibs, you will always run through a XSP bottleneck.
Actually, you would usually use a mixed approach. Use a provider for 
retrieving and displaying pages made from SQL data, and XSP (probably with 
ESQL) to modify data.

Of course, if your DB data is highly dynamic and barely cacheable anyways, 
then use XSP all the way.

CU
J�rg


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to