This all does sound really great – increasing the level of control on something which has the potential to really speed up an application is essential..
Although saying that ( J ), as commented before we really do need a good tutorial and theory document on Transfer caching and cache strategy.
At the moment I really wouldn’t know where to start in terms of knowing how to analyse an application to work out where caching should be tweaked or what is available to make this happen in Transfer.
Has anyone stepped up to put something like this together on the Wiki?
Mark:
Does this work with an object that only has the onetomany relationship
set? If so, I think this will solve the problem I submitted to this
list a couple weeks ago:
http://groups.google.com/group/transfer-dev/browse_thread/thread/ce508f0dbe43a737/e4985033bc70ea24
Is the svn code stable enough to check out and use, or should I wait a
bit before trying?
On another note, when setting onetomany relationships, should you
always set a matching manytoone on the other object? For instance in
my app, a donation has a onetomany to a payment, but there is no
reciprocal manytoone setting in the payment object. Should there be?
Having objects that have cache settings that span multiple scopes has
always been a bad idea.
I had a note in the documentation, but it didn't provide much
information, I've now expanded it out:
http://docs.transfer-orm.com/wiki/Managing_the_Cache.cfm
Let me know if that doesn't make any sense.
Mark