>>
>> > So "graph" isn't a resource? But "GraphId452354" would be? I have to
>> > say in my reading of REST so far its the former that I've understood
>> > (and sometimes liked) while the later would just be rubbish as you'd
>> > have one resource per object instance (i.e. you are arguing that REST
>> > is on objects, my reading of the subject was that it was on classes).
>>

It is really as simple as this:


class Resource
{
  public string URI;

  public Response GET();
  public Response PUT( byte[] data );
  public Response POST( byte[] data );
  public Response DELETE();
}

It is like an ordinary OO system, just that there is only a single
class, object pointers (or refs) are globally unique and the runtime
is ubiquitous (if you happen to have an ethernet cable).

Jan 

Reply via email to