-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Florent Verdonck wrote:
> Good Afternoon.
>  
> I am currently re-writing an existing Zope application that is based on
> a MySQL DataBase to a new one that uses the capacities of Nuxeo CPS 3.2.4-1
>  
> The DataBase had 2 tables that were linked and had a relational
> constraint (that would refuse the deletion of a row if it is linked with
> rows on the other table)
>  
> My "new" application will have 2 CPS flexible type
>  
> So these are my wonders:
>  
> 1. Does it make sens to "link" the 2 CPS Flexible type with a vocabulary
> that contains unique identifiers?

You should consider object relations instead. See CPSRelation :
http://svn.nuxeo.org/trac/pub/file/CPSRelation/trunk/README.txt

>  
> 2. How can i create a mecanism that is equivalent to the DataBase
> Relational Constraint?
>  

You should take a look at the schema field properties.

        J.
- --
Julien Anguenot | Nuxeo R&D (Paris, France)
CPS Platform : http://www.cps-project.org
Zope3 / ECM   : http://www.z3lab.org
mail: anguenot at nuxeo.com; tel: +33 (0) 6 72 57 57 66
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFDxHOVGhoG8MxZ/pIRAnPFAJ92atSiKg68eAcjoQyhY2RcpikGdQCfWwgK
5QPXZcQ9YcOM0lXtBeAdHfM=
=RwLQ
-----END PGP SIGNATURE-----
_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel

Reply via email to