On Fri, Oct 16, 2009 at 9:00 AM, Daniel Frisk <[email protected]> wrote:
> A third option, which from my POV is perhaps the most elegant, is to roll
> your own page store that serializes the pages instantly after the request.
> The serialization have special hooks to replace entites or whatever that you
> would prefer to have as LDM with a placeholder that just stores the type and
> id when serialized. When/if the page is later deserialized you get the
> entity fresh from your object repository (cache).
>
> Why is this elegant? You get the programming model of push with the benefits
> of pull without writing any code for model proxies. I have communicated this
> idea before but nobody but me seems to prefer it, I'm actually surprised :-)

I've proposed such a solution but someone (I believe Matej) told me
that there would be gremlins in the order of the models that get
detached/replaced etc.

Martijn

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to