Lately ive gotten into PHP and would like to start from scratch designing a database and creating a website to serve this information. I have previous exsperience with filemaker so I understand to some extent db.
I want to cover all the bases with my db design and not paint myself into a corner.
The database will keep track of an architectural photography business. Each JOB will have a CLIENT (builder, architect....) who requests the shoot. Other CLIENTS related to the job may also need to be referenced.
A CLIENT may be an individual "CONTACT" or a "BUSINESS" (Not sure if I should combine these because I keep heavily detailed information on both types ie 50+ fields in some cases and separating them would simplify it for me.). Additionally a "BUSINESS" may have several "CONTACTS" associated with it.
I would also like to keep track of associated "CONTACTS" and possibly "BUSINESSES" related to a specific job "JOBS"
It looks to be difficult in that every time I draw a relationship graph I get one or more many-to-many relationships. I have enclosed a few drawings to show my ideas. Using Filemaker I have been pretty happy with my results. I have painted myself into a few corners but they are acceptable for what I am using it for. Id like to avoid this upfront
Attached is an example of my relationship graph.
Am I on the right track? Any ideas?
Thank You