Online House Rental System
Online House Rental System
SCHOOL OF INFORMATICS
Prepared by:
Name ID
1. ABAYINESH GOLO…………………………………..NCS(R)/461/06
2. ASTER BELETE ……………………...………………..NCS(R)/468/06
3. KEMERIYA AWOL ……………………..….... ………NCS(R)/501/06
4. SULTAN NAGEO….……………………… ..................NCS(R)/518/06
5. WOLDEKIDAN GUDELO………………………..…....NCS(R)/525/06
A senior project
Submitted to Department of Computer Science; Wolaita Sodo University, in Partial
fulfillment for the requirement of the Degree of Bachelor Science in Computer Science.
ACKNOWLEDGMET
First of all we would like to thanks our God helping us in different ways either the way we know
or we didn’t know to complete our task. Secondly we wish to express our heart full thanks to our
advisor Instructor Agilachewu A. (Msc) who is playing a great role by giving a powerful
comments and different advices that helps for our project. We appreciate his inspiring guidance
and constant encouragement that will help us for completion of our project. Last but not least we
would thanks for 4th year Computer science students for sharing useful ideas.
Contents page
ACKNOWLEDGMET ............................................................................................................................. I
LIST OF TABLES ................................................................................................................................. VI
LIST OF FIGURES .............................................................................................................................. VII
ABSTRACT .................................................................................................................................... IX
Chapter One .....................................................................................................................................1
Introduction......................................................................................................................................1
1.1 Introduction.........................................................................................................................1
1.2 Background of the Organization............................................................................................1
1.2.1 Vision ..........................................................................................................................2
1.2.2 Mission ........................................................................................................................2
1.3 Background of the Project ....................................................................................................2
1.4 Statement of the Problem .....................................................................................................2
1.5 Team composition ...............................................................................................................3
1.6 Objectives of the project.......................................................................................................3
1.6.1 General objective .........................................................................................................3
1.6.2 Specific objectives ........................................................................................................3
1.7 Scope and limitation of the project ........................................................................................4
1.7.1 Scope of the project ......................................................................................................4
1.7.2 Limitation of the project................................................................................................4
1.8 Significance of the project ....................................................................................................4
1.9 System development Methodology........................................................................................5
1.9.1 Data gathering techniques ...................................................................................................5
1.10 System analysis and design methodology ..............................................................................6
1.11 System development Tool ....................................................................................................7
1.11.1 Hardware tools required:..............................................................................................7
1.11.2 Software tools required:................................................................................................7
1.12 Beneficiary ..........................................................................................................................7
1.13 Feasibility study...................................................................................................................8
1.13.1 Technical Feasibility.....................................................................................................8
1.13.2 Operational Feasibility .................................................................................................8
1.13.3 Economic feasibility......................................................................................................8
LIST OF TABLES
Table 1: Project team compositions ......................................................................................................3
Table 2: Cost estimation for the project ................................................................................................9
Table 3: Task allocation for group members ....................................................................................... 10
Table 4: Create Account table............................................................................................................ 25
Table 5: Table of login ...................................................................................................................... 26
Table 6: Use case Description for Change Password ........................................................................... 26
Table 7: use case description for search information............................................................................ 27
Table 8: use case description for Send request .................................................................................... 28
Table 9: use case description for view response .................................................................................. 28
Table 10: use case description for Upload house or room information .................................................. 29
Table 11: use case description for Delete house .................................................................................. 30
Table 12: use case description for View Tenants request ..................................................................... 31
Table 13: use case description for View house information.................................................................. 32
Table 14: use case description for Send Response ............................................................................... 33
Table 15: use case description for reserve the house ............................................................................ 34
Table 16: use case description for Update house information ............................................................... 35
Table 17: use case description for send feedback ................................................................................ 35
Table 18: use case description for view feedback ................................................................................ 36
Table 19: use case description for Logout........................................................................................... 36
LIST OF FIGURES
Figure 1: Time Schedule for the project.............................................................................................. 11
Figure 2: agreement form used in the existing system.......................................................................... 15
Figure 3: agreement form used shop renting in the existing system ...................................................... 16
Figure 5: Use case diagrams for online house rent system.................................................................... 24
Figure 6: Sequence Diagram for Create account.................................................................................. 37
Figure 7: Sequence Diagram for Login............................................................................................... 38
Figure 8: Sequence Diagram for Change Password ............................................................................. 39
Figure 9: Sequence Diagram for Send Request ................................................................................... 40
Figure 10: Sequence Diagram for View Request................................................................................. 41
Figure 11: Sequence Diagram for Send Response ............................................................................... 42
Figure 12: Sequence Diagram for View Response............................................................................... 42
Figure 13: Sequence Diagram for Reserve House................................................................................ 43
Figure 14: Sequence Diagram for Upload House or Room................................................................... 44
Figure 15: Sequence Diagram for View House Information ................................................................. 45
Figure 16: Sequence Diagram for Delete House Information ............................................................... 46
Figure 17: Sequence Diagram for Update House Information .............................................................. 47
Figure 18: Sequence Diagram for Send Feedback ............................................................................... 48
Figure 19: Sequence Diagram for Search Information ......................................................................... 49
Figure 20: Sequence Diagram for Logout ........................................................................................... 50
Figure 21: Activity Diagram for Login ............................................................................................... 51
Figure 22: Activity Diagram for Create Account................................................................................. 51
Figure 23: Activity Diagram for Change Password ............................................................................. 52
Figure 24: Activity Diagram for Upload House or room ...................................................................... 52
Figure 25: Activity Diagram for Reserve House.................................................................................. 53
Figure 26: Analysis Level Class Diagram for Online House Rental system........................................... 54
Figure 27: User Interface Prototype for Online House rental system..................................................... 55
Figure 28: System Architecture for Online House Rental System ......................................................... 58
Figure 29: Class Type Architecture .................................................................................................... 59
Figure 30: Class modeling for house rental system.............................................................................. 60
Figure 31: State Chart Diagram for Login .......................................................................................... 61
Figure 32: state chart diagrams for reserve the house........................................................................... 61
Figure 33: State chart diagrams for Upload house or room................................................................... 62
Figure 34: Collaboration Diagram for Login....................................................................................... 62
Figure 35: collaboration Diagram for create account ........................................................................... 63
Figure 36: Component Diagram for online house rental system............................................................ 64
Figure 37: Deployment Diagram for house rental system..................................................................... 65
Figure 38: ER diagram for online house rental system......................................................................... 66
Figure 39: Physical Database Design for Online House Rental System ................................................. 69
Figure 40: User interface Design for home Page ................................................................................. 70
Figure 41: User interface Design for login .......................................................................................... 70
DB:-database
PHP:-Hypertext Preprocessor
ABSTRACT
The project that we are going to develop is web based house rental system for Wolaita_Sodo city. We
inspired to develop this system because renting a house is not an easy activity. This is due to some
problems facing the tenants. Such problems are do not knowing the exact location of the house to be
rented; this leads to fatigue of finding the house, wastage of renter’s time and money. To avoid these
and some related problems we designed this web based house rental system. So we hope that the newly
automated system provides fast and reliable service for tenants, house owners by minimizing time and
resource wastage. The document has clear and concise significance for tenants, house owners. Under
this document we specify the functional and nonfunctional requirements of the system and by carefully
applying the functional requirements tenants can get quality service from the newly automated system.
To achieve this we are using object oriented system develop methodology and using HTML, JavaScript
with CSS implementation for the interface and PHP languages to design and for data manipulation
and MYSQL as back end database. In General Web based House Rent System for Wolaita Sodo city is
very important task. Its primary goal is to enable tenants to rent houses online. And the second task is
for the house owners to advertise their houses and its services to tenants online. To achieve these
goals we proposed the new web based system of house rental system. Hence tenants can register
online so that no needs waste the time to go for searching the house to rent on foot. The system
supports house registration as well as viewing available properties for purposes of rent.
Chapter One
Introduction
1.1 Introduction
Renting a house is popular activity through walks of life. Typically students and employees that
are moving temporarily will share house renting activity.
Basically we are initiated to develop this system because all most all of Wolaita-Sodo city
employees get suffer about house renting and forced to leave with their relatives until they find
house that was really difficult to do practically that’s why we are developing this system today.
The main purpose of this project is to develop and implement a web based application entitled
“online house renting system” to help renters and house owners to get and provide reliable
services. These systems tend us to find possible solution for the problems existed in manual
house renting activity and helps user to access the system easily.
1.2.1 Vision
To become open up and world class complete house renting service provider and earn the
respect of all owners ,customers ,employees and community at large.
1.2.2 Mission
House owners’ mission is to provide the most complete, reliable, and reasonably priced service
with the aid of technology and well qualified professionals and high sense of commitment to
satisfy their customers.
Wolaita-Sodo city has different problems in house renting because it is performed by brokers of
the city still now. The main serious problems are the following:-
Man labor wastage:-tenants lose their power by finding house on foot from place to
place, even they cannot get house, because most of houses may be reserved and they
cannot know where they can get free house exactly.
Wastage of time:-tenants lose their time by searching houses in different place; this is
difficult for new employees or civil servants because they may miss their work time.
Wastage of money:-tenants waste their money for broker’s payment, taxi and may be for
some expenses related .Also house owners and house owners pay for brokers to advertise
their house.
Design a database for the new system for efficient data retrieval.
Generally to avoid the aforementioned problems in house renting process and provide
more efficient house renting system for Wolaita-Sodo city.
The system allows house owners to register and post their house.
The system allows administrator to manage house owners’ resource.
The system allows house owner to update their own resource.
The system allows tenants to send requests to house owners.
The system allows house owners to send response to tenants.
Message notification for house owners when the tenant reserves the house.
Making the system more secured by creating login account for all tenant, house
owners and administrator.
The system providing search tool for tenants, house owners and administrator in
easy and efficient way.
The system allows administrator and tenants to view house owners’ resources.
The system allows house owners to view tenants’ requests.
Some other features may be added according to their necessity.
Tenants will reserve house by selecting the place, type of house and the cost they can pay
by viewing all recorded house detail online.
Houses will rent on time with exact payment to the house owner.
Unrented houses can become reachable to tenants with in time.
Misinformation provide by brokers will be avoided because there is no need of
intermediate person (broker) in our system.
The system is more secured than existing one so users can simply believe it.
Saves time of Tenants and house owners, tenants will not lose their time to finding a
house and the house owners will not lose their time and money to advertise their own
house property by broker.
Save money of tenants as well as the house owners and house owners, they will not give
payment to broker during agreement of their needs, and also there is no loss any money
for transportation.
Save energy of tenants, they will not lose their labor to search houses on foot.
Tenants can reserve house online even they are not in Wolaita-Sodo city; they can reserve
before coming and they can directly go to the house after they come.
making questionnaires and observing in the around problems. Also we have collected raw
data or documents which are useful for the project to be implemented.
Object Oriented Analysis (OOA): This phase enabled us to look at the problem domain and
with the aim of producing a conceptual model of the information that exists in the area which
we are analyzing. Also it helped us to model the functions of the system (use case modeling),
identifying the business objects, organize the objects and also the relationship between them
and finally model the behavior of the objects.
Object Oriented Design (OOD): This phase supported us to model interactions and behaviors
that support the use case scenario, and finally update object model to reflect the
implementation environment. And also transforms the conceptual model produced in object-
oriented analysis to take account of the constraints needed to our system, so that we used this
phase to improve the use case model to reflect the implementation environment.
We decide to use object oriented system analysis and design methodology because of the
following reason:
1.12 Beneficiary
The target beneficiary groups are:-
This includes:-
Gantt chart
2-Nov-16 22-Dec-16 10-Feb-17 1-Apr-17 21-May-17 10-Jul-17 29-Aug-17 18-Oct-17
Title Selection
Requirement Gathering
Proposal
Analysis Phase
Designe Phase
Implementation Phase
Testing
Chapter Two
Wolaita-Sodo city house owners give house renting service to their customer’s (tenants). But,
they haven’t an organized system to perform this activity, registering the new tenants and rental
process is done manually, that leads the this system inefficient and time consuming, detailed
information about the house is invisible to tenantss. The new tenant shares house renting by
physicaly presenting to the house owner home. Then register and document their agreement on
the paper. Tenant need to go to the place where the house to be rented exists. So the new system
consumes tenant time and money.
During renting a house the tenant personal information, payments status and rent agreements are
filled in the house rent agreement form in order to hold legal contract between the tenant and
house owner for renting a house.
House Brokers: playing an intermediate role between the house owner and renters, by
sharing information from tenants to house owner and vice versa to make agreement
between them. They receive money from both of them.
House details as input in order to make the tenant aware about the house.
Brokers’ information; telling full information about the house with its payment per
month or year to help brokers to do their work easily.
Lease agreement policy between house owner and tenants.
Process:
Posting the house details for tenants by writing piece of information on computer then
print the information; then post it on the door of the house to be rented or by advertising
through city brokers.
Then waiting for request of the interested tenant.
If the request reached; the tenant’s personal information, payments status and rent agreements
are filled in the house rent agreement form in order to hold legal contract between the tenant and
house owners for renting the house.
The report is generated based on the number of rented houses, the number of unrented houses
and payment status of the houses. This report is generated by the house owner to him/herself to
announce available houses for renters.
is so slow. This is because tenants need to search for the houses to rent on foot, these delay
tenants’ requirements.
2.8.4 Efficiency
The other crucial problem which is found in the existing system is luck efficiency. We are
measuring the efficiency of the current system in terms of resource: human and time resources.
The existing system labor intensive and needs more time and expenses more money to get the
service.
The current system uses more stationary materials like papers and pen frequently to store data.
Because of this the current system spent more cost for data storage mechanism.
2.8.5 Input and output bottlenecks
As we try to list out the main inputs to our system the existing system inputs are detailed
information about the house, use of information from the brokers and agreement signing form.
This all are recorded manually and it is tedious activity.
Changing the manual system into a online system that works on web based environment.
Uses technological way to provide reliable services.
There will be fair service that will tend for satisfaction.
Develop web based system to satisfy tenants.
Develop online web based system in order to secure tenants from unwanted cost and also
make the house owners profitable.
We are trying to analyze all of the alternative solutions based on the existing system
performance, information flow, efficiency and service provided to the users. This analysis has
enforced us to select the online web based system.
View:-The system allows tenants, house owners and administrator to view posted
resources.
The system allows tenants to send their requests to house owner to reserve the house.
Send response:- when the house owner agree with tenants’ requests then, they can send
acceptance message to the tenant.
The system allows users to make payments to the house owner and follow the durational
payment progress.
Delete:-delete unnecessarily information of tenants request and house owner resources
Updating information: -the system allows updating the existing resource information by
the house owners.
Create account:-Making the system more secured by creating login account for all
tenants, house owners.
Upload:-The system allows to house owners to register and upload their house or room
and its properties.
Search:-The system is providing search tool for a tenants, house owners, and
administrator to search for houses.
Feedback:-The tenants can send any suggestion regarding the system.
Send request:-the system allows tenants to make request for the house he selected to rent.
Performance Requirements:-
Some performance requirements are listed here
The database should accommodate multiple records.
The system should support multiple users simultaneously at a time.
Users need to have basic computer knowledge.
Process Requirement:-
The system will provide the following data processing.
Data validation; only valid data is required to be stored in the system MYSQL server.
The system will support data deletions, insertions by authorized users.
Input/output Requirements:-
Data entry
The system has different fields to perform different tasks and used to manage data entry
mechanism.
Login: to identify the authorized person to use the system.
Data update: needs to update data, upload new houses or rooms, and delete houses from
the system when it is necessary.
Search for information: needed when the user wants to search for houses to view posted
houses.
Request for renting house.
Data processing
The system on input data will provide the following data processing.
New house registration.
House updating (deletion, add).
Storage Related Requirement:-
The system will store all in formations in MySQL server. The system needs 350-4500MB
storage to run its tasks.
It describes aspects of the system that are concerned with how the system provides the
functional requirements. They are:
Chapter Three
Process Modeling
3.1 Introduction
Under this topic we use different kinds of UML diagrams to model the functionality, structure
and Sequence of activities of the system. In this chapter the major activities performed or
identified are: modeling the function of the use case, identifying actors, identifying use case,
constructing use case model and use case scenarios and finally designing of user interface.
System modeling involves the evaluation of system components in relationship with one another
to determine their requirements and how to satisfy them. Some system modeling tools will be
employed during the course of this project that will support development tasks, from analysis to
design, then to implementation. This will be represented with the use of the sequence diagram,
activity diagram, state chart diagram, collaboration diagram and class diagram for the online
house rental system.
Actor Specification
Actors are external factors that interact with the system. This may include house owners,
tenants, and administrator. An actor initiates a use case and receives something of value from
the use case. Actors are always external to the system being modeled i.e. they are not parts of
the system.
One can use the following criteria to find actors: Who is using the system, who is affected by &
affects the system, what other system interact with this system, where does the system get
information, who install the system, who obtain information from this system and the like.
Based on these criteria the following actors are identified.
Name: -Administrator
Description: -a person who owns the system and can manage the whole system including house
owner’s houses information and manages tenants.
Name: - Tenant
Description: - Tenants are persons who search a house to rent in this system.
Name:-House owner
Description: - a persons who own houses, can post and delete Tenants’ request as well as who
can send response if the tenants request and house owner’s resource match.
Notepad++:-used to editor
Snipping tool:-used to cut and transfer graphs or images from one document to another.
Create Account
Use case name
Actors Tenant and house owner
Description This state allows these actors, to create User name and password in order
to access the system.
Basic course of 1. The tenants, house owner and house mangers enters to home page
action
2. Then click register button on home page
3.The user fill valid the required data on the form and click register button
4.The system displays registration form
5.The system can validate all inserted data
6. the system can register on Database
7. The system displays your account is successfully created
8. Use case ends.
Alternate flow of A1. If the entered required information is not valid it returns step 4 to
action refill the form.
Post condition The new user is registered.
Description When tenant enters their information needed and click search option, the
information needed for the tenant is displayed if available, otherwise the item is not
found prompt is displayed.
Actor Tenant
Description This use case permits to register rental information of the tenant and the
house that the tenant rents.
Pre-condition Tenant first needs to login to the system and choose the house to rent on
the home page.
1: This use case is initiated when the actor’s clicks on send request option.
Flow of event
2: System displays the page that contains information to be registered.
3: Tenant fill all the information
4: Tenant clicks or presses on the save or insert button.
5: The system verifies that the fields have been filled out correctly.
6: System displays inserted successfully.
7: Use case Exit
Alternative course of A.1 If the tenant’s fields are not filled out correctly system goes back or
action returns to step 4 of basic course of action to fill invalid field.
Description This option allows the Tenants, house owners and admin to view the
response for tenants request from the house owner to tenant.
Description This use case permits house owner to register rental information of the house or
room that they will rent.
Logging into the system
Pre-condition Having house information to be posted.
1: This use case is initiated when the actors clicks on register houses option.
Flow of action
2: System displays the page that contains information to will be registered.
3: House owner fill all the information
4: Then they click or press on the register button.
5: The system verifies that fields have been filled out correctly.
6: The system displays inserted successfully message.
7: Use case Exit
Alternative A.1 If the fields are not filled out correctly system goes back or returns to step 3
course of action of basic course of Action to fill invalid field.
House owner information is registered.
Post condition
Actor Admin
Description It allows admin to delete house owner’s house information from the
system.
Pre-condition The admin must have an account and must have list of available houses
deletion requests from the house owners.
Flow of event 1. This use case is initiated when admin click on manage houses
resources option.
2. System displays the page that contains delete buttons.
3. Admin delete resources.
4. System displays deleted successfully if admin delete house
information.
5. Use case Exit
Post condition House owners’ house information is deleted from the system.
Description When house owner choose view tenant request option, the system displays
information about tenants.
Pre-condition House owner need to have an account if they want to see more requests.
Flow of event 1: This use case is initiated when the house owner clicks the view tenant
request option.
Alternative flow House owner only see the name and the description of tenant.
of action
Description When actors choose view house information option, the system displays
information.
Pre-condition Users need to have an account if they want to see more information.
Flow of event 1. This use case is initiated when the actor clicks on view house
owners’ resources option.
2. System displays available name of the house owner and some
descriptions.
3. Admin and tenant click on renting option.
4. System displays all the available resources recorded in the
database.
5. Use case Exit
Alternative flow of Actors see only name of the house owner and the description if they don’t
action want to login.
Description When house owner chooses view tenant request option, the system displays
information about who is requesting. Then he/she can replies the response
to the requester.
Description Only house owners can update their own house information
Pre-condition House owner needs to have an account to modify his property.
House owner should have resource posted first to update it.
1. This use case is initiated when they click on update house link.
Basic flow of 2. System displays the page with house information with update button.
action 3. House owner updates the fields.
4. Then press update button.
5. System displays success message.
6. Use case exit.
Actor Tenant
Description To enable the users to send the feedback, to comment any Suggestion on
text area.
Pre-condition The tenants must be having a suggestion about the system as well as houses
property.
1. The tenants click feedback button.
Basic course of 2. System display text area box.
action 3. The tenants write some necessary information and click post button.
4. The system validates the entered data.
5. The system can make save on database and post on home page
6. Use case Exit
Figure 25: Analysis Level Class Diagram for Online House Rental system
HOME
Login
Tenant
Administrator House owner
Logout
Change
Password View Delete Logout
Figure 26: User Interface Prototype for Online House rental system
Chapter Four
System Design
4.1 Introduction
System design defines the architectures, components, modules, and data base for a system to
satisfy specified requirements. It is concerned with how the data is represented and stored within
the system. Systems design is therefore the process of defining and developing systems to satisfy
specified requirements of the user. It is related to the actual input and output processes of the
system. This is laid down in terms of how data is input into a system, how it is verified
/authenticated, how it is processed and how it is displayed.
Design goals:-
Response time: taking less time for system to respond to the request.
Simplicity: we develop the new system can make user friendly graphical user interface.
Reliability: the system must perform its intended functions and operations in a system's
environment without experiencing failure or system crash.
Security: the system must be protected from an authorized access, threats, attacks and
vulnerabilities.
Fault tolerance: the system must have the ability to satisfy requirements despite failures
such as hardware, software or network failures.
reliability of the system. The diagram below illustrates a general view of the system design
architecture.
As shown above our system is 3-tier architecture. Here the client application no longer directly
queries the database; it queries the server application, which in turn queries the data server. The
advantage of this system is, when users retrieve data the following happens: The system users on
browser asks the web server, the web server asks the server application and the server application
queries the data server, the data server serves up a record set with all the information’s available.
The server application does all the processing to determine the data and serves up the final data
to the web server. The web server displays the final data information to the system users. The
three tiers in three-tier architecture are:
Web server known as Presentation Tier: it interacts closely with the user. Occupies the
top level and displays information related to services available on a website. This tier
communicates with other tiers by sending results to the client and other tiers in the
network.
Application server known as Application Tier: Also called the middle tier, logic tier,
business logic or logic tier, this tier is pulled from the presentation tier. It controls
application functionality by performing detailed processing.
Data server also known as Data Tier: This is the most critical aspect of the application; it
is where the user data, operational data and metadata are stored for easy access and
retrieval. Houses database servers where information is stored and retrieved. Data in this
tier is kept independent of application servers or business logic. Thus, a database is an
organized collection of structured data, to serve many applications with minimum
redundancy.
Application Controller
System
(Infrastructure
Domain (Business Layer) Platform)
The physical data model of a database describes database tables, attributes and relationship
between tables. To develop this data model we used ER diagram which designed for to create a
common understanding between the developer and end users. Therefore, the ER diagram was
mapped to database schema by using different sequential mapping algorithms. After the
database schema is created the next step is normalizing the database schema by insert some
values to its attribute.
Online house rental Entity Relationship (ER) Diagram is type of flowchart that illustrates how
“entities” such as actors, objects or concepts relate to each other within our system. This ER
diagram is used to design database in our system. It uses a defined set of symbols such as
rectangles, diamonds, ovals and connecting lines to depict the interconnectedness of entities,
relationships and their attributes.
definitions. In this the primary keys and foreign keys were defined which were not defined in
previous phase. By applying mapping algorithm to the above ER diagram the following database
schema was created for online house rental system using normalization.
Normalization
Database normalization is the process of organizing the fields and tables of a relational database
to minimize redundancy and dependency. Normalization usually involves dividing large tables
into smaller (and less redundant) tables and defining relationships between them. The objective
is to isolate data so that additions, deletions, and modifications of a field can be made in just one
table and then propagated through the rest of the database using the defined relationships.
1NF is the most basic of normal forms - each cell in a table must contain only one piece of
information, and there can be no duplicate rows.
Account
fname mname lname Email User_type password
Registers
ima Fna Lna Ema Phone kebel house_ room_n pric floo servi location purpo sta
ge me me il _no e no o e r ces se tus
Requests
first_name last_name gender phone_no Temail receiver house_number
Responses
owner_name house_no message Temail date
Payments
Pay_id Payer_name payed_to amount_payed date
Feedback
Name Email subject message date
All non-key attributes are fully functional dependent on the primary key
For example:
Registers
ima Fna Lna ema pho Keb house no_roo price floor services location purpos status
ge me me il ne ele _no ms e
Response
Ownername house_no message Temail date
Response
Ownername house_no message Temail date
Request
fname Mname lname Gender phone Temail reciver house_no
Figure 38: Physical Database Design for Online House Rental System
Chapter Five
Implementation and Testing
5.1 Tools
5.1.1 Software Tools for implementation
There are some tools that we have used for developing the system. These are:-
PHP: we used it as a server side script (back end) program because of it run on different platform
like Linux, windows, and on other servers and using integrate database with the site. The main
reasons why we selected PHP programming to develop our system described as follows :
HTML5, JavaScript and CSS: for describing web pages and interface application for users satisfy
user interface requirement perform decoration and interactivity with CSS and in order to validate
the input information with JavaScript.
Offline browsing
Performance
Reliability
Microsoft Office Word 2010: We used this software for documentation purpose of our project.
The main reasons why we choose this software are:
E-draw max UML diagram 7.9:-We used this to draw UML diagrams for our
project. The main reason why we choose this software as follows: Simple and
clear to create professional looking for different chart and diagram
Ram ------------- 1 GB
Flash disc 8 GB
E-draw max UML diagram 7.9:-We used this to draw UML diagrams for our project. The main
reason why we choose this software as follows:
Register View
Login Reserve
5.3 Functionality
For example if a house or room owner inputs all the available resources the system displays
insertion successful if there is no error otherwise failed to register.
Sample code for login page
<html>
<head><title>login page</title>
<meta charset="UTF-8">
<SCRIPT type="text/javascript">
window.history.forward();
<script>
function Validator(){
// Make quick references to our fields
return true;
}}}}
return false;
alert(helperMsg);
return false;
}
return true;
if(elem.value.match(numericExpression)){
return true;
}else{
alert(helperMsg);
elem.focus();
return false;
}
}
return true;
}else{
alert(helperMsg);
elem.focus();
return false;
}
function isAlphanumeric(elem, helperMsg){
if(elem.value.match(alphaExp)){
return true;
}else{
alert(helperMsg);
elem.focus();
return false;
}
return true;
}else{
alert("Please enter between " +min+ " and " +max+ " characters ");
elem.focus();
return false;
}
}
alert(helperMsg);
elem.focus();
return false;
}else{
return true;
}
return true;
}else{
alert(helperMsg);
elem.focus();
return false;
}</script>
</head>
</td>
</td>
</tr>
<tr height=30px>
<td colspan=3 background="images/back2.jpg" style='border:1px solid
#bbbbbb;width:400px;height:3px;'>
<div id="navbar">
<ul id="navmenu">
</ul>
</div>
</td>
</tr>
<td >
<tr>
<tr>
<td valign="top" bgcolor="#d8dce4">
<h2><center>
</td>
</tr>
</table>
</table>
</td>
<br>
<tr>
<td><img src="images/tick.png" width="15px"
height="15px"> <b>Login Us</td>
<td>
<option></option>
<option value="admin">Adminstrator</option>
</select></td>
</tr>
<tr>
<br><br><br>
</td></tr>
<tr/><tr/><tr/><tr/><tr/><tr/><tr/>
<?php
require("configration.php");
if (isset($_POST['login'])) {
$un = $_POST['email'];
$password =$_POST['password'];
$pass = md5($password);
$user = $_POST['user_type'];
$result = mysqli_fetch_array($sql);
if ($result) {
if($result['account_status']=='1'){
elseif($result['account_status']=='0') {
$_SESSION['log']['email'] = $result['email'];
$_SESSION['start'] = time();
$_SESSION['expire'] = $_SESSION['start'] + (2 * 60);
header('Location:login.php');
if ($user == "Tenant") {
header("location:customer.php");
header("location:admin.php");}
}
}
else{
?>
</table></center>
</form>
</div>
</td>
<td width="100%">
<select name="houses">
<option>For Office</option>
<option>For Banking</option>
<option>For Residence</option>
<option>For Pharmacy</option>
<option>For Clinc</option>
<option>For Hell</option>
<option>For Depositary</option>
<tr>
<tr>
<td bgcolor="#6e6f71" height="100px">
<tr>
</td>
</tr>
</table>
</table>
</td>
<tr>
include('footer.php');
?>
</td></center>
</tr>
</tr>
</table>
</body>
</html>
The application uses a client/server based model. The client is what the house or room owners
and tenants use to add their records as well as manage them. The client application will
communicate with a data base server that saves all the information for each house or room
owners and tenants (customers).
OHRS central
House or room
6.Administrator database server
owners and
WAN connection Tenants
You first start by running “OHRS -setup.exe” using cd drive or usb drive. This
will begin the installation of OHRS Software.
Select “Typical” installation then click the “Next >” button
Click the “Install” button to begin installation
Once the installation completes click “finish >” twice
Now insure “Configure the OHRS software now”.
5.4.3.1 Settings
Changing the settings to fit the current user is the first step that should be taken by a new user to
the computer before using the application. The settings can be access from the “Settings” menu
in the main application window. There are seven (7) settings that can be changed to fit the
current user’s needs. When the settings are changed, the changes will be saved even when the
program is restarted. Users may need to contact the network administrator to find out all of the
details for these settings.
5.4.3.2 Server
It is IP address of the computer on the LAN that is running the database server. You may either
type the IP address of the database server or the network name of the computer
The manager can control over system users by activating and deactivating system users’ account.
If there is the delete house or room request from the owners he can delete the house or the room.
Manage account
Generate report
The administrator can generate report consisting of number of posted houses, rooms, system
users, currently reserved houses or rooms, available houses or rooms for renting tenants and the
number of house or room owners .
View information
Administrator can view all responses and reservations made between system users.
Chapter Six
Conclusion and Recommendation
6.1 Conclusion
The online house rental system is centralized system it can be used to reduce resource lose
and to increase the efficiency. The main focus of this project is to satisfy users need for easy
finding property, to maximize property choice, to save time and money .The maintenance of
the records is made efficient, as all the records are stored in the database, and also data can be
retrieved easily. The editing is also made simpler. The user has to just type in the required
field and press the update button to update the information.
6.2 Recommendation
We recommend that every customer and house or room owner use this system properly they
can satisfy their need successfully with in time; in addition enhancing the language by
supporting local languages like Amharic, Tigrigna and others to fulfill users’ requirements.
For the time being we did not do those functionalities due to lack of time.
References
1. Renting a house, www.rentals.com, Oct15, 2014
2. Renting a car, www.car rent.com, Oct15, 2014
3. Tenantbackground,http://ohmyapt.apartmentratings.com/what-does-a-tenant-
background-check-cover.html#sthash.0bNJWyRM.dpuf,Oct17,2014
4. Introduction to tenants, www.homes.com, Oct29, 2014
5. Landlord’s resource, www.wikihow.com/rent-your- house, Nov5, 2014
6. Rent system, https://www.rentalsystem.com/site/register, Nov5, 2014
7. Programming language, www.w3school.com, Dec25, 2014