[Cubicweb] Correct use of the 'person' cube
stephane.bugat at free.fr
Thu Jul 12 09:24:05 CEST 2012
Ok Nicolas, I'll put it on bitbucket.
I've started to reshape my datamodel but discovered that there was already a 'UserAccount' entity defined in cubicweb-blog (although it was not directly visible on the SVG website scheme...). I really have difficulties to understand how all this works. It seems that UserAccount is somehow linked to CWUser but the 'sobjects.py' file in cw-blog is hard to embrace.
Does anyone could give me a few explanations about it?
----- Mail original -----
De: "Nicolas Chauvat" <nicolas.chauvat at logilab.fr>
À: "Stéphane Bugat" <stephane.bugat at free.fr>
Cc: cubicweb at lists.cubicweb.org
Envoyé: Mercredi 11 Juillet 2012 18:39:19
Objet: Re: [Cubicweb] Correct use of the 'person' cube
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 §184.108.40.206 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?
logilab.fr - services en informatique scientifique et gestion de connaissances
More information about the Cubicweb