If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Database Concepts & Design > real estad DB design

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-09-03, 14:02
FelipeJ FelipeJ is offline
Registered User
 
Join Date: May 2003
Posts: 3
Red face real estad DB design

Hello,
Im glad ive found this forum.

Im from Colombia and my local programmer left me and a big proyect fell on top of me.

We are designing a real estate aplication in Mysql/php

There can be different types of real estate: appartments, houses, shops, fields, etc

All of them have some common data, like an unique code, an owner, description, yet, each has a lot of individual data, for example a shop needs to have the shopping mall its in, a field should include its size in hectares and its neighbours, an appartment should have the name of the building and say if it has parking, etc.

What im thinking is:

Make a table with the basic info for all items.

Make one table for each specific real estate type (shop, house, apartment, etc) with a code linking to the basic table.

What i guess is that i would have to make grid, add and update pages for each type of real estate.

Is there another or easier way to do this?

Regards,
Felipe
Reply With Quote
  #2 (permalink)  
Old 05-11-03, 11:44
barryw barryw is offline
Registered User
 
Join Date: Apr 2003
Location: London, England
Posts: 42
Re: real estad DB design

[QUOTE][SIZE=1]Originally posted by FelipeJ
Hello,
Im glad ive found this forum.

>Im from Colombia and my local programmer left me and a big proyect >fell on top of me.
>We are designing a real estate aplication in Mysql/php
>There can be different types of real estate: appartments, houses, >shops, fields, etc

Hi Felipe,

I have created a Kick-Start Data Model for you on this page of my Database Answers web site :-
http://www.databaseanswers.com/data_...ties/index.htm

There's also a denormalized Data Model which might be more suitable for development :-
http://www.databaseanswers.com/data_...zed_dezign.htm

Barry Williams
Principal Consultant
Database Answers
Reply With Quote
  #3 (permalink)  
Old 05-12-03, 12:18
FelipeJ FelipeJ is offline
Registered User
 
Join Date: May 2003
Posts: 3
Re: real estad DB design

How nice of you!
It's just what i needed, thankyou very much.

I will analyze both models but i guess the normalized model is more 'neat.

thanks again,
Felipe Jaramillo

Quote:
Originally posted by FelipeJ
Hello,
Im glad ive found this forum.

Im from Colombia and my local programmer left me and a big proyect fell on top of me.

We are designing a real estate aplication in Mysql/php

There can be different types of real estate: appartments, houses, shops, fields, etc

All of them have some common data, like an unique code, an owner, description, yet, each has a lot of individual data, for example a shop needs to have the shopping mall its in, a field should include its size in hectares and its neighbours, an appartment should have the name of the building and say if it has parking, etc.

What im thinking is:

Make a table with the basic info for all items.

Make one table for each specific real estate type (shop, house, apartment, etc) with a code linking to the basic table.

What i guess is that i would have to make grid, add and update pages for each type of real estate.

Is there another or easier way to do this?

Regards,
Felipe
Reply With Quote
  #4 (permalink)  
Old 07-03-09, 10:42
oozypal oozypal is offline
Registered User
 
Join Date: Sep 2002
Posts: 17
Real Esate Database Design

Hello,
I need to design a database for a Real Estate Company which actually sells properties in all kinds (Lands, Villas, Houses, Farms, Compounds, Fields, etc.)
Usually the property can be a parent of another property. For example an apartment/flat is located in a compound/complex.

The apartment can be sold alone as well as the complex.

Each Property has a certain set of features. For example, No of Rooms. But this feature only applies to Apts/flats, villas, duplexes but not to a compound or to a field.

How can I store these features.

I know the above is confusing but I am really stuck and don’t know where go. I have started something but not sure if I am on the right track.

Any help or ideas are appreciated.
Attached Thumbnails
real estad DB design-er.jpg  
Reply With Quote
  #5 (permalink)  
Old 07-03-09, 10:54
oozypal oozypal is offline
Registered User
 
Join Date: Sep 2002
Posts: 17
Quote:
Originally Posted by barryw
Hi Felipe,

I have created a Kick-Start Data Model for you on this page of my Database Answers web site :-
http://www.databaseanswers.com/data_...ties/index.htm

There's also a denormalized Data Model which might be more suitable for development :-
http://www.databaseanswers.com/data_...zed_dezign.htm

Barry Williams
Principal Consultant
Database Answers
Can you post this model again?

Thank you
Reply With Quote
  #6 (permalink)  
Old 07-03-09, 11:09
Pat Phelan Pat Phelan is offline
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,309
That post i over five years old... I wouldn't take any bets on barryw even having the ERD anymore, much less re-posting it for you!

-PatP
__________________
In theory, theory and practice are identical. In practice, theory and practice are unrelated.
Reply With Quote
  #7 (permalink)  
Old 07-03-09, 11:19
r937 r937 is online now
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,085
Quote:
Originally Posted by Pat Phelan
I wouldn't take any bets on barryw even having the ERD anymore
i would

you might not be not familiar with his site, so you may be missing the fact that he changed his domain name a while ago

try the urls again, but simply change the top level domain from .com to .org

http://www.databaseanswers.org/data_...zed_dezign.htm
http://www.databaseanswers.org/data_...ties/index.htm

__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #8 (permalink)  
Old 07-03-09, 11:20
r937 r937 is online now
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,085
see the other thread --> real estad DB design
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #9 (permalink)  
Old 07-03-09, 11:44
Pat Phelan Pat Phelan is offline
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,309
Quote:
Originally Posted by r937
you might not be not familiar with his site, so you may be missing the fact that he changed his domain name a while ago
That would be correct, I'm not familiar with his site.

Thanks for your insight!

-PatP
__________________
In theory, theory and practice are identical. In practice, theory and practice are unrelated.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On