|
Hi Matt,
suppose you have a shopping cart app, in which the cart is
composed of many item; generally you retreive this cart an its own items to
update items, insert new ones, deletes any: in this case it is surely better to
model this composition with an array of object; on the other hand, suppose you
have a blog with entries and comments: when you retreive an entry you only
display it and its own comments, so now you can model this composition as a
simple query of comments as an entry's property.
However, I suggest you not to look from a data base
perspective, bur from an oo perspective: my example are quite different
from an oo perspective, but they map in the some way in a database
rewgards
salvatore
----- Original Message -----
---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/[email protected] |
- [CFCDev] Opinions on One-To-Many representation in OO Matt Williams
- Re: [CFCDev] Opinions on One-To-Many representation i... Brian Kotek
- Re: [CFCDev] Opinions on One-To-Many representation i... Salvatore Fusto
- RE: [CFCDev] Opinions on One-To-Many representati... Phillip Senn
- Re: [CFCDev] Opinions on One-To-Many representation i... Robert Munn
- Re: [CFCDev] Opinions on One-To-Many representati... Doug Hughes
- RE: [CFCDev] Opinions on One-To-Many representati... Peter Bell
- Re: [CFCDev] Opinions on One-To-Many represen... Barry Beattie
- Re: [CFCDev] Opinions on One-To-Many repr... Brian Kotek
- Re: [CFCDev] Opinions on One-To-Many... Aaron DC
- Re: [CFCDev] Opinions on One-To-... Jim Flannery
- Re: [CFCDev] Opinions on One... Barry Beattie
- Re: [CFCDev] Opinions on One... Aaron DC
