Yii Framework Forum: Why Here A Extra Table ? - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

Why Here A Extra Table ? relations among tables

#1 User is offline   roelof 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 12
  • Joined: 08-February 13

Posted 04 September 2014 - 08:54 AM

Hello,

I try to follow the web application developement book.

At some point there is a part where relations are made among some tables.
I see there that the author made new tables to hold the relations.

But why not use the foreign key feature of mysql.

Roelof
0

#2 User is offline   samdark 

  • Having fun
  • Yii
  • Group: Yii Dev Team
  • Posts: 5,184
  • Joined: 17-January 09
  • Location:Russia

Posted 04 September 2014 - 11:51 AM

Which book are you talking about? As far as I know, there aren't any about Yii 2.0 yet.
Yii 2.0 Development Cookbook

Enjoying Yii? Star us at github

Support me so I can work more on Yii: https://www.patreon.com/samdark
0

#3 User is offline   roelof 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 12
  • Joined: 08-February 13

Posted 04 September 2014 - 12:34 PM

Im talking about the web application development with Yii and PHP.


Roelof
0

#4 User is offline   samdark 

  • Having fun
  • Yii
  • Group: Yii Dev Team
  • Posts: 5,184
  • Joined: 17-January 09
  • Location:Russia

Posted 05 September 2014 - 03:29 PM

OK. Moved to appropriate subforum. I can't help with the book itself unfortunately.
Yii 2.0 Development Cookbook

Enjoying Yii? Star us at github

Support me so I can work more on Yii: https://www.patreon.com/samdark
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users