I think there are a few options here which we discussed in the past:
a) Use Zend_Cache to cache the info with a TTL.
b) Implement a very lightweight Zend_Db specific cache with TTL.
c) Auto-generate classes (i.e. manual update). Theoretically that and Cache
are similar solutions as Cache can also be manually generated.
Anyway, Bill is working right now to come with a suggestion for what the
scope of Zend_Db is and if we need an additional layer, what that would be.
This issue will definitely be taken into account.
Thanks.
Andi
> -----Original Message-----
> From: Shahar Evron [mailto:
shahar.e@...]
> Sent: Monday, January 01, 2007 6:15 AM
> To:
fw-db@...
> Subject: [fw-db] Caching of describeTable
>
> Hi,
>
> Maybe I just need to RTFM but this one is a quickie: Is there
> a caching solution for Zend_Db_Adapter_xxx::describeTable() ?
>
> That one gets called quite frequently, and is very unlikely
> to change in production environemtns. Caching it somehow
> would be a smart idea.
>
> If nobody has suggestions, I'll do some hacking later and
> post an article about it.
>
> TIA,
>
> Shahar.
>