1.1 Purpose
1.1 Purpose
Introduction
The Workers Bulk is a website which is helpful in providing services to the user. It is based
on the concept of one platform and five services. The services are respectively plumber,
painter, carpenter, electrician, laundry. These people are required in one’s daily life so this
website with easy user interface provides these people in just one click approach.
1.1 Purpose
The purpose of this document is to propose a website with an idea of helping those people
who are in need of worker in their daily life by searching them through this website. Need of
plumber, carpenter, electrician, painter etc. can arise any time and hence this website helps to
get them in easy way.
1.2 Objectives
The objective of this application is to avoid the traditional way of searching labours on road
or asking other people for making contact with them. This website will help user to get a trust
worthy labour by their own. This features completely removes the traditional way of getting
labours.
1.3 Scope
The website is going to be used by any user who is in urgent need of labour by searching the
worker such as plumber, painter, carpenter, electrician or laundry on the website and they
will get them in their desired location. As it is a website it only needs an internet connection
and has no operating system disadvantage which is why it’s scope is very high.
The existing system of searching labour is very difficult as people roam outside to find the
worker and there is no assurity that they will get good and trust worthy labour. Also there is
no website created yet which provides five essential labours on the same site.
1.4.2 Limitations
In existing system, people find different labours by either asking other people or go to market
to find them and then educate the labour for their home location to repair stuffs with no
guarantee that they will be trust worthy or they will repair the stuff correctly. The current
system also doesn’t include any such website creation which helps people to make it easy for
them. Hence existing system has many limitations.
1
1.5 Proposed System
Our website tries to cover all the queries of user i.e. we will provide a better environment to
search desired worker just by using our domain URL and they will be directed to home
page where the workers link will be available. They just have to click on any of the option
such as plumber, painter, carpenter, electrician, laundry. Following services are also available
in our website:
1. The workers can get themselves registered on our website through the registration
page whose link will be provided on our home page as Register as Worker.
2. Searching the worker can be done by clicking on any of the workers option and he
will be directed to the searching page where user will click on the desired location and
the list along with contact numbers of the workers will be displayed on the same page.
In our system the user range is not restricted one, any internet accessing user can take the
advantages of the website by simply searching it’s name on any of their browsers in which
they are comfortable. The website is not restricted in terms of user that is worker to register
or customer to search them.
2
Chapter-2
The existing system of searching labour is very difficult as people roam outside to find the
worker and there is no assurity that they will get good and trust worthy labour. Also there is no
website created yet which provides five essential labours on the same site.Existing system is
manually done because of costly approach of time and hence doesn’t satisfy the customer to an
extent. So existing system had the need to be changed.
Limitations of existing system is that in this world of digitalization this searching of worker is
still done manually which is inefficient. people find different labours by either asking other
people or go to market to find them and then educate the labour for their home location to
repair stuffs with no guarantee that they will be trust worthy or they will repair the stuff
correctly. The current system also doesn’t include any such website creation which helps
people to make it easy for them. Hence existing system has many limitations.
The scope of existing system is therefore very less because everything is done manually by the
user with less security that is less trust on labours.
2.3 Technologies
As we see, it is a website so there is no limitation of which operating system to use, only the
appearance may vary but accessing the website is same.
2.4 Tools
3
Chapter-3
The existing system has various issues which is the reason for creation of this website. The
existing system of searching labour is very difficult as people roam outside to find the worker
and there is no assurity that they will get good and trust worthy labour. Also there is no
website created yet which provides five essential labours on the same site.Existing system is
manually done because of costly approach of time and hence doesn’t satisfy the customer to an
extent. The current system also doesn’t include any such website creation which helps people
to make it easy for them. Hence existing system has many limitations.
In our proposed system, we have tried to overcome the drawbacks of existing system. In our
Workers Bulk website we have given an easy user interface which helps the customer to search
the labours easily through one click approach. There is an interface given to the workers of the
given category to register. We work accordingly on the basis of our customer feedback and
look forward to see only the best responses and customer satisfaction.
The functional requirements of our Workers Bulk website according to module is as follows:
Register as a worker.
Add work field.
Give feedback.
Contact us for querry.
4
Registration Page
Users can register themselves for new account for using web
Purpose site.
Input Data first name, last name, mobile number, field, location.
Post-conditions Worker has to keep the given mobile phone number on.
Alternative Flow(s) Invalid information input: User will be asked for recheck.
Table-1
5
3.3.2 Standards Compliance
There shall be consistency in variable names within the system. The graphical user
interface shall have a consistent look and feel.
3.3.3 Reliability
Specify the factors required to establish the required reliability of the website at time of
delivery.
3.3.4 Availability
The system shall be available always, anytime, anywhere.
3.3.5 Maintainability
The Workers Bulk uses various technologies that uses object oriented approach which shall
serve maintainability.
3.3.6 Portability
The website can run only desktop and hence no disadvantages of portability problem. Only
the browser with internet access should be allowed.
6
3.4 Use Case Model
Use Case Diagrams describe what a system does from the viewpoint of an external observer.
The emphasis is on what a system does rather than how. Use Case Diagrams are closely
connected to scenarios. A scenario is an example of what happens when someone interacts
with the system.
Goals of an Actor –
Actors must be able to make decisions. Their behaviour does not change. The main task of
the Actors is to interact with the system itself.An actor represents a role that an outsider takes
on when interacting with the system.
7
3.4.2 Use Case Specification
The use case specification is typically created in analysis and design phase in an iterative
manner.
To get the required worker user must click on the given location
Post-conditions and then get list.
Basic Flow List of workers are displayed once the location is chosen
Table-2
8
3.4 Activity Diagram
Activity diagram is basically a flowchart to represent the flow from one activity to another
activity. The activity can be described as an operation of the system.
The control flow is drawn from one operation to another. This flow can be sequential,
branched, or concurrent. Activity diagrams deal with all type of flow control by using
different elements such as fork, join, etc
9
3.5 Class Diagram
The class diagram is the main building block of object-oriented modelling. It is used
for general conceptual modelling of the systematic of the application, and for detailed
modelling translating the models into programming code. Class diagrams can also be
used for data modeling. The classes in a class diagram represent both the main
elements, interactions in the application, and the classes to be programmed.
10
Chapter-4
Architectural Designs
A data flow diagram (DFD) maps out the flow of information for any process or system. It
uses defined symbols like rectangles, circles and arrows, plus short text labels, to show data
inputs, outputs, storage points and the routes between each destination. Data flowcharts can
range from simple, even hand-drawn process overviews, to in-depth, multi-level DFDs that
dig progressively deeper into how the data is handled.
11
4.1.1.1 Level 0 DFD
A level 0 data flow diagram (DFD), also known as a context diagram, shows a data system as
a whole and emphasizes the way it interacts with external entities. This DFD level 0 example
shows how such a system might function within a typical retail business.
12
4.2 Data Model
A data model (or datamodel) is an abstract model that organizes elements of data and
standardizes how they relate to one another and to properties of the real world entities. For
instance, a data model may specify that the data element representing a car be composed of a
number of other elements which, in turn, represent the color and size of the car and define its
owner.
The term data model is used in two distinct but closely related senses. Sometimes it refers to
an abstract formalization of the objects and relationships found in a particular application
domain, for example the customers, products, and orders found in a manufacturing
organization. At other times it refers to a set of concepts used in defining such formalizations:
for example concepts such as entities, attributes, relations, or tables. So the "data model" of a
banking application may be defined using the entity-relationship "data model". This article
uses the term in both senses.
Fig 5 ER Diagram
13
4.2.2 Database Design
Database design involves the tables which are involved in the whole project and following is
the list of tables which we have used.
Table-3
4.2.3 Normalization
Database normalization, or simply normalization, is the process of restructuring a relational
database in accordance with a series of so-called normal forms in order to reduce data
redundancy and improve data integrity. It was first proposed by Edgar F. Codd as an integral
part of his relational model.
When an attempt is made to modify (update, insert into, or delete from) a relation, the
following undesirable side-effects may arise in relations that have not been sufficiently
normalized:
Update anomaly. The same information can be expressed on multiple rows; therefore
updates to the relation may result in logical inconsistencies.
Insertion anomaly. There are circumstances in which certain facts cannot be recorded at all.
For example, each record in a "Faculty and Their Courses" relation might contain a Faculty
ID, Faculty Name, Faculty Hire Date, and Course Code.
Deletion anomaly. Under certain circumstances, deletion of data representing certain facts
necessitates deletion of data representing completely different facts.
14
Chapter-5
HTML:
Hypertext Markup Language (HTML) is the standard markup language for creating web
pages and web applications. With Cascading Style Sheets (CSS) and JavaScript, it forms a
triad of cornerstone technologies for the World Wide Web.[4] Web browsers receive HTML
documents from a web server or from local storage and render the documents into multimedia
web pages. HTML describes the structure of a web page semantically and originally included
cues for the appearance of the document.
CSS:
Cascading Style Sheets (CSS) is a style sheet language used for describing the presentation of
a document written in a markup language.[1] Although most often used to set the visual style
of web pages and user interfaces written in HTML and XHTML, the language can be applied
to any XML document, including plain XML, SVG and XUL, and is applicable to rendering
in speech, or on other media. Along with HTML and JavaScript, CSS is a cornerstone
technology used by most websites to create visually engaging webpages, user interfaces for
web applications, and user interfaces for many mobile applications.
JAVASCRIPT:
Back End:-
JAVA:
15
alternative implementations of these Sun technologies, such as the GNU Compiler for Java
(bytecode compiler), GNU Classpath (standard libraries), and IcedTea-Web (browser plugin
for applets).
The latest version is Java 10, released on March 20, 2018, which follows Java 9 after only
six months in line with the new release schedule.
MYSQL:
In the front end design we have used the combination of HTML, CSS , JavaScript, in website
this languages are fairly useful for developing web application for every web enabled device,
CSS is used not only for page formatting but it is also applied in the project to gain
responsive.
The back-end of the project is written in JAVA, for optimizing purpose we have blended all
of it’s features to make our web app work sufficiently fine.
For running the application on every screen sized web enabled device we have used the
combination of HTML, CSS and JavaScript, Bootstrap at front-end.
We have a stronger side on back-end as we have used PHP framework which makes our
project not only secured to SQL injection attacks but also reduced the complexity for any
further incremental changes to the project.
5.4.1 NetBeans
16
5.5 Interface Development
5.5.1 Screenshots
17
Fig 8 Registration form
18
Fig 10 About Us
19
5.5.2 Screenshot Description
5.5.2.1 Home page
This screenshot shows the home page of the website which has link for worker’s registration
,about us page and home itself. It also includes the link to search for plumber, painter,
carpenter, electrician, laundry. It also has the slider of various images of workers.
5.5.2.2 Feedback entry on home page
This screenshot is of the home page in which the customers as well as the workers can give
feedback about their experience while accessing the website which is stored and viewed in
about us page.
5.5.2.3 Registration form
This screenshot is of the registration page on which the workers of various fields can register
themselves and this registration page involves fields like first name,last name,contact
number, field of expertise and location where they are able to go.
5.5.2.4 Searching page
This screenshot involves the searching page which has firstly the links to go back to home
page, register as worker page, about us page. It also includes location field in which the
customer wants the workers available and on clicking the submit button a list of those
workers are displayed.
5.5.2.5 About us
This screenshot involves the about us page which tells about the creator of the website and
also the way to make contact the creator of website.
5.5.2.6 Feedbacks are displayed
This screenshot shows the about us page in which the feedback given by various users such
as workers and the customers accessing the website are showed.
20
5.6 Coding
5.6.1 Code for worker
<div id="searchdiv" >
Search for Location:
<form action="#" method="POST">
<select name="loc">
<option value="Vijaynagar">Vijaynagar</option>
<option value="LIG">LIG</option>
<option value="Palasia">Palasia</option>
</select>
<input type="submit" value="Submit">
</form>
</div>
<%
String place=request.getParameter("loc");
if(place!=null)
{
%>
<div id="view">
<table>
<thead>
<tr>
<th>First Name</th>
<th>Last Name</th>
<th>Mob_no</th>
</tr>
</thead>
<tbody>
<%
ArrayList list=new ArrayList();
Logic l=new Logic();
21
list=l.getDataBasePlumber(place);
Iterator it=list.iterator();
while(it.hasNext())
{
%>
<tr>
<td><% out.println(it.next());%></td>
<td><% out.println(it.next());%></td>
<td><% out.println(it.next());%></td>
</tr>
<% } %>
</tbody>
</table>
</div>
<% } %>
</div>
22
5.6.2 Logic Code
public class Logic
{
String str;
public ArrayList getDataBasePlumber(String str)
{
this.str=str;
ArrayList arr=new ArrayList();
try { Class.forName("com.mysql.jdbc.Driver");
Connection con = DriverManager.getConnection(
"jdbc:mysql://localhost:3306/rishabh_r","root","rishabh123");
PreparedStatement s=con.prepareStatement("select fname,lname,mob_no
from minor.plumber where location=?");
s.setString(1, str);
ResultSet rs=s.executeQuery();
while(rs.next())
{ arr.add(rs.getString(1));
arr.add(rs.getString(2));
arr.add(rs.getString(3));
}
s.close();
con.close();
} catch (ClassNotFoundException e)
{
e.printStackTrace();
}catch(SQLException e)
{
e.printStackTrace();
}
return arr;
}
}
23
Chapter-6
Testing
6.2 Integration Testing - After adding all the modules we have also done the testing forthe
Basic Flow of the application and it is working fine. However, we are still testing all the
Alternative Flows of the application as it is growing.
6.3 System Testing –Platform independency is tested using this testing and the result isfound
that the Web Portal is working fine with any desktop environment and optimization is needed
for mobile environment.
Registration
Test Case 3
Table-4
Feedback
Test Case 3
Table-5
24
Chapter-7
Conclusion
Workers Bulk is developed using Java language that fully meets the objective of the system
for which it has been developed. The system is developed at high level of efficiency and all
the user associated with the system understands its advantage. The system solves the
problem which usually occurs while searching for a worker appropriately that is availability
problem. Usually this website, can help the user to add worker, search worker, so as to get the
labour for a particular field and for particular location.It also gives interface to user such as
customer and worker to put their experiences as feedback so that the problems coming while
searching can be resolved and amore flexible User Interface can be designed to grow it’s use
worldwide.
25
References
26
Bibliography
1) www.W3Schools.com
(For HTML,CSS, MySQL references)
2) www.tutorialspoint.com
(For HTML,CSS, Java, MySQL references)
3) www.youtube.com
(For HTML,CSS, Java, MySQL references)
4) www.google.com
(For Coding using Java)
27