chadsten
09-13-2008, 12:55 PM
I am working on a site for a real-estate company, and we will be using both a 'homes' and 'neighborhoods' section. These will be directly related to each other. The users will be able to view these homes by price, size, etc., as well as viewing all homes in a certain neighborhood, and viewing neighborhoods, as well as viewing neighborhoods by attributes like ISD(school district), HOA, etc.
So, its pretty simple, and I am equipping it with CMS. But that comes later. So..
The table structure idea that I have now is as follows.
TABLE.homes_base
table stores basic info(as well as neighborhood ID that it is "in". about the home that will be used as 'handles' by the system. Will have a primary key, matching the table...
TABLE.homes_extra
table stores blob text, as well as other info that the system doesn't necessarily 'use'.
TABLE.neighborhoods
stores data that will be used by the system
TABLE.neighborhoods_homes
stores the primary ID, and name in a row for each home it 'has'.
That is my basic outline for it, I am just looking for suggestions, ways to make it better, more efficient, etc. It will probably need to be able to handle around 500 homes at once, possibly more. I don't think anywhere near the 5k range or anything. Thanks in advance!!
So, its pretty simple, and I am equipping it with CMS. But that comes later. So..
The table structure idea that I have now is as follows.
TABLE.homes_base
table stores basic info(as well as neighborhood ID that it is "in". about the home that will be used as 'handles' by the system. Will have a primary key, matching the table...
TABLE.homes_extra
table stores blob text, as well as other info that the system doesn't necessarily 'use'.
TABLE.neighborhoods
stores data that will be used by the system
TABLE.neighborhoods_homes
stores the primary ID, and name in a row for each home it 'has'.
That is my basic outline for it, I am just looking for suggestions, ways to make it better, more efficient, etc. It will probably need to be able to handle around 500 homes at once, possibly more. I don't think anywhere near the 5k range or anything. Thanks in advance!!