For example, if you are storing the information about a shape that a
participant just drew:
You could do:
delta = {'pamela.fox': "{'color':'red','shape':'circle'}"}

Or, you could do:
delta = {'pamela.fox-color': 'red'}
delta = {'pamela.fox-shape': 'circle'}

It may seem less elegant, but it is better in terms of concurrency, as it
means that I can independently change different properties.

On Thu, Oct 22, 2009 at 11:56 AM, Agustin Horischnik <agu...@gmail.com>wrote:

>
> > Ah, got it. What was your experiencing with using simplejson? You should
> be
> > able to serialize that object and pass it through the delta. We don't
> have a
> > demo of that, but think it should work.
>
> I don't remember but I'll re-try simplejson and report back.
>
> > You could also consider using more complex keys, like
> > viewerName-propertyName-subPropertyName, etc. That is a bit better in
> terms
> > of concurrency.
>
> hmm... I'm not sure I get that... could you please give me an example
> whenever you have the time?
>
> Agustin.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to