Tuesday, November 15, 2011

Naming Conventions - habtm multiple underscores join table

I have a have two tables that need a join table but one of the tables
that I'm trying to join has an underscore. What I'm wondering is what
the models' file name, models' join database table name, and models'
class name should be.

For example:

Table one = xxxx
table two = yyyy_zzzz
join table = ?

Should the join table in the database be named xxxxs_yyyy_zzzzs ?
Should the model file name for the join be XxxxYyyyZzzz ?
Should the model class name be XxxxYyyyZzzz ?

Thanks for your help

--
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