Re: [Pharo-users] [Voyage] Using OID as a domain object identifier

2013-07-29 Thread Norbert Hartl
Am 29.07.2013 um 19:34 schrieb Esteban A. Maringolo : > 2013/7/29 Norbert Hartl : >> Am 29.07.2013 um 15:46 schrieb "Esteban A. Maringolo" : >>> Is it a good practice to use the OID value (anInteger) as an >>> "external" identifier of your domain object? >>> ... >>> I like OID/UUIDs, and I don't

Re: [Pharo-users] [Voyage] Using OID as a domain object identifier

2013-07-29 Thread Esteban A. Maringolo
2013/7/29 Norbert Hartl : > Am 29.07.2013 um 15:46 schrieb "Esteban A. Maringolo" : >> Is it a good practice to use the OID value (anInteger) as an >> "external" identifier of your domain object? >> ... >> I like OID/UUIDs, and I don't want to duplicate that logic in my app. >> > I think for your p

Re: [Pharo-users] [Voyage] Using OID as a domain object identifier

2013-07-29 Thread Norbert Hartl
Am 29.07.2013 um 15:46 schrieb "Esteban A. Maringolo" : > Hi all, > > Is it a good practice to use the OID value (anInteger) as an > "external" identifier of your domain object? > > Let's suppose I have a collection of "People", as I save them in the > collection, it will automatically create O

[Pharo-users] [Voyage] Using OID as a domain object identifier

2013-07-29 Thread Esteban A. Maringolo
Hi all, Is it a good practice to use the OID value (anInteger) as an "external" identifier of your domain object? Let's suppose I have a collection of "People", as I save them in the collection, it will automatically create OIDs for them. But let's suppose I want to map that person to a RESTful