Anda di halaman 1dari 24

PROJECT REPORT

ON
REAL ESTATE
as a part of course curriculum of
BACHELOR OF TECHNOLOG
!N
!NFOR"AT!ON # TECHNOLOG ENG!NEER!NG
Su$mitte% To& ' Su$mitte% B(&'
Er) Natas*a "a+preet ,aur-./0
Pra$1ot ,aur-230
Department of information technology
BABA FARID COLLEGE OF ENGINEERING
&TECH.
Muktsar Road, Bathinda-!"", #un$a% &INDIA'
AC4NO5LE6GE"ENT
It is my privilege and delectableness to acknowledge with the deepest sense of
gratitude, the keen personal interest and invaluable guidance goes to my guide Miss Natasha,
for his support, encouragement and help me at every stage of project, while I did face any
problem regarding my project of RE! E"##E$% #his work simply would not have
reached up to such e&tent without his cognitive and rational guidance and guidelines%
'inally, I am indebted to all who so ever have contributed in this project%
Co+te+t
7) !+tro%uctio+ of pro1ect)
. "et*o%olo8( use% i+ pro1ect
2) S+aps*ots of pro1ect
9) Result
:) Bi$lio8rap*(
S;""AR
#his project is based on RE! E"##E (E!" where you )uy and "ell *roperty, you +an
also ,ive -our *roperty on Rent% #he web site has been designed to take in buyer, seller and
property information% 'or a buyer of real estate, this data will need to be then available to a
buyer who will have the ability to search a sortable list of results% 'or a seller, they will have
the ability to input a property, change its status, etc%
Bu(i+8 S(stem. nyone who is interested in buying the property can look for the favourable
property and can contact the seller directly through the email or contact details provided by
the seller% If not so the buyer can fill in the form provided at the bottom of the property
details% #his form will store the interested buyer/s details like contact no, email id, address
etc% this information will be safely stored with the admin i%e% the site managers% If any
response from the seller is confirmed it will be informed to the buyer by one of our customer
mangers in time%
Selli+8 S(stem. In this seller can fill the related details of the property in the form provided
by clicking on sell% #he details are securely saved with the admin% #his information thus
stored will be visible to any buyer looking for property matching these details%
Re+t S(stem. #his system is also similar to buying system in which a particular person can
look for the property he is looking for% #he list matching the re0uirements of the person will
be made available% 1e can choose from a no of properties% #his person can then click on the
property he is interested in and can contact the leaser directly through the contact no provided
or through the email%
Propert( List. #here is also a list of all kind of property for those who want to see the
property details%
Post Re<uireme+t. -ou can also post the re0uirements for a particular kind of property in the
link provided at contact us page% #he thus opened is for the person to fill all the basic
re0uirements of the kind of property he is looking for% 2ur customer managers will be more
than happy to help you look out for the property of your dreams
Steps to Ru+ Real Estate Pro1ect)
3% Install any one of #hese "erver%
o 4amp
o 55amp
6% +reate a (atabase of Name project$
7% Import the "0l file of Name project%8ip$ in the project folder%
9% *ut the 'older of *roject in "erver (irectory%
:% ,o to !ocalhost and Run this *roject%
OBJECT!=E
#his RE! E"##E project aims to simplify the process of buying, selling and renting the
properties across the countries% #he idea is to reach the masses through a simplified process
where the users are given access to a range of property deals without getting themselves
registered% #he customers will be entertained according to their specifications by the
customer managers of the company% #he users can look for all kinds of properties within their
cities as well as the other cities% #he property details also include an image of the property
available to rent or buy on the web site%
SCOPE
#he small city property dealers engaged in widespread property dealings can have their own
websites online where the customers will not only be from their respective towns but also
from big cities% #he dealers as well as the customers need not roam places to search for the
desired property% Every kind of property is only a click away%
RE>;!RE"ENTS&
Har%?are
Processor 3%: ,18, *entium I;, M( "am% 7<<<=
RA" 6:> M) ?minimum@
:36 ,) ?Recommended@
Har% 6is, 6ri@e 3< ,) ?minimum@
A< ,) ?Recommended@
Soft?are
Operati+8 S(stem 4indows 5*, Microsoft %NE# *latform "(B ver%
6%<
Pro8rammi+8 la+8ua8e *1*C1yperte&t *reCprocessor
6ocume+tatio+ Microsoft 4ord%
!+terface ;isual *rogramming and
,raphics Dser Interface
!+tro%uctio+
#o start with *1* we first have to go through the basics of 1#M! N( +"" for better
understanding the language% "tarting with 1#M! we will learn the basic tags and their
various functions along with their attributes% +"" provides us with the styling tags helpful in
greatly reducing the coding tasks% It works with classes and ids used for various parts of the
web pages and helps in designing the pages more efficiently% *1* basics help us learn the
basics of running a website online and all the other kinds of storage purposes online%
HT"L& HPERTEAT "AR4';P LANG;AGE
1#M! ?1yperte&t MarkCup !anguage@ is used to create document on the 4orld 4ide 4eb% It
is simply a collection of certain key words called E#ags/ that are helpful in writing the
document to be displayed using a browser on Internet% 1#M! also provides tags to make the
document look attractive using graphics, font si8e and colors% Dser can make a link to the
other document or the different section of the same document by creating 1yperte&t !inks
also known as 1yperlinks%
+reating a 1#M! document.
#he essential tags that are re0uired to create a 1#M! document are.
F1#M!G%%%%%%%%%%%%%FH1#M!G
F1E(G%%%%%%%%%%%%%FH1E(G
F)2(-G%%%%%%%%%%%%%FH)2(-G
1#M! #ag F1#M!G.
#he F1#M!G tag encloses all other 1#M! tags and associated te&t
within your document% It is an optional tag% -ou can create an 1#M!
document that omits these tags, and your browser can still read it and
display it% )ut it is always a good form to include the start and stop
tags%
"ynta&.
F1#M!G
-our #itle and (ocument
FH1#M!G
1E( #ag F1E(G.
1E( tag comes after the 1#M! start tag% It contains #I#!E tag
to give the document a title that displays on the browsers title bar
at the top%
"ynta&.
F1E(G
F#I#!EG
-our title goes hereFH#I#!EGFH1E(G

)2(- #ag F)2(-G
#he )2(- tag contains all the te&t and graphics of the document with all the 1#M!
tags that are used for control and formatting of the page%
"ynta&.
F)2(-G
-our (ocument goes here
FH)2(-G

ttributes used with F)2(-G
),+2!2R. used to set the background color for the document%
E&ample.
F)2(- ),+2!2RIJyellowJG
-our document te&t goes here%
FH)2(-G
#E5#. used to set the color of the te&t of the document
E&ample.
F)2(- #E5#IJredJG
(ocument te&t changed to red color
FH)2(-G
)+B,R2DN(. It is used to point to an image file ?with an e&tension %gif, %jpeg@
that will be used as the background of the document% #he image file will be tiled
across the document%
E&ample.
F)2(- )+B,R2DN(IJfilename%gifJG
-our document te&t goes here
FH)2(-G
+ontainer and Empty #ags
ll 1#M! tags are enclosed in angle brackets EF/ and EG/ i%e% 2pening
#ag. F1#M!G and closing tag. FH1#M!G same as opening tag e&cept a
H?slash@ mark% #ags are not caseCsensitive i%e% there is no difference in
small and capital letters in tags%
#here are two types of tags.
1. +ontainer #ags. #ags which have both the opening and closing i%e%
F#,G and FH#,G are called container tags% #hey hold the te&t and other
1#M! tags in between the tags% #he F1#M!G, F1E(G, F#I#!EG and
F)2(-G tags are all container tags%

E&ample.
F#,G this is a container tag% It holds both the te&t and
1#M! tag FH#,G
2. Empty #ags. #ags, which have only opening and no ending, are called empty
tags% #he F1RG, which is used to draw 1ori8ontal, rule across the width of the
document, and line break F)RG tags are empty tags%
"E+#I2N 1E(IN,. F13G%%%%%%%%%%%%%F1>G
1#M! has si& header tags F13G, F16G%%%%%%%%%%%F1>G used to specify
section headings% #e&t with header tags is displayed in larger and bolder fonts than
the normal body te&t by a web browser% Every header leaves a blank line above and
below it when displayed in browser%
1eading #ag use in html
Dsing paragraph tag. F*G
#his tag F*G indicates a paragraph, used to separate two paragraphs with a blank
line%
E&ample.
F*G 4elcome to the world of 1#M! FH*G
F*G 'irst paragraph%
#e&t of 'irst paragraph goes here FH*G

2utput. 4elcome to the world of 1#M!

'irst paragraph% #e&t of 'irst paragraph goes here
1ere, two paragraphs are separated with a line% )ut web browser ignores the
line breaks in the second paragraph that can be controlled by putting F)RG
tag%
Dsing !ine )reak #ag. F)RG
#he empty tag F)RG is used, where the te&t needs to start from a new line and
not continue on the same line% #o get every sentence on a new line, it is
necessary to use a line break%
E&ample.
F)2(-G
National Institute of 2pen "chooling F)RG
)C73), Bailash +olony F)RG
New (elhiC33<<9A
FH)2(-G
2utput.
National Institute of 2pen "chooling
)C73), Bailash +olony
New (elhiC33<<9A
Dsing 1ori8ontal Rule #ag. F1RG
n empty tag F1RG basically used to draw lines and hori8ontal rules% It can be
used to separate two sections of te&t%
E&ample.
F)2(-G
-our hori8ontal rule goes here% F1RG
#he rest of the te&t goes here%
FH)2(-G

F1RG accepts following attributes.
"IKE. (etermines the thickness of the hori8ontal rule% #he value is given as a
pi&el value%

E&ample. F1R "IKEIJ7JG
4I(#1. "pecifies an e&act width of 1R in pi&els, or a relative width as
percentage of the document width%
E&ample. F1R 4I(#1IJ:<LJG, hori8ontal rule a width a :< percent of the
page width%
!I,N. "et the alignment of the rule to !E'#, RI,1# and +EN#ER% It is
applicable if it is not e0ual to width of the page%
N2"1(E. If a solid bar is re0uired, this attribute is usedM it specifies that
the hori8ontal rule should not be shaded at all%
+2!2R. "et the color of the 1ori8ontal rule%

E&ample. F1R +2!2RIJ)!DEJG
E&ample of F1RG with its attribute.
F1R !I,NINN+EN#ERNN 4I(#1INN:<LNN "IKEINN7J N2"1(E
+2!2RIJ)!DEJG
D"IN, !I"# IN 4E) *,E.
1#M! "upports several ways of arranging items in lists% #he most commonly
used are.
O 2rdered !ist ?Numbered !ist@
O Dnordered !ist ?)ulleted !ist@

2rdered !ist F2!G.
2rdered list also called as Numbered list, is used to present a numbered list of item
in the order of importance or the item ?paragraph@ is marked with a number% n
ordered list must begin with the F2!G followed by an F!IG list item tag%
42RBIN, 4I#1 !INB". FG N+12R
4eb pages are linked to one another through 1yperte&t !inks% "ection of te&t or
image in the 1#M! document can be linked to an e&ternal document or to a
specific place within the same document% #he te&t or image that provides such
linkage is known as 1yperte&t or 1otspot% 1#M! provides FG nchor #ag to
create links% #he format of using anchor tag is as follows.
F 1RE' IJDR!JG Make Me #he !ink FHG
42RBIN, 4I#1 #)!E".F#)!EG
#ables let you work in a systematic way in web pages%
"ynta&.
F#)!EG
F#RG
F#(G3
"#
bo& of the tableFH#(G
F#(G 6
N(
bo& of the tableFH#(G
FH#RG

F#RG
F#(G7
R(
bo& of the table FH#(G
F#(G 9
th
bo& of the tableFH#(G
FH#RG
F#)!EG
2utput.
3
"#
bo& of the table 6
N(
bo& of the table
7
R(
bo& of the table 9
th
bo& of the table
PHP& HPERTEAT PRE'PROCESSOR
PHP !+tro%uctio+
*1* is a serverCside scripting language%
5*at is PHPB
*1* stands for P1*. Hyperte&t PreCprocessor
*1* is a serverCside scripting language, like "*
*1* scripts are e&ecuted on the server
*1* supports many databases ?My"P!, Informi&, 2racle, "ybase, "olid,
*ostgre"P!, ,eneric 2()+, etc%@
*1* is an open source software
*1* is free to download and use
5*at is "(S>LB
My"P! is a database server
My"P! is ideal for both small and large applications
My"P! supports standard "P!
My"P! compiles on a number of platforms
My"P! is free to download and use
5*ere to StartB
#o get access to a web server with *1* support, you can.
Install pache ?or II"@ on your own server, install *1*, and My"P!
2r find a web hosting plan with *1* and My"P! support
PHP !+stallatio+
4hat do you NeedQ
If your server supports *1* you donNt need to do anything% Rust create some %php files
in your web directory, and the server will parse them for you% )ecause it is free, most web
hosts offer *1* support% 1owever, if your server does not support *1*, you must install *1*%
(ownload *1*
(ownload My"P! (atabase
(ownload pache "erver
PHP S(+taC
#he *1* script is e&ecuted on the server, and the plain 1#M! result is sent back to the
browser%
Basic PHP S(+taC
*1* script always starts with DBp*p and ends with BE% *1* script can be placed
anywhere in the document% 2n servers with shorthandCsupport, you can start a *1* script
with FQ and end with QG% 'or ma&imum compatibility, we recommend that you use the
standard form ?FQphp@ rather than the shorthand form%
"ynta&.
FQphp
QG
*1* file must have a %php e&tension% *1* file normally contains 1#M! tags, and some
*1* scripting code%
)elow, we have an e&ample of a simple *1* script that sends the te&t J1ello 4orldJ back to
the browser.
FhtmlG
FbodyG
FQphp
echo J1ello 4orldJM
QG
FHbodyG
FHhtmlG
Each code line in *1* must end with a semicolon% #he semicolon is a separator and is used to
distinguish one set of instructions from another% #here are two basic statements to output te&t
with *1*. ec*o and pri+t% In the e&ample above we have used the echo statement to output
the te&t J1ello 4orldJ%
PHP Forms a+% ;ser !+put
#he *1* ST,E# and ST*2"# variables are used to retrieve information from forms, like user
input%
*1* 'orm 1andling
#he most important thing to notice when dealing with 1#M! forms and *1* is that any form
element in an 1#M! page will automaticall( be available to your *1* scripts%
E&ample
#he e&ample below contains an 1#M! form with two input fields and a submit button.
FhtmlG
FbodyG
Fform actionIJwelcome%phpJ methodIJpostJG
Name. Finput typeIJte&tJ nameIJfnameJ HG
ge. Finput typeIJte&tJ nameIJageJ HG
Finput typeIJsubmitJ HG
FHformG
FHbodyG
FHhtmlG
1* FGGET ;ariable
In *1*, the predefined ST,E# variable is used to collect values in a form with methodIJgetJ%
#he ST,E# ;ariable
#he predefined ST,E# variable is used to collect values in a form with methodIJgetJ
Information sent from a form with the ,E# method is visible to everyone ?it will be
displayed in the browserNs address bar@ and has limits on the amount of information to send%
E&ample
Fform actionIJwelcome%phpJ methodIJgetJG
Name. Finput typeIJte&tJ nameIJfnameJ HG
ge. Finput typeIJte&tJ nameIJageJ HG
Finput typeIJsubmitJ HG
FHformG
4hen the user clicks the J"ubmitJ button, the DR! sent to the server could look something
like this.
http.HHwww%w7schools%comHwelcome%phpQfnameI*eterUageI7V
#he Jwelcome%phpJ file can now use the ST,E# variable to collect form data ?the names of
the form fields will automatically be the keys in the ST,E# array@.
4elcome FQphp echo ST,E#WJfnameJXM QG%Fbr HG
-ou are FQphp echo ST,E#WJageJXM QG years oldY
4hen to use methodIJgetJQ
4hen using methodIJgetJ in 1#M! forms, all variable names and values are displayed in
the DR!%
Note& #his method should not be used when sending passwords or other sensitive
informationY
1owever, because the variables are displayed in the DR!, it is possible to bookmark the
page% #his can be useful in some cases%
Note& #he get method is not suitable for very large variable values% It should not be used with
values e&ceeding 6<<< characters%
*1* FGPOST 'unction
In *1*, the predefined ST*2"# variable is used to collect values in a form with
methodIJpostJ%
#he ST*2"# ;ariable
#he predefined ST*2"# variable is used to collect values from a form sent with
methodIJpostJ%
Information sent from a form with the *2"# method is invisible to others and has no limits
on the amount of information to send%
Note& 1owever, there is an A Mb ma& si8e for the *2"# method, by default ?can be changed
by setting the postTma&Tsi8e in the php%ini file@%
E&ample
Fform actionIJwelcome%phpJ methodIJpostJG
Name. Finput typeIJte&tJ nameIJfnameJ HG
ge. Finput typeIJte&tJ nameIJageJ HG
Finput typeIJsubmitJ HG
FHformG
4hen the user clicks the J"ubmitJ button, the DR! will look like this.
http.HHwww%w7schools%comHwelcome%php
"ETHO6OLOG
6ES!GN!NG THE 5EB LAO;T&
7) #he basic layout of the website and it/s pages is decide%
.) 4ork is done on the background of the pages%
2) (esigning the various buttons or links is done%
9) #he pages are then linked to each other%
HT"L CO6!NGS&
3% #he body, title and head parts are divided and designed%
6% #he forms are created which are used in the website%
7% #he tags used to design the are used in the html coding%
CSS CO6!NGS&
3% Each and every part of different web pages is given the attributes%
6% #hese attributes are coded in the forms of classes and ids%
7% #hese ids and classes are used then in html%
PHP SCR!PT!NG&
7) #he web site pages are each made working through the php scripts%
.) #hese scripts are individualistic in their functions%
2) #he forms which will be filled by the clients are stored in the database%
9) #his storing and fetching of all the data in the database is controlled by the
php scripts%
:) #he data in the database can be server database or the local database%
6ATABASE
3% *rimary database is an original database on which all kind of updating
take place like insertion, deletion etc%
6% It can either be on the server process or on a client process according to
one/s own re0uirement%
7% #he system with the primary database is sometimes known as *rimary
Machine
(ata ,uard configuration contains one production database, also referred to as the primary
database that functions in the primary role% #his is the database that is accessed by most of
your applications%
S+aps*ots
*ome
$u(
Sell
A$out
CREATE 6ATABASE&
CREATE TABLES&
TABLES
SELL 6ATABASE TABLE&
RENT 6ATABASE TABLE&
THE !NTERESTE6 TABLE&
RES;LT AN6 6!SC;SS!ON
Co+clusio+&
2ne of the challenges of todayNs distributed business environments is the sharing of
information among a multitude of applications and databases% s the number of applications
grows, you end up with several databases, which may even be from different vendors%
"haring information in such a comple& and disparate environment can be demanding%
B!BL!OGRAPH
www%w7schools%com
www%ti8ag%com