3
I’m developing a system where several entities will have address.
Example: the school has address, the student has address, the teacher has address, the suppliers have address and etc.
I’m willing to use a table to store every address used in the system. And then, every time I need an address, I will refer to it by its id in the address table.
Considering that the system is not very large, this would be a good way to work with addresses?
What was sounding bad, was all these entities having the fields: city, neighborhood, state and etc.
There is some better implementation of the entity address in this case?
http://answall.com/questions/22069/quando%C3%A9-interesting-denormalize-the-database/22120#22120 Are you making a system for your Manuel’s bakery or a Mega Hyper ERP? This makes all the difference.
– Maniero
It is not enough to be a HYPER ERP. But an ERP in initial state. And it will not be so giant.
– Rafael Soufraz
In this case it is because it is common brothers in the same school and teachers have children studying there. Address as an entity in my opinion only when it is relevant to the application.
– Motta