--- "Craig Fisher" <[EMAIL PROTECTED]> wrote: > I've done this and have no complaints thus far. The CFC's I > cached were all > data layer components as well. The only tip I that seems > important enough > to share is that you should code in a way that lets you ignore the > cache or > even rebuild it so things are more convenient during development. > I did a > this: [snip]
Agree with the technique in principle, but I wouldn't implement it in the data-layer, I'd do it one level above. To my mind the data-layer is purely about getting data in and out of your data-store. If you change from Sql-server to postgres, or Oracle to LDAP, you want to be rewriting data access logic, not dealing with logically separate set of concepts (which wouldn't be changing) such as "well, I know *this* table is going to be hit hard so I'll cache it. " Andy ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com).
