Tuesday, May 15, 2012

Re: Inheritance?

I'm looking at the InheritableBehavior but I can't find any place explaining how I have to design the database (ie. type field).

How did you solve that?

Thanks!
Andrés

El martes, 15 de mayo de 2012 01:54:31 UTC-3, José Lorenzo escribió:
I'm going to answer with a recommendation a professor said to me in college: if you have a people table in your database, you are doing it wrong.

I'm not going to argue against your design, there are valid cases for modeling inerrancy in relational databases. Please have a look at InheritableBehavior in github.com/CakeDC/utils I have used it in the past in some apps.

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate