Friday, May 27, 2011

Naming Conventions

Hey folks,


Coding an application and got stuck with some naming conventions
issue.

The app that I am building will have one Package, packages has many
prices. I am not entirely sure how the tables should be name.

Should they be named: packages (model = Package) and the packages
price table be named: packages_prices (model = PackagesPrice) or
package_prices (model = PackagePrice)?

What do you guys think would be the best way to-do this?

Many many thanks in advance...

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