try another color scheme:


Go Back   TECH6.0 > Web Design/Development and SEO > Website Development


Building a Real Estate site in PHP

This is a discussion on Building a Real Estate site in PHP within the Website Development section, part of the Web Design/Development and SEO category; Hello, So I'm making a real estate site as my computer project I have finished learning the basics PHP and ...

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 13-10-2008, 04:22 PM
No Avatar

Techie
 
Join Date: Aug 2008
Posts: 52
UaECasher is on a distinguished road
Default Building a Real Estate site in PHP

Hello, So I'm making a real estate site as my computer project

I have finished learning the basics PHP and MySQL and now it's time to implement my knowledge in this project

1st thing came in mind is the structure of the db. I mean which tables,rows should i create and which rows.

can u advice me some ideas thanks
__________________
my site: www.cashrez.com
Reply With Quote
  #2  
Old 13-10-2008, 05:21 PM
webwizzy's Avatar

Administrator
 
Name: Vinayak
Join Date: Feb 2008
Location: India
Phone: Samsung Wave
Posts: 1,116
webwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nice
Send a message via Yahoo to webwizzy
Default

well.. I don't have much idea about real estate (or property dealing sites).

But I would suggest you to search for such sites and see what data they ask for. One popular Indian real estate site I know is http://www.99acres.com/

As you can see on the site's homepage, a quick property search form is there. So from the top of my head, the main table would contain all information of each property in a row. The most basic fields would include:-
  1. UserID creating the record
  2. If its available for Buy Only, Rent Only OR both (0,1,2)
  3. Price
  4. Number of bedrooms
  5. Square feet (area)
  6. Keywords
  7. Type of property like Residential apartment, farmhouse etc. (Make a list)
  8. City where the property is located.
  9. Date when the record was created.
  10. Date when the record was last updated
  11. Log the IP of the user on creation and update. (Mention this in your privacy statement)
and so on..

Efficient, flexible and quick searching for property is the MOST important part for any real estate site. It should be carefully worked on and the process should be made very easy for an end-user.
  1. You can create a table called property whose fields are as described above.
  2. A table called user that contains the information of the person who can list property for sale, rent, etc. (a registered user, in simple words). Verify their validity with advanced techniques like mobile verification system.
This is a BASIC approach for building a real-estate site, a lot more can be done with it. But this info can help you get started atleast. Keep thinking, looking and taking ideas from current sites.

All the best
__________________
Always TAG and SHARE your threads
Submit your site to TECH6 Directory
TECH6 on Facebook - Like Us

Would you like to Link To Us | Support TECH6 by going Premium
Know more about me at Vinayaks.com | Follow TECH6 at Twitter


Reply With Quote
  #3  
Old 13-10-2008, 05:34 PM
No Avatar

Techie
 
Join Date: Aug 2008
Posts: 52
UaECasher is on a distinguished road
Default

ok thanks for the help i think i should do a blueprint or list of task i should do in the site
__________________
my site: www.cashrez.com
Reply With Quote
  #4  
Old 15-10-2008, 08:21 PM
No Avatar

Techie
 
Join Date: Aug 2008
Posts: 52
UaECasher is on a distinguished road
Default

ok my computer teacher says i should make less tables as possiable do you agree?
__________________
my site: www.cashrez.com
Reply With Quote
  #5  
Old 15-10-2008, 08:24 PM
webwizzy's Avatar

Administrator
 
Name: Vinayak
Join Date: Feb 2008
Location: India
Phone: Samsung Wave
Posts: 1,116
webwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nice
Send a message via Yahoo to webwizzy
Default

You would require atleast the property table and the user table. Is two okay for the teacher lol
__________________
Always TAG and SHARE your threads
Submit your site to TECH6 Directory
TECH6 on Facebook - Like Us

Would you like to Link To Us | Support TECH6 by going Premium
Know more about me at Vinayaks.com | Follow TECH6 at Twitter


Reply With Quote
  #6  
Old 15-10-2008, 08:32 PM
No Avatar

Techie
 
Join Date: Aug 2008
Posts: 52
UaECasher is on a distinguished road
Default

what about a transaction table?
__________________
my site: www.cashrez.com
Reply With Quote
  #7  
Old 15-10-2008, 08:34 PM
webwizzy's Avatar

Administrator
 
Name: Vinayak
Join Date: Feb 2008
Location: India
Phone: Samsung Wave
Posts: 1,116
webwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nice
Send a message via Yahoo to webwizzy
Default

Make it if you feel the need. I think its important as well.

There's no harm if you even reach 5-10 tables. The project should be worth it, thats all.
__________________
Always TAG and SHARE your threads
Submit your site to TECH6 Directory
TECH6 on Facebook - Like Us

Would you like to Link To Us | Support TECH6 by going Premium
Know more about me at Vinayaks.com | Follow TECH6 at Twitter


Reply With Quote
  #8  
Old 15-10-2008, 09:52 PM
No Avatar

Techie
 
Join Date: Aug 2008
Posts: 52
UaECasher is on a distinguished road
Default

i think the transaction table is important because it's the thing will make my site useful (interact with the user) other than the search but we can make something similar to search in HTML (static site) which would not fetch me marks
__________________
my site: www.cashrez.com
Reply With Quote
  #9  
Old 15-10-2008, 10:22 PM
No Avatar

Techie
 
Join Date: Aug 2008
Posts: 52
UaECasher is on a distinguished road
Default

i have created it as following
Code:
 CREATE TABLE `casherzc_gooo`.`properties` (
`property_ID` INT NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`price` INT NOT NULL ,
`number_of_bedrooms` INT NOT NULL ,
`area` INT NOT NULL ,
`type_of_property` TEXT NOT NULL ,
`city` TEXT NOT NULL
) ENGINE = MYISAM
__________________
my site: www.cashrez.com
Reply With Quote
  #10  
