You have the following:
Customers
Orders
Suppliers
Glasses

and certainly you should have Orderlines.

What do you think of the above suggestion?
How would you relate them, so they fulfill your requirements?

On Monday, 11 February 2013 13:30:44 UTC+2, Jean-Pierre Bolengo wrote:
>
> Hello all together
> I've the follwoing problem:
> 1. I have a customer table with adresses
> 2. I have a orders table
> 1. <-> 2. One cutomer may have many orders, one order belongs to one 
> customer
>
> 3. I have a supplier
> 4. Each supplier has different glasses
> 5. Each glass may have a color 
> 6. Each glass may have a tint
>
> 3. <-> 4. One supplier may have many glasses, one glass belongss to one 
> customer
> 4. <-> 5. Multiple glasses may have multiple colors
> 4. <-> 6. Multiple glasses may have multiple tints
>
> So how can I realize this with cakePHP?
>
> Thank you for your help
> Jean-Pierre 
>
>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to