Final Municipality Document
Final Municipality Document
Final Municipality Document
(ARBAMINCH UNIVERSITY)
Group Members:
1. AbonehGobu RAMIT/1287/05
2. Amare Abraham RAMIT/1306/05
3. GizachewAyen RAMIT/1408/05
4. SimegnYosef RAMIT/T/1642/05
5. Tegegn Oro RAMIT/1563/05
Advisor’s Name
Mr.Amin T.
ArbaMinch, Ethiopia
June, 2016
Acknowledgment
First of all we would like to thank our God for keeping us safe and healthy thenwe would like to
express our special thanks of gratitude to our advisorMr. Amin and Our friends for giving us
such important advice, attention and time to do our project effectively. However, it would not
have been possible without the kind support and help of Arba Minch municipality office
Employers who gave us the golden opportunity to do this system by giving us important and
continuous information without any complain.
We would like to extend our sincere thanks to Arba Minch University for providing necessary
resources and guidance as well as information regarding the project. We would like to express
our gratitude towards our parents and friends for their kind cooperation and encouragement
which help us in completion of this project. Lastly, our thanks and appreciation also goes to
AMIT, Department of Computer Science and Information Technology in developing the project
and people who have willingly helped us by sharing their deepest knowledge and experience.
Contents
Acknowledgment.........................................................................................................................................ii
Abstract.......................................................................................................................................................8
Chapter One................................................................................................................................................9
1.1 Introduction of the whole project process............................................................................................9
1.2 Background of Arba Minch town Municipality....................................................................................10
1.3.Background of the Project...................................................................................................................10
1.4. Statement of the Problem..................................................................................................................11
1.5.Objectives of the project.....................................................................................................................12
1.5.1 General objectives........................................................................................................................12
1.5.2 Specific objectives.........................................................................................................................12
1.6.Feasibility Analysis...............................................................................................................................12
1.6.1.Technical Feasibility......................................................................................................................13
1.6.2.Operational Feasibility..................................................................................................................13
1.6.3. Economic Feasibility....................................................................................................................13
1.6.3.1.Tangible benefits...................................................................................................................13
1.6.3.2.Intangible benefits.................................................................................................................14
1.6.4.Political feasibility.........................................................................................................................14
1.6.5.Schedule feasibility.......................................................................................................................14
16.5.1Schedule......................................................................................................................................15
1.7 Scope of the Project.........................................................................................................................15
1.8.Significance of the Project...................................................................................................................16
1.9Target Beneficiaries of the System.......................................................................................................17
1.10.Methodology for the project.............................................................................................................17
1.11 Fact finding technique...................................................................................................................17
1.11.1.Interview:-..............................................................................................................................17
1.11.2.Observations:-........................................................................................................................17
1.11.3 Document Analysis............................................................................................................18
1.12Systems Analysis and Design..............................................................................................................18
1.13Development Tools.............................................................................................................................18
2.6.2.1.Input......................................................................................................................................25
2.6.2.2.Output...................................................................................................................................25
2.6.3. Security and Controls...................................................................................................................25
2.6.4.Efficiency.......................................................................................................................................25
2.7.Practices to be preserved....................................................................................................................26
2.8.Proposed solution for the new system that address problems of the existing System.......................26
2.9.Requirements of Proposed System.....................................................................................................26
2.9.1 Functional Requirements..............................................................................................................26
2.9.1.1 Process Requirements...........................................................................................................26
2.9.1.2 .Output Related Requirement...............................................................................................27
2.9.1.3.Storage Related Requirements..............................................................................................27
2.9. Non Functional Requirements........................................................................................................27
2.9.2.1.Performance Requirements...................................................................................................27
2.9.2.2.User Interface........................................................................................................................27
2.9.2.3 Security and Access Permission.............................................................................................28
2.9.2.4 Backup and Recovery.............................................................................................................28
Chapter Three............................................................................................................................................29
System Analysis.........................................................................................................................................29
3.1 Introduction.........................................................................................................................................29
3.2 System Requirement Specifications (SRS)............................................................................................29
3.2.1 Hardware Requirements...............................................................................................................29
3.2.2 Software Requirements................................................................................................................29
3.3 Use Case Diagrams..........................................................................................................................30
3.2.2 Use case Documentation (for each use case identified)...............................................................30
Sequence diagram......................................................................................................................................45
Activity diagram........................................................................................................................................57
Class level diagram................................................................................................................................65
User interface prototype........................................................................................................................66
3.2.7 .Supplementary specification...........................................................................................................67
List of Tables
TABLE 1 TEAM COMPOSITION....................................................................................................................................10
TABLE 2. GANTT CHART SCHEDULE...........................................................................................................................14
TABLE 3.TARGET BENEFICIARIES...............................................................................................................................16
DEVELOPMENT TOOLS................................................................................................................................................19
TABLE 4 DEVELOPMENT TOOLS..................................................................................................................................19
TABLE 5 HARDWARE COST........................................................................................................................................19
TABLE 6 SOFTWARE COST..........................................................................................................................................19
TABLE 7 SUMMARY OF THE DEVELOPMENT COST......................................................................................................20
TABLE 3.1 USE CASE DOCUMENTATION FOR LOGIN..................................................................................................30
TABLE 3.2 MANGE LAND USE CASE............................................................................................................................31
TABLE 3.2 USE CASE DOCUMENTATION FOR HOUSE MANAGEMENT.........................................................................32
TABLE 3.4 USE CASE DOCUMENTATION FOR POST INFORMATION.............................................................................34
TABLE 3.5 USE CASE DOCUMENTATION FOR MANAGE LAND....................................................................................35
TABLE 3.6 USE CASE DOCUMENTATION FOR HOUSE MANAGEMENT.........................................................................38
TABLE 3.12 USE CASE DOCUMENTATION FOR VIEW INFORMATION..........................................................................43
LIST OF FIGURES
FIGURE 3.1 USE CASE DIAGRAM................................................................................................................................30
FIGURE 3. 2 SEQUENCE DIAGRAM FOR LOGIN............................................................................................................45
FIGURE 3.3: SEQUENCE DIAGRAM FOR MANAGE LAND.............................................................................................46
FIGURE 13.6: SEQUENCE DIAGRAM FOR MANAGE HOUSE..........................................................................................49
FIGURE 3.9: SEQUENCE DIAGRAM FOR UPDATE INFORMATION..................................................................................52
FIGURE 3.10: SEQUENCE DIAGRAM FOR VIEW INFORMATION....................................................................................53
FIGURE 3.14: ACTIVITY DIAGRAM FOR LOGIN...........................................................................................................57
FIGURE 3.15: ACTIVITY DIAGRAM FOR MANAGE LAND.............................................................................................58
FIGURE 3.18: ACTIVITY DIAGRAM FOR MANAGE INFORMATION................................................................................61
FIGURE 3.19: ACTIVITY DIAGRAM FOR POST INFORMATION......................................................................................62
FIGURE 3.20: ACTIVITY DIAGRAM FOR VIEW INFORMATION......................................................................................63
FIGURE3.21: ACTIVITY DIAGRAM FOR UPDATE INFORMATION...................................................................................64
FIGURE 3.22 CLASS DIAGRAM..................................................................................................................................65
FIGURE 3.23 USER INTERFACE PROTOTYPE................................................................................................................66
Abstract
Municipalities give different kind information’s for citizens and manage common resources
within town and provide reliable information for citizens. Actually a citizen wants to get
important information about the town, in order to do this the citizen should go to municipal
office and collect the necessary information, and after that they can able to get access of the
organization. This is not an easy to get the services in the municipality. For that purpose we will
develop this web based municipality information management system for Arba Minch town. It
gives detail information about city building detail, house details, Residentinformation, Register
resident, Request and Generate for birth and Death certificate, Request for land and house and it
stores this all data in to system database.
Chapter One
Currently our world is highly concentrated in using Information technology products because
today availability of internet access is increasing and this also leads the world to use Information
technology products so we are aimed to make Arba Minch town municipality part of this
technology and by developing web based system that improve the overall performance,
consistency, security and efficiency of the organizations data. This project is proposed to give
many services for the municipality customers and organizations employees.
Date
are living within the era of technology, we need to use computerized system to get more
knowledge. Generally, the problem which occurs in Arba Minch town municipality such as
difficulty to manage the information, difficulty of easily accessing the current information about
the municipality, problem of giving systematic service to the customers, difficulty to notice thus
old way of managing data or no well-organized data about the customer and availability of
information in the Arba Minch municipality. So to solve the above problem we proposed web
based Arba Minch town Municipality Information Management system.
Technical Feasibility
Operation Feasibility
Economic Feasibility
Schedule feasibility
Political/behavioral feasibility
1.6.3.1. Tangible benefits: - the municipality information management system has tangible
benefits in terms of saving resources that we spent for material like paper, pen due to an online
registration system.
1.6.3.2. Intangible benefits: - In this proposed system also intangible benefit like satisfaction of
the developer and the users.
16.5.1Schedule
Table 2. Gantt chart schedule
Gantt Chart Project Schedule
2 Requirement
Analysis
3 Design
4 Coding
&Implementation
5 Installation &
Testing
6 Project Closure
Keys
Data collection is one of the important tasks in determining and analyzing the existing system.
The data that need to develop the new system are obtained from Arba Minch town municipality
employers and manager of the organization
1.11.1. Interview:-To obtain basic information and background information about the existing
system, the team will interview the concerned bodies from Arba Minch municipality office
1.11.2. Observations:-To obtain necessary information the team members observed the existing
system that is important for analysis and design.
1.11.3 Document Analysis we have analyzed some documents from the Municipality office to
obtain business rule of the Organization
It creates an opportunity for the project team members to work closely with the system users
and develop an effective and efficient automated system.
It accelerates the requirement analysis and design phases through an iterative construction
approach.
Reduces the amount of time until the users begin to see a working system.
Part of the developed system phase will be available for comment by the users, where some
others are still on developing.
Reusability of resources is possible.
1.13Development Tools
1.13.1 Case Tools
This is a software programs that automate or support the drawing and analysis of system model
and provide for the translation of system model into application programs, so according to our
requirement we will use the case tools like MySQL SERVER 2008, C#asp.net, MS Project,
Edraw and the like.
maintenance activities. Object oriented feature reduce lines of code in addition to the advantage
we got by reduce overhead of maintenance cost.
Development Tools
Activities Tools/Programs
Platform MS Windows Version 7
Database server MySQLSERVER 2008
Coding language C#asp.net
Client browser
Documentation MS Word 2010
User Training and Presentation MS PowerPoint
Modeling and scheduling Edraw
User interface C# with ajax
Item * Price(ETB)
Windows 7 50.00
Microsoft office 2010 Free
MySQL Free
Edraw Max 7 Free
Visual studio Free
Adobe Photoshop 50.00
.NET frame work free
Total cost 100.00
Total 11,324.00
1.14.3.1. Unit testing: - Each module will be test separately and often performed by the
coder himself simultaneously along with the coding of the module. It is used to minimize the
load of debugging all the codes together by testing individually.
1.14.3.2. Integration Testing: - The modules will be gradually integrated into subsystems,
which are then integrated to eventually to the entire system. Integration testing will be done to
detect design errors by focusing on testing the interconnection between modules.
1.14.3.3System Testing: - After the system is put together, it will be performed. The system
will be tested against the system requirement to see whether the entire requirements meet and
whether the system performs as specified by the requirement.
1.14.3.4Acceptance Testing: - will be carried out by the by citizens to ensure that the
delivered system meets the requirement and works as the customer expected. It includes
1.14.3.5Alpha testing– it is the responsibility of the user to ensure that they accept the system
with sample data.
1.14.3.2 Beta testing– it is the responsibility of the user to ensure that they accept the system
with real data, not sample data to test data.
1.15Implementation (Parallel/Partial/Direct)
Regarding to implementation procedures, the team members suggest to use parallel
implementation approach in some days up to the users will be familiar with the new system
confidently. Ultimately, the existing system will be wholly substituted by the new system.
Parallel implementation helps us to go the old system and the new system simultaneously. If the
new system fails to operate, the old system will continue working with no fatal interruption.
1.16.1 Risk
Since the system is web based there may be risk of security problem. If a team member leave the
project or faces an issues.
1.16.2 Contingency
The team member covers all the activities by replacing the group member unable to go with us
doe to different member We will develop this system using three tire architecture no security
issue.
CHAPTER TWO
Municipality is one of the most important organizations for the development of the city. The
Arba Minch municipality is going to perform different tasks by organizing the municipality in to
many main departments and other supportive departments which are found in the municipality.
The municipality is aimed to give effective and efficient service for its customers. The current
existing system of Arba Minch municipality performs all the entire processes manually and there
is no any computerized system to do those tasks efficiently and effectively, so it is very difficult
to achieve these all tasks manually.
Giving land for the customers and controlling their overall activity for they should have to begin
their work as soon as they get acceptance. Give recognition for the owners of the land. Preparing
and providing land for micro enterprises and coordinating their work. Preparing and providing
land for governmental and non-governmental Organizations, religious institutions and for other
Organization that have important and efficient advantage for the country.
2.2.4. Resident
It is a person who is a resident in a specified town and who need to register on the system
database and get the necessary service he need and the resident may become an applicant
The main activities in the existing system are organizing and management of land and
land related issues, solving problems of the city by registering lands and houses found in
the city, view the different types of request sent by the resident and generating death and
birth certificate for residents.
Present evidence document from hospital, workers social affairs and court decision with
photograph
2.6.2.2. Output
If information is not properly organized and correct information is not available it’s very difficult
to display the required data.
2.6.4. Efficiency
In manual operation, most of the activities are prone to wastage of resources like papers,
manpower, time etc. to generate the corresponding outputs. This makes the current system
inefficient while utilizing resources. There should be a mechanism that reduce wastage of
resources and that make the system to be efficient.
2.8. Proposed solution for the new system that address problems of the
existingSystem
The new proposed system tries to address the problems of the existing system. Some of the
problems found in the existing system and this proposed system tries to solve these problems.
The proposed system makes all the activities in the municipality more effective.
The proposed system stores all the information about resident, land, and on separate
database rather than paper file.
Since this proposed system is web based application so it enables resident, investors, and
different users of the municipality to get access for the service through the internet.
It solves the resident’s problem by giving birth and death certificates according to their
request.
There is high availability which means the system is available all the time 24 /7
All registration process shall be easy and take minimum time.
The system is able to serve multiple users at a time without any damage.
Retrieving and searching information shall be effective and simple.
In the case of systems database failure, the system back up the database to recover all the
data from the reserved server.
In the case of power fluctuation use uninterruptable power supply (UPS) to control
power fluctuation.
Chapter Three
System Analysis
3.1 Introduction
Object oriented analysis describes the system from the actor point of view and serves as the
communication between the client and developer.
The team member used an object oriented methodology to analyze the requirements that
are needed to model the functionality of the proposed system. And also we have used different
types of UML diagrams which include use case diagram, sequence diagram, activity diagram,
user interface prototyping and analysis level class diagram to model the proposed system. Every
diagram has documentation to show their functionality and how they are operated. System
Requirement Specifications (SRS), Use case diagrams, Use case documentation (for each use
case identified), and Sequence diagram, Activity Diagram, User Interface and Prototyping.
manage user
account
view request
Adminstrator
update
information
Generate
Certificate
manage resident
manage land
information
Land Manager information
Description : This use case describes the process of managing and controlling the log
in process. To authenticate the user using valid username and password.
Typical case event : Actor Action System Response
Post condition : The user in the town must be on the control of law
Alternative courses: Post condition is not succeeding, and then the system will display an
error message and return back to check the existence of pre-condition.
Precondition: The request type the Administrator want to view present on the data base
Post condition : The request waits for system administratorvalidation
Alternative courses: Post condition is not succeeding, and then the system will display an
error message and return back to check the existence of pre-condition.
Precondition: The resident type the Administrator want to view present on the data
base
Post condition : The resident waits for system administer validation
Alternative courses: Post condition is not succeeding, and then the system will display an
error message and return back to check the existence of pre-condition.
Description : This use case describes the process of managing and controlling the houses that
are in the town.
Typical case event : Actor Action System Response
Pre-
Post condition : The house information store in the data base and information should display for
the user
Alternative courses: Post condition is not succeeding, and then the system will display an error
message and return back to check the existence of pre-condition.
Pre-
Step 4. The house managerwill view
the request Step 5.Use case end.
Sequence diagram
A sequence diagram in a unified modeling language (UML) is a kind of interaction diagram that
shows how processes operate with one another and in what order. A sequence diagram shows
object interactions arranged in time sequence. It depicts the objects and classes involved in the
scenario and the sequence of operations exchanged between the objects needed to carry out the
functionality of the scenario. Sequence diagrams typically are associated with use case
realizations in the Logical View of this web based system under development.
Check Invalid
resend
Valid
Include
Display()
Check Validity
Invalid
click register
form
Valid
Click submit
button
Include
Display()
secceful
Manage house Home Page security Database Web Page about municipality
Type of house
house
Admin
Click login
send login info
Check Validity
Invalid
manage citizen
information
resend
Display()
Include
Display()
Birth
birth day Home page security Database cerificate
certificate certificate
select certificate
Check Validity
Invalid type
click generate
Valid certificate
resend
Include
Display() successful
Interpreners
Register registration
Web page security Database Home page
Registratio Interpreners form
n Admin
Click login
send login info
Check Validity
Invalid
click register
form
resend
fill Interpriners
Valid information
select
interested in
group or
single
Include
Display()
secceful
View
Update home page security Database web page Update
information
Information
Administrator
Click login
send login info
Check Validity
Invalid
click update
Informaion
resend
click save button
Valid
seccessfully Updated
Include
Display()
Check Invalid
resend
Valid
Include View
information
Display()
ResidentRequest
Resident Actor page Requestcontroller ResidentPage
Resident Actor
Open
Fill Info()
Submit()
Invalid
Valid()
SuccessMesage
death
Home page security Database cerificate
death certificate certificate
Admin
Click login
send login info
select certificate
Check Validity
Invalid type
click generate
bill
Valid
resend
Include
successfully generated
Display()
select certificate
Check Validity
Invalid type
click generate
Valid certificate
resend
Include
Display() successful
Activity diagram
The purpose of the activity diagram is to model the procedural flow of actions that are part of a
larger activity. In the “Arba Minch municipality information management system” we have used
different activity diagrams to model Specific use case to describe a use case in better ways.
Web Page
Enter user
name and
password
Web Page
click on
Fill land Click register Successfully
Registerland
Information button registered
button
Enter user
name and
password
Web Page
click on
view House Manage House
Municipality
Details Information
House
Invalid Password
Enter user name and
check validation
password
Valid Password
Web Page
Invalid Password
Enter user name and
check validation
password
Valid Password
Web Page
View Information
Web Page
Click
Manage Urban Register Events In Update Urban
Information the City Information
*
Land Resident
Adminstrator 1 *
First Name:
User Name: Last Name:
Location: Age :
Password: landtype: Sex:
LAndCatagory: Marriage Status:
ownername: Citizen House Information:
login() kebele:
logout() Registration Date:
GenerateCetificate()
manageAccount() ViewLandRequest() RequestCertificate()
Viewresident() ViewResident() ViewInformation()
Uploadinformation() requestHouse()
1 1 ViewComment() RequestLand()
1 1 sendComment()
*
* *
House 1
Login
Certificate
Housetype
houselocation Password
User Name
birthcertificate
deathcertificate
RegisterHouse()
UploadInformation() login()
ViewComment() Resit()
ViewResident()
RequestBirthCertificate()
RequestDeathCertificate()
GenerateCertificate()
Municipality
Home page
login as login as
login as Land
login as Resident
House Manager
Adminstrator
Manager
manage land Manage
View Request manage Information Resident
house info
View Land Birth
View Resident Certificate
Request
View Request
House
Generate Birth View Death
Certificate Resident Certificate
View Request
land info
Generate Death View house View Resident
Certificate View information information
Resident
SignOut SignOut
SignOut Land Request
House Request
SignOut
The Supplementary Specifications capture the system requirements that are not readily captured
in the use cases of the use-case model. Such requirements include:-
Chapter Four
System Design
Introduction
This section consists of the design goals and proposed system model. Functional requirements
are grouped in such a way that they could be constructed as sub systems and the non-functional
requirements defined in the analysis are transformed into design goals.
Design goal
The new system is considered to be successful if it meets the following sets of criteria’s.
User Interface: The user interface of the system should be easy to use by each user of the system with
little training.
Documentation: System administrators and other users are provided with proper documentation about
the software’s features.
Performance: The system should be able to serve a number of users which are expected to access it
concurrently.
Error Handling and Extreme conditions: The system should be robust enough to handle error
conditions and continue with normal operations.
Availability: The system should be available at all times.
Security: The system should prevent the sensitive data from unauthorized access.
Modifiable: The system should be designed in Object Oriented language so that modification to some
part of the system could not affect other parts.
Class type architecture provides a strategy for layering the classes of the system to distribute the
functionality of the software among classes. Furthermore, class type architectures provide
guidance as to what other types of classes a given type of class will interact with, and how that
interaction will occur. This increases the maintainability and portability of the system
Process Layer
System Layer
Domai n Layer
Data Source
Domain layer
This layer is used to transfer data from application layer or presentation layer to data layer. This
layer is also used when a class variables are declared corresponding to the fields of the database
which can be required for the application and make the properties. So that, the team can gets or
sets the data using these properties into the variables.
Persistence layer
This layer encapsulates the capability to store, retrieve, and delete objects/data permanently
without revealing details of the underlying storage technology. This layer is also a class to get or
set data to the database queries back and forth.
System layer
This Layer provides operating-system-specific functionality for our applications, isolating our
software from the operating system (OS) by wrapping OS-specific features, increasing the
portability of our application.
inter use
click login Web Page
rname and is correct
button UR
password
incorrect
username and
password
Enter Click
Web page Correct
Home page Click login UserName and Is Correct RegisterLand Fill Land Info
<<UI>>
Password Button
Incorrect Click
UserName and Register
Password Button
Successfully
Registered
Enter
Web page Click Manage Register
Home page Click Login UserName Is Correct
UR house Button House Info
and Password
Incorrect
Incorrect
UserName and
enter again Password
Successfully
Registered
Enter Account
Web page Click Manage Modify
Click login Username and Is Correct Managed
UR Account Account
password Successful y
Incorrect
UserName and
Password
birthday
Incorrect certificate
Incorrect deathcertificate
Collaboration Diagram
This is used to show some data flows between objects and the interaction caused between them.
Some of the data flows among objects were explained below.
Enter log in
Return
Click Message
login ReturnInfo
Message
User Web page Security
Return Message
Validate
En
te
rA
ga
in
Return Message
Database
Return Message
Valid
Click View
Information
Return Message web page
View Information
<<UI>>
Enter log in
Administrator Click login Home Page Info Security
Validate
Database
successfully
Valid Managed
Web Page
<<UI>>
click generate birthday
certificate
successfully
generated generate birthday
birthday crtificate
certificate
Figure 4.13: Collaboration Diagram for generate certificate for birth day
Enter log in
Administrator Click login Home Page Info Security
Validate
Database
successfully
Valid Managed
Web Page
<<UI>>
click generate death
certificate
successfully
generated generate death
death certificate
certificate
Enter log in
Click login Info
House Manager Home Page Security
Validate
Database
Valid
Web page
<<UI>>
View Citizen
Check House Information
Type Of House information Municipality House
Enter log in
Click login Info
Administrator Home Page Security
Validate
Database
successfully
Valid
Managed
Web Page
Click Manage
Account
Enter log in
Return
Click Message
login ReturnInfo
Message
User Home Page Security
Return Message
Validate
Valid
Click View
Information
Return Message web page
View Information
<<UI>>
Component Modeling
In this modeling components of the system will be wired showing that there is relation among
components, this in some extent shows which components or objects will be accessed by whom.
The diagram is simulated below.
post
information
security
<<infrustruc
System ture>>
Administrator search info
Manage persistence
Citizen Account <<infrustruct
ure>>
Generate
Certificate
Municipality
<<DB>>
Request
Certificate
citizen
registration
Deployment Model
Deployment modeling used to show the hardware of the system, the software that is installed in
the hardware and also the middleware that is used to connect the disparate machines to one and
other. It also shows how the software and the hardware components work together.
Resident
registratio
system n
Security
Administra
tor
search Info
Municipali
Land ty
Manager Database
generate
certificate
House
Manager Manage
Account
Resident request
certificate
manage
land and
house
Persistence Model
Final Year Project Page 81
Municipality Information Management System for Arba Minch Town
1 *
* Username
Password
1
1
1 * * *
* 1 1 1 Comment
House *
Land
*
HID
OFirstname LID CID
OlastName OwnerFname Name
OwnerKebele OwnerLname From
Housetype Ownerkebele To
houselocatio landCategory Subject
Status landlocation message
Electricconnectivity Registrationdate date
Registrationdate purpose
Status
USER INTERFACE
HOME PAGE
LOGIN PAGE
ADMIN PAGE
Resident registration
Chapter Five
Introduction
Implementation refers to the Coding of the all documents gathered starting from requirement analysis to
the Design phase. So now the team is in a position of converting all documents gathered and designed
into the code as a system. So that the system will be implemented for the user to be used for the purpose
it developed. To implement it the user must have a server on which the system will be hosted because this
system can run on intranet site with connection availability with the Ethernet system.
Coding
The physical design specification created by the designers is turned in to working computer code.
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
using System.IO;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
using System.Security.Cryptography;
publicpartialclassLogin : System.Web.UI.Page
{
SqlConnection conn = newSqlConnection("Data Source=.\\SQLEXPRESS;AttachDbFilename=|
DataDirectory|\\Municipality.mdf;Integrated Security=True;User Instance=True");
publicvoid Page_Load(object sender, EventArgs e)
{
if (Request.QueryString["var"] == "Admin")
{
Lnksignup.Enabled = false;
}
Session["s"] = Request.QueryString["var"];
}
privatestring Encrypt(string clearText)
{
string EncryptionKey = "MAKV2SPBNI99212";
byte[] clearBytes = Encoding.Unicode.GetBytes(clearText);
using (Aes encryptor = Aes.Create())
{
Rfc2898DeriveBytes pdb = newRfc2898DeriveBytes(EncryptionKey, newbyte[] { 0x49, 0x76,
0x61, 0x6e, 0x20, 0x4d, 0x65, 0x64, 0x76, 0x65, 0x64, 0x65, 0x76 });
encryptor.Key = pdb.GetBytes(32);
encryptor.IV = pdb.GetBytes(16);
using (MemoryStream ms = newMemoryStream())
{
using (CryptoStream cs = newCryptoStream(ms, encryptor.CreateEncryptor(),
CryptoStreamMode.Write))
{
cs.Write(clearBytes, 0, clearBytes.Length);
cs.Close();
}
clearText = Convert.ToBase64String(ms.ToArray());
}
}
return clearText;
}
Response.Redirect("newuser.aspx");
}
protectedvoid LnkChange_Click(object sender, EventArgs e)
{
Response.Redirect("ChangePassword.aspx");
}
if (Request.QueryString["var"] == "Admin")
{
conn.Open();
SqlCommand cmd = newSqlCommand("select * from admin where username='" + Login1.UserName +
"' and Password='" + Login1.Password + "' ", conn);
SqlDataReader dr = cmd.ExecuteReader();
if (dr.Read() == true)
{
Response.Redirect("Admin.aspx");
}
dr.Close();
conn.Close();
}
if (Request.QueryString["var"] == "LandManager")
{
conn.Open();
SqlCommand cmd = newSqlCommand("select * from newuser where username='" + Login1.UserName
+ "' and Password='" + Login1.Password + "' and userstatus='LandManager'", conn);
SqlDataReader dr = cmd.ExecuteReader();
if (dr.Read() == true)
{
Response.Redirect("LandManagerMain.aspx");
}
dr.Close();
conn.Close();
if (Request.QueryString["var"] == "HouseMnager")
{
conn.Open();
SqlCommand cmd = newSqlCommand("select * from newuser where username='" + Login1.UserName
+ "' and Password='" + Login1.Password + "' and userstatus='HouseMnager'", conn);
SqlDataReader dr = cmd.ExecuteReader();
if (dr.Read() == true)
{
Response.Redirect("HouseManagermain.aspx");
}
dr.Close();
conn.Close();
}
if (Request.QueryString["var"] == "Resident")
{
conn.Open();
SqlCommand cmd = newSqlCommand("select * from newuser where username='" + Login1.UserName
+ "' and Password='" + Login1.Password + "' and userstatus='Resident'", conn);
SqlDataReader dr = cmd.ExecuteReader();
if (dr.Read() == true)
{
Response.Redirect("ResidentMain.aspx");
}
dr.Close();
conn.Close();
}
}
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
publicpartialclassNewuser : System.Web.UI.Page
{
SqlConnection conn = newSqlConnection("Data Source=.\\SQLEXPRESS;AttachDbFilename=|
DataDirectory|\\Municipality.mdf;Integrated Security=True;User Instance=True");
protectedvoid Page_Load(object sender, EventArgs e)
{
user.Text = Session["s"].ToString();
}
}
if (user.Text == "HouseManager")
{
Response.Redirect("Login.aspx?var=HouseManager");
}
if (user.Text == "Resident")
{
Response.Redirect("Login.aspx?var=Resident");
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
using Microsoft.Reporting.WebForms;
using System.Windows.Forms;
publicpartialclassGenerateBrithCertificet : System.Web.UI.Page
{
if (Session["new"] == null)
{
//Response.Redirect("Login.aspx");
}
Response.ClearHeaders();
Response.AddHeader("Cache-Control", "no-cache, no-store, max-age=0, must-
revalidate");
Response.AddHeader("Pragma", "no-cache");
e.Row.Cells.Clear();
TableCell tableCell = newTableCell();
tableCell.ColumnSpan = 4;
tableCell.Font.Bold = true;
tableCell.HorizontalAlign = HorizontalAlign.Center;
tableCell.Text = "Total family member Count=" + employeeCount.ToString();
e.Row.Cells.Add(tableCell);
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
using Microsoft.Reporting.WebForms;
using System.Windows.Forms;
publicpartialclassGenerateDeathCertificet : System.Web.UI.Page
{
SqlConnection conn = newSqlConnection("Data Source=.\\SQLEXPRESS;AttachDbFilename=|
DataDirectory|\\Municipality.mdf;Integrated Security=True;User Instance=True");
SqlDataAdapter da = newSqlDataAdapter();
BindingSource bs = newBindingSource();
DataSet ds = newDataSet();
string connn = ConfigurationManager.ConnectionStrings["ConnectionString2"].ToString();
protectedvoid Page_Load(object sender, EventArgs e)
{
SqlConnection conn = newSqlConnection("Data Source=.\\SQLEXPRESS;AttachDbFilename=|
DataDirectory|\\Municipality.mdf;Integrated Security=True;User Instance=True");
conn.Open();
string checkuser = "select count(*) from request where reason='not seen'";
SqlCommand com = newSqlCommand(checkuser, conn);
int temp = Convert.ToInt32(com.ExecuteScalar().ToString());
conn.Close();
if (temp >= 1)
{
Button4.Text = temp.ToString();
}
if (Session["new"] == null)
{
//Response.Redirect("Login.aspx");
}
Response.ClearHeaders();
Response.AddHeader("Cache-Control", "no-cache, no-store, max-age=0, must-
revalidate");
Response.AddHeader("Pragma", "no-cache");
e.Row.Cells.Clear();
TableCell tableCell = newTableCell();
tableCell.ColumnSpan = 4;
tableCell.Font.Bold = true;
tableCell.HorizontalAlign = HorizontalAlign.Center;
tableCell.Text = "Total family member Count=" + employeeCount.ToString();
e.Row.Cells.Add(tableCell);
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
using Microsoft.Reporting.WebForms;
using System.Windows.Forms;
publicpartialclassGenerateDeathCertificet : System.Web.UI.Page
{
SqlConnection conn = newSqlConnection("Data Source=.\\SQLEXPRESS;AttachDbFilename=|
DataDirectory|\\Municipality.mdf;Integrated Security=True;User Instance=True");
SqlDataAdapter da = newSqlDataAdapter();
BindingSource bs = newBindingSource();
DataSet ds = newDataSet();
string connn = ConfigurationManager.ConnectionStrings["ConnectionString2"].ToString();
protectedvoid Page_Load(object sender, EventArgs e)
{
SqlConnection conn = newSqlConnection("Data Source=.\\SQLEXPRESS;AttachDbFilename=|
DataDirectory|\\Municipality.mdf;Integrated Security=True;User Instance=True");
conn.Open();
string checkuser = "select count(*) from request where reason='not seen'";
SqlCommand com = newSqlCommand(checkuser, conn);
int temp = Convert.ToInt32(com.ExecuteScalar().ToString());
conn.Close();
if (temp >= 1)
{
Button4.Text = temp.ToString();
}
if (Session["new"] == null)
{
//Response.Redirect("Login.aspx");
}
Response.ClearHeaders();
Response.AddHeader("Cache-Control", "no-cache, no-store, max-age=0, must-
revalidate");
Response.AddHeader("Pragma", "no-cache");
e.Row.Cells.Clear();
TableCell tableCell = newTableCell();
tableCell.ColumnSpan = 4;
tableCell.Font.Bold = true;
tableCell.HorizontalAlign = HorizontalAlign.Center;
tableCell.Text = "Total family member Count=" + employeeCount.ToString();
e.Row.Cells.Add(tableCell);
}
}
Black box testing: -To test our system, the tester may use black box testing, if he/she has not
enough time to check internal modules or codes. By looking only input/output or user interface,
the tester can test our systems functionalities without looking the internal code. We used this
testing technique for the following reasons:-
In this type of testing, skilled man in different programming languages tries to test the logic of
our system. If the person who tests the system is not skilled, it is difficult to understand our
systems functionality. If any failures occur while testing the system in all of the above testing
methods, the team will take immediate correction where this fault occurred before jumping to
next work. So, that it will meet the goal.
Unit Testing:-
Every module of the System is separately tested. I.e. the team tests every module by applying some
selection mechanism. Through this mechanism every modules gets tested. If an error occurs
correction will be taken without affecting another module.
Integrated Testing: -
In this testing part, all the modules will be combined together and tested it for its fitness with each
other and with the systems functionality. If error occurs in combining them, the module with problem
will be identified and recombined.
Test case
Test Case 1: Login
Test case description: user enters Username and Password, then presses login button. Client
program contacts with server, server contacts with the database, and database checks for
authentication and displays user page.
Test Environment: Sql server must be in running state, Database Should contain appropriate
table and link must be established between server and client program.
Test Setup/Pre-Conditions: Sql server should be in running state and User name and
Password fields should be filled correctly.
If user name and password are not filled correctly the system display to fill the user name and
password again.
Authentication login
Age(Valid , empty)
Empty register id and all others Any valid data for the other
“Error: id is required”
filled and Click submit button fields
Enter all valid filled And Empty Any valid data for the other “Error:Kebele is
Kebele and Click submit button fields Kebele = “ ” required.”
Enter all valid fields And Empty Any valid data for the other “Error: Phone No is
Phone No and Click submit button fields Phone No = “ ” requried.”
Enter all valid fields And Empty Any valid data for the other “Error: Age is requrid.”
Age and Click submit button fields Age = “ ”
Hardware Tools:-
Computers
Network connection
Software Tools
Notepad++
E-draw Max
MYSQL SERVER 2008
Microsoft Windows
Microsoft-Office 2010
Visual Studio 2010
C# with Asp.net
5.5 Training
During the deployment of the system, the project group members will give short time training for the
system administrators and clerks explaining how the system works and in what way they can manage the
system developed.
5.6 Installation
Since the project is a web based System, there is no need to install it on a particular machine rather it will
be hosted on a server.
Chapter 6:
6.1Conclusions
This is a system development project which two phases; the first phase deals with the analysis
phase of the life cycle, and the next phase addresses the Design phase. As the end of the first
phase, we need to review that we have covered in accordance with what we have planned at the
beginning. We began our work by identifying the significance of automated system for the store
and the overall techniques to be used in the development process. This involved defining the
system development methodology, identifying process, and setting the deliverable and scheduled
for the project. The business area Analysis helps the team to truly understand the major
functional areas and processes of the system. Through this we evaluate the existing system
weakness and strength. After that, we performed requirements elicitation to discover user and
system requirements. This phase consisted of drawing the functional as well as non-functional
requirements of the system. Then we have undertaken a major phase in system development
process: object oriented Analysis. Here, we tried to model the new system we proposed using
UML diagrams: Use case, sequence, and activity and class diagrams. Also we designed the new
system user interface prototype.
6.2 Recommendation
The need for transformation of organizational practice from manual system to computerized
system is felt all over the world for various reason discussed in chapter 1 and chapter 2.
Technology is surely the key component of all future organizational success and efficiency. But
we need to rethink how we use such technology within the environment which is not easily
adopted with. However, the literature throws light in several challenges in the integration of
technology for municipality information management appealing to those residents who may
literate or illiterate, and not to others. Therefore there should studies: on how to motivate all
residents as well as administrators at data base to adopt innovative and creative that will help the
acquire skills interact with the proposed system. The system that we are designed to implement
does not include or perform other functionality, so other project team who are interested can
build similar system with additional feature and more functionality.
Reference
http://msdn.microsoft.com/en-us/library/dd409393.aspx