Old 15-10-2008, 11:31 PM
No Avatar

Techie
 
Join Date: Aug 2008
Posts: 52
UaECasher is on a distinguished road
Default

what fields you think i should add in transaction table?
__________________
my site: www.cashrez.com
Reply With Quote
  #11  
Old 15-10-2008, 11:36 PM
webwizzy's Avatar

Administrator
 
Name: Vinayak
Join Date: Feb 2008
Location: India
Phone: Samsung Wave
Posts: 1,116
webwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nice
Send a message via Yahoo to webwizzy
Default

fields like id, time_of_transac, ip, userid, fields affected and so on..
__________________
Always TAG and SHARE your threads
Submit your site to TECH6 Directory
TECH6 on Facebook - Like Us

Would you like to Link To Us | Support TECH6 by going Premium
Know more about me at Vinayaks.com | Follow TECH6 at Twitter


Reply With Quote
  #12  
Old 16-10-2008, 12:49 AM
No Avatar

Techie
 
Join Date: Aug 2008
Posts: 52
UaECasher is on a distinguished road
Default

hmm OK can you tell me how to get his (customer) IP?
__________________
my site: www.cashrez.com
Reply With Quote
  #13  
Old 16-10-2008, 12:50 AM
webwizzy's Avatar

Administrator
 
Name: Vinayak
Join Date: Feb 2008
Location: India
Phone: Samsung Wave
Posts: 1,116
webwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nice
Send a message via Yahoo to webwizzy
Default

PHP Code:
$ip=$_SERVER['REMOTE_ADDR']; 
__________________
Always TAG and SHARE your threads
Submit your site to TECH6 Directory
TECH6 on Facebook - Like Us

Would you like to Link To Us | Support TECH6 by going Premium
Know more about me at Vinayaks.com | Follow TECH6 at Twitter


Reply With Quote
  #14  
Old 16-10-2008, 12:57 AM
No Avatar

Techie
 
Join Date: Aug 2008
Posts: 52
UaECasher is on a distinguished road
Default

Thanks this will be the longest thread in tech555 or any vb forum who knows lol
__________________
my site: www.cashrez.com
Reply With Quote
  #15  
Old 16-10-2008, 06:00 PM
No Avatar

Techie
 
Join Date: Aug 2008
Posts: 52
UaECasher is on a distinguished road
Default

ok so now I'm working on the site design http://project.casherz.com/ nothing fancy, wanted to ask if it will be better to change the color of the navbar if i want to put it below the header, and if so what color u think will look nice?
__________________
my site: www.cashrez.com
Reply With Quote
  #16  
Old 16-10-2008, 06:26 PM
webwizzy's Avatar

Administrator
 
Name: Vinayak
Join Date: Feb 2008
Location: India
Phone: Samsung Wave
Posts: 1,116
webwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nice
Send a message via Yahoo to webwizzy
Default

At first I would say, why not keep the color of pages as plain white, with text as black and hyperlinks as red or blue.

You can make a navigation bar in shades of blue or white/blue gradient. Keep it professional and soothing to eyes
__________________
Always TAG and SHARE your threads
Submit your site to TECH6 Directory
TECH6 on Facebook - Like Us

Would you like to Link To Us | Support TECH6 by going Premium
Know more about me at Vinayaks.com | Follow TECH6 at Twitter


Reply With Quote
  #17  
Old 16-10-2008, 06:33 PM
No Avatar

Techie
 
Join Date: Aug 2008
Posts: 52
UaECasher is on a distinguished road
Default

look, i don't this will look pro at all it will be like an empty site lol
__________________
my site: www.cashrez.com
Reply With Quote
  #18  
Old 16-10-2008, 06:38 PM
webwizzy's Avatar

Administrator
 
Name: Vinayak
Join Date: Feb 2008
Location: India
Phone: Samsung Wave
Posts: 1,116
webwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nice
Send a message via Yahoo to webwizzy
Default

well.. It was just an opinion seeing 99acres.com, It has exactly the same color combination that I described. Does it look empty

anyways.. if you wanna keep the colors that you have already, then a navbar in black/grey would do good I think (i am no way a designer lol), just a lil' thought. Why not check dhtmlgoodies or dynamicdrive for some exceptionally well menu bars in javascript and dhtml.
__________________
Always TAG and SHARE your threads
Submit your site to TECH6 Directory
TECH6 on Facebook - Like Us

Would you like to Link To Us | Support TECH6 by going Premium
Know more about me at Vinayaks.com | Follow TECH6 at Twitter


Reply With Quote
  #19  
Old 16-10-2008, 07:12 PM
No Avatar

Techie
 
Join Date: Aug 2008
Posts: 52
UaECasher is on a distinguished road
Default

bro how to make a relationship between tables?
__________________
my site: www.cashrez.com
Reply With Quote
  #20  
Old 16-10-2008, 07:20 PM
webwizzy's Avatar

Administrator
 
Name: Vinayak
Join Date: Feb 2008
Location: India
Phone: Samsung Wave
Posts: 1,116
webwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nice
Send a message via Yahoo to webwizzy
Default

I seriously think, google can give a better answer for this.
Read about SQL Join keyword at w3schools.
__________________
Always TAG and SHARE your threads
Submit your site to TECH6 Directory
TECH6 on Facebook - Like Us

Would you like to Link To Us | Support TECH6 by going Premium
Know more about me at Vinayaks.com | Follow TECH6 at Twitter


Reply With Quote
Reply

Bookmarks

Tags
estate, real


Thread Tools
Display Modes




All times are GMT +5.5. The time now is 03:22 PM.

Contact Us - Tech6.com - Link to Us - Advertise - Submit Site - Privacy Statement - TOS - Top