XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [rest-discuss] Objects at REST...

On Wed, Mar 12, 2008 at 1:28 PM, Andrzej Jan Taramina
<andrzej@chaeron.com> wrote:
>  I'm curious what others think of this notion of exposing objects using
> REST?

I'm not sure it's a bad thing, but it does tend to shift the focus of
REST from a web of resources to specific objects. I'm always keen to
push the micro/macro view of systems with REST more than objects per
se, but if you are dealing with specific objects, I guess they're
resources like other resources, no?

I think this more comes down to the definition of an object. Is there
a difference between an object and a resource? In the broad definition
of "resource", then no. In terms of REST, you can perfectly well
design objects that cater to that architectual style. The problem is
that "object" can be a lot of things, and specifically things that
don't fit into the REST way of doing things even if you expose them
through it.

Again, we're back to the old "if done right, then yes, and if done
wrong, then no" explanation.


Alexander
-- 
---------------------------------------------------------------------------
 Project Wrangler, SOA, Information Alchemist, UX, RESTafarian, Topic Maps
------------------------------------------ http://shelter.nu/blog/ --------


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS