[Cubicweb] About cwuri

Nicolas Chauvat nicolas.chauvat at logilab.fr
Wed Feb 12 16:25:41 CET 2014


On Wed, Feb 12, 2014 at 03:51:36PM +0100, Aurélien Campéas wrote:
> `cwuri`
>   Reference URL of the entity, which is not expected to change.

CWURI was introduced during a sprint back in 2009. Another object born at
about the same time is ExternalUri (see cube datafeed).

The goal was more or less to handle local copies of remote data, while
keeping the "true" location of these copied objects, in order for
example to be able to refresh the data regurlarly.

Hence, the fact that when creating new objects in the database, you
initialize their cwuri to something like base_url+xyz is not the key

Remark: please let us keep in mind that URIs *are* the global unique
keys of the distributed database that is called the web of data. Easy
manipulation of URIs is a required feature for CubicWeb to be called a
*semantic* web framework. But maybe there is a better solution than

Nicolas Chauvat

logilab.fr - services en informatique scientifique et gestion de connaissances  

More information about the Cubicweb mailing list