Last modified by Theodore Petrosky on 2013/06/18 23:29

  • David LeBer
    David LeBer, 2009/06/22 10:52

    I was under the impression that you would get Project Wonder's caching mechanism even if you use the standard Assignment object. The caching changes are implemented in ERDModel and that is dynamically patched in when the ERDirectToWeb framework initializes.

  • Ramsey Gurley
    Ramsey Gurley, 2009/06/22 19:13
    I was under the impression that you would get Project Wonder's caching mechanism even if you use the standard Assignment object.

    Sorry, I didn't mean to imply that it would not. You are correct, I fail it... I've updated the text to try to clarify. I only wanted to mention Apple's D2W rule caching strategy in passing as I never build without Wonder. I welcome anyone to edit this documentation if I have been too vague or made any glaring errors.

    The caching changes are implemented in ERDModel and that is dynamically patched in when the ERDirectToWeb framework initializes.

    Your message prompted me to read back through ERD2WModel's prepareDataStructures() method today and found a few more tidbits I think are worth mentioning... Would I be correct in saying the following?

    1. ERDDelayedAssigment can use ERDComputingAssignmentInterface to force re-evaluation when used on the LHS based on the keyPaths returned.
    2. Wonder automatically adds dependent keys based on the rule's LHS qualifier keys. If the qualifier key starts with 'session' or 'object' then the entire key path is used, otherwise, only the first atom (the first key in the keyPath) is used.