I split my tables/models into logical objects ...

User:
An account to login to a site (id, user_group_id, username, email,
password etc.)

User Group:
Groups of users which can be applied access rights (id, name)

Person:
An actual person (id, user_id, first_name, last_name, full_name, dob,
gender_id, religion_id etc.)

Profile:
Changes from site to site, but is likely to store site options a brief
description/summary written by the user and possibly contact details
they want to advertise to other users (id, user_id, profile_text,
email, website, telephone)

These are all individual objects, not all people will have a user
account, not all users will have a profile etc. (not all users of this
group have created a profile)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to