[Cubicweb] Correct use of the 'person' cube

Nicolas Chauvat nicolas.chauvat at logilab.fr
Wed Jul 11 18:39:19 CEST 2012


On Wed, Jul 11, 2012 at 05:08:34PM +0200, Stéphane Bugat wrote:

> Good idea, Nicolas. As soon as I have made several tests I send it
> to you. Does it have to be consistent with the terminology declared
> in http://xmlns.com/foaf/spec/#term_OnlineAccount ? (to be honest I
> wasn't aware of such specifications and used another terminology
> like 'Person', 'Profile', 'PersonalBlog' and so on...).

The best would be to discuss your design in the open on this mailing
list. Post your schema.py to the list or put it somewhere on the net
(bitbucket maybe) and you'll get comments.

> Another point: >> After browsing the section §3.1.4.1 of cw
> documentation, it seems that indicating a composite='subject'
> relation property allows to automatically delete the CWUser once the
> Person is deleted... Can you confirm also?

Yes.

-- 
Nicolas Chauvat

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



More information about the Cubicweb mailing list