Re: Generic URI pattern and Resource

2009-02-27 Thread Tim Peierls
; they are inherited from ObjectA. > >> > >> May I know what would be the best way to define the URL pattern as well > >> as > >> Resource so that when new Objects added in, I do not need to add in the > >> new > >> binding to the Router ? > >

Re: Generic URI pattern and Resource

2009-02-27 Thread limss
e the best way to define the URL pattern as well >> as >> Resource so that when new Objects added in, I do not need to add in the >> new >> binding to the Router ? >> > > -- > http://restlet.tigris.org/ds/

Re: Generic URI pattern and Resource

2009-02-26 Thread Thierry Boileau
Hello limss, so, you are aware the world of resources and domain objects are not the same. Good point. Just a few words on how to design your REST interface. You must define the resource you want to expose, give them name (URIs), define the methods (let's say HTTP methods : GET, PUT, DELETE, PO

Generic URI pattern and Resource

2009-02-26 Thread limss
added in, I do not need to add in the new binding to the Router ? -- View this message in context: http://n2.nabble.com/Generic-URI-pattern-and-Resource-tp2388390p2388390.html Sent from the Restlet Discuss mailing list archive at Nabble.com. -- http