Tables relationship in Cakephp

Posted by kwokwai on Stack Overflow See other posts from Stack Overflow or by kwokwai
Published on 2010-05-07T03:16:48Z Indexed on 2010/05/07 3:18 UTC
Read the original article Hit count: 187

Filed under:

Hi all,

I am new to Models structure in Cakephp.
A few weeks ago I came across a tutorial in which the author
got three tables in Database:

Table A: {ID, Description, IsActive}
Table B: {ID, TableA_ID, Description, CreationDate, ModifiedDate}
Table A_B: {ID, TableA_ID, TableB_ID}

The author of the tutorial said that the third table (Table A_B) is needed to
run in CakePHP.

I don't understand.
Is there any specific documentation in CakePHP that I can refer to?
I know there is a CookBook in Cakephp web site, but I couldn't find the
relevant infromation.

© Stack Overflow or respective owner

Related posts about cakephp