[OSC_dev] namespace best practice?

mart kalinski at amei.se
Tue Jul 29 14:52:24 PDT 2008


Andy W. Schmeder wrote:
> This is a somewhat broad question, however...
>   
sorry
> Generally people approach OSC address space design it in terms of the  
> RESTful architecture, although not all of its principles apply.
>
>   
thanks that was the info i was looking for!
> Generally this would suggest an organization scheme of the sort, / 
> devices/{device}/{properties,methods}/{...}
>
>   
yes, in the meantime i found the structure of the make controller:

/subsystem/device/property argument

so in an example kind of thing it would be:

/cloud/rain/drop/fall

to make it rain i will call:
/cloud/rain/*/fall "now!"

if i wanna distribute this:

/sky/clouds/cloud/rain/drop/fall

how to make it rain on the whole earth?

thanks for you quick response 
i will dive into REST now...
mart


> Another way to look at this is that pattern matching an address  
> against the space of known addresses should terminate with the fewest  
> possible comparisons.
>
>   



More information about the OSC_dev mailing list