Re: JSON - When to use JSONParser and when JavaScript object

2009-12-02 Thread Jeff Chimene
On Wed, Dec 2, 2009 at 4:48 PM, Thomas Broyer wrote: > > > On 2 déc, 23:52, Jeff Chimene wrote: > > Hi Thomas, > > > > I had stumbled upon this solution. However, you have an additional detail > I > > don't understand: The split between > > interface MyModelObject > > and > > class MyModelObject

Re: JSON - When to use JSONParser and when JavaScript object

2009-12-02 Thread Thomas Broyer
On 2 déc, 23:52, Jeff Chimene wrote: > Hi Thomas, > > I had stumbled upon this solution. However, you have an additional detail I > don't understand: The split between > interface MyModelObject > and > class MyModelObjectImpl extends JavaScriptObject implements MyModelObject > > What advantage d

Re: JSON - When to use JSONParser and when JavaScript object

2009-12-02 Thread Jeff Chimene
Hi Thomas, I had stumbled upon this solution. However, you have an additional detail I don't understand: The split between interface MyModelObject and class MyModelObjectImpl extends JavaScriptObject implements MyModelObject What advantage does this gain? I think it has something to do w/. DI or

Re: JSON - When to use JSONParser and when JavaScript object

2009-11-28 Thread Jeff Chimene
Thanks, very nice. I'll give it a try. On Fri, Nov 27, 2009 at 2:30 PM, Thomas Broyer wrote: > > > On 27 nov, 16:56, Jeff Chimene wrote: > > On 11/12/2009 12:45 PM, Thomas Broyer wrote: > > > > > And actually, now that I've switched to GWT 2.0, I use interfaces to > > > model my objects, with R

Re: JSON - When to use JSONParser and when JavaScript object

2009-11-27 Thread Thomas Broyer
On 27 nov, 16:56, Jeff Chimene wrote: > On 11/12/2009 12:45 PM, Thomas Broyer wrote: > > > And actually, now that I've switched to GWT 2.0, I use interfaces to > > model my objects, with RemoteService/*Async interfaces to model my > > services; and I implement them using JSOs (JSOs can implement

Re: JSON - When to use JSONParser and when JavaScript object

2009-11-27 Thread Jeff Chimene
On 11/12/2009 12:45 PM, Thomas Broyer wrote: > > On 12 nov, 17:48, Raziel wrote: >> I know this depends on the details of what you're trying to achieve >> and the JSON object to be parsed (for example if it's dynamic >> orstatic, etc). >> >> I'm just wondering what are the principles that others f

Re: JSON - When to use JSONParser and when JavaScript object

2009-11-12 Thread Thomas Broyer
On 12 nov, 17:48, Raziel wrote: > I know this depends on the details of what you're trying to achieve > and the JSON object to be parsed (for example if it's dynamic > orstatic, etc). > > I'm just wondering what are the principles that others follow to > determine when to use one or the other. I

JSON - When to use JSONParser and when JavaScript object

2009-11-12 Thread Raziel
I know this depends on the details of what you're trying to achieve and the JSON object to be parsed (for example if it's dynamic orstatic, etc). I'm just wondering what are the principles that others follow to determine when to use one or the other. -- You received this message because you are