Untitled
Untitled
Untitled
INTRODUCTION
It consists of an application which is present on the donorssmart –phone and on blood bank
machine.The main aim is to provide fast and efficient way to gainattention of potential donors
in the need of hour.
ADMIN
The admin can manage the following modules from the admin control panel. The
system admin should enter the username and password to authenticate the admin panel. The
admin can view the details of blood group. The system admin can also manage the donor list.
DONOR
The user of the application can login into the account. The account was activated by
system admin. The module is also contains user login form and user data form. The user
module is used to know the how to become a donor, blood details and the contact information.
BLOODBANK
Theadmin can able to view the information about the donor. The admin can also manage the
request for the blood. The admin can also update the information about blood.
SYSTEM REPORT
The system report module is used to generate the system report from the admin panel.
The system report is generated as PDF format.
2. SYSTEM CONFIGURATION
BACK-END : MYSQL
The PHP Hypertext Processor (PHP – yes, the first “P” in the acronym does indeed
stands for PHP!) Allows web developers to create dynamic content that interacts with
database. PHP application is normally on Linux server and conjunction with MYSQL
database. It provides those servers with functionality similar to that provide to the window
platform by Active server pages technology.
PHP FILES
ADVANTAGESOF PHP
WEB WORKERS
Certain web applications use heavy scripts to perform functions. Web Workers use
separate background threads for processing and it does not affect the performance of a web
page.
VIDEO
You can embed video without third-party proprietary plug-ins or codec. Video
becomes as easy as embedding an image.
CANVAS
This feature allows a web developer to render graphics on the fly. As with video,
there is no need for a plug in.
APPLICATION CACHES
Web pages will start storing more and more information locally on the visitor's
computer. It works like cookies, but where cookies are small, the new feature allows for
much larger files. Google Gears is an excellent example of this in action.
RELOCATION
Best known for use on mobile devices, relocation is coming with HTML5.
CSS 3
Cascading Style Sheet is a style sheet language used for describing the presentation
semantics (the look and formatting) of a document written in a mark-up language. Its most
common application is to style web pages written in HTML and XHTML.CSS3 is
completely backwards compatible, so you will not have to change the existing designs.
Browsers will always support CSS2.Many of the new CSS3 properties have been
implemented in modern browsers. Eventually, CSS 3 along with HTML5 are going to be the
future of the web.
OVERVIEW OF THE BACK – END:
MYSQL
“MYSQL” the most popular „open source‟ SQL database management system is
developed, distributed and supported by „MYSQL „AB‟.‟MYSQL AB‟ is a commercial
company, founded by the MYSQL developers that build its business by providing services
around the „MYSQL‟ database management system.
To add, access, and process data store in a computer database, you need a database
management system such as „MYSQL „server. Since computer are very good at handling
large amount of data, database, management systems play a central role in computing, as
stand-alone utilities or as part of other application.
You can find a performance comparison of „MYSQL‟ server with other database managers on
their benchmark page. ‟MYSQL‟ was originally developed to handle large database much faster than
existing solution and has been successfully use in highly demanding production environments for several
year
3. SYSTEM ANALYSIS
In any web development, bugs are inevitable. Let it be in any kind of product bugs
arise at any phase of development. One has to take a great care in the proper maintenance and
resolution of the bugs. In the Existing system, the bugs are not properly maintained and they
are simply relied on shared lists and email to monitor the bugs. In this type of system it
becomes difficult to track, a bug if a bug is over looked then it may because tremendous
errors in the next phase and can improve the cost of project whatever necessary effort spent
on the bug maintenance may not be worthy. Therefore, bug history has to be maintained
properly. In addition, there is no efficient search technique.
One has to search the whole database for the details of particular bug, which might have
occurred sometime earlier. It is both time consuming and error prone. In addition, it is very
difficult to share the bug among several users, as there is no proper maintenance of the bugs.
In order to have an efficient product bugs must be maintained properly and should be
resolved in time both to reduce time and money spent on the development.
So much time consuming this application also one machine and one by one record 9-
stored.
In proposed system, the admin can maintain the internal and external database
6
4. SYSTEM DESIGN
7
4.2 ENTITY RELATIONSHIP DIAGRAM
Boxes are commonly used to represent entities. Diamonds are normally used to represent
relationships and ovals are used to represent attributes.
An ERD is a conceptual and representational model of data used to represent the entity
framework infrastructure.
ER DIAGRAM SYMBOLS
ATTRIBUTE
ENTITY
RELATIONSHIP
8
ER DIAGRAM
Username ID
0 1
Admin
Password BloodGr
Blood group oup
Posting
Date
1 1
ID
Has
Donor
FullName
MobileNumber
EmailId
Gender
1
Age ID
Contact
Information Address
BloodGroup
EmailId
Address
ContactNo
Message
PostingDate
9
4.3 DATAFLOW DIAGRAM
May be used as a communications tool between a systems analyst and any person who
plays a part in the system.
10
DATA FLOW DIAGRAM
LEVEL 0
LOGIN
ADMIN
Manage Blood Admin Login
LEVEL 1
Admin
Panel
ADMIN
Donor Details Donor Table
Contact
Information
Contact
information Table
Manage
Contact us
query
11
LEVEL 2
LOGIN
USER
Login User Table
Become a
donor Donor Table
Contact
Contact
information Table
Information
12
4.4 INPUT DESIGN
The Input design is the process of entering data to the system. The input design goal is to
enter to the computer as accurate as possible. Here inputs are designed effectively so that
error made by the operations are minimized. The inputs to the system have been designed in
such a way that manual forms and the inputs are co -ordinate where the data elements are
common to the source documents and to the input. The input is acceptable and
understandable by the users who are using it.
The quality of the system input determiners the quality for system output. Input
specification describes the manner in which data entered the system processing.
Input design is the process of converting user - oriented inputs to a computer – based
format input data are collected and organized into group of similar data. Once identified
appropriate input media are selected for processing.
The input design also determinate the user to interact sufficiently with the system.
Input design is a part of overall system design that requires special attention because it is the
common source for data processing error. The goal of designing input data is to make entry
easy and from errors.
13
Registration page:
14
Registration filling:
15
4.5 OUTPUT DESIGN
The output design was done so that result of processing could be communicate to the
users. The various output have designed in such a way that they represent the same format
that the office and management.
Computer output is the most important and direct source of information to the user
efficient intelligible output design should improve the system relationship with the user and
help in decision making. A major form of output is hardcopy form the printer.
Output requirements are designed during system analysis. A good starting point for
the output design is the data flow diagram (DFD). Human factors issues for design involves
addressing internal controls to ensure readability.
Search donor:
16
Donor list:
17
Manage blood group:
18
4.6 DATABASE DESIGN
The database design is a two level process. In the first step, user requirements are
gathered together and a database is designed which will meet these requirements as clearly as
possible. This step is called Information Level Design and it is taken independent of any
individual DBMS.
In the second step, this Information level design is transferred into a design for the
specific DBMS that will be used to implement the system in question. A database design runs
parallel with the system design. The organization of the data in the database is aimed to
achieve the following two major objectives.
Data Integrity
Data independence
DATABASE NORMALIZATION
19
TABLE DESIGN
Table design is the process of the producing a detailed data model of a database. This
logical data model contains all the needed logical and physical design choices and physical
storage parameters needed to generate a design in a data definition language, which can then
be used to create a database fully attributed data model contains detailed attributes for each.
The term database design can be used to describe many different parts of the design of
an overall database system. Principally, and most correctly, it can be thought of as the logical
design of the vase data structure used to store the data. In the relation model these are the
table and views. In an object database the entities and relationship map directly to object
classes and named relationships.
20
Table Name : tbbloodgroup
Primary Key : id
21
Table Name : tbblooddonars
Description : Donor Details.
22
Table Name : tbcontactusinfo
Primary Key : id
23
5. SYSTEM TESTING AND IMPLEMENTATION
The testing phase is responsible for ensuring that the system performs the way that the
detailed design documentation specifies. Testing involves testing of developed system using
various test data. Preparation of test data plays a vital role in system testing. After preparing
the test data, the system under study was tested using those test data. During this stage, the
errors are detected and corrected.
Before implementation, the proposed system must be tested with raw data to ensure
that the modules of the system work correctly and satisfactorily. The system must be tested
with valid data to achieve its objective.
Testing is vital to the parts of the system are correct; the goal will be successfully
achieved. Inadequate testing or non-testing leads to errors that may not appear until this
months later.
This time lag between the cause and appearance of the problem.
The effort of system errors on files and records within the system. A small system
error can conceivably exploded into much larger problem. Effectively early in the
process translates directly into long term cost savings from a reduced number of
errors.
24
BLACK BOX TESTING
Functional or Black box testing is from where the tests are derived from the program
specification. Interface testing where the tests are derived from the specifications plus
knowledge of its internal interfaces. This type of testing is particularly important for object
oriented system.
Project Aspect:
In this project the system is a black box whose behavior can only be determined by
studying its inputs and the related outputs. The testing process is derived from the program
specification.
By the use of these techniques the missing functions are identified and placed in their
positions.
The errors in the interfaces were identified and corrected.
This technique was also used to identify the initialization and determination errors and
correct them.
Password=”$$$$”
25
Table Name : Donor Details
MobileNo=”8344436231”
Email=”[email protected]”
Gender=”Male”
Age=”23”
Blood Group=”o+”
Message=”Available”
MobileNo=”8344436231”
Email=”[email protected]”
Gender=”Male”
Age=”23”
Blood Group=”o+”
Message=”Available”
26
Table Name : Contact query Details
Name=”Naveen”
Contact No=”8344436231”
Name=”Naveen”
Contact No=”8344436231”
Contact No=” ”
Message=” ”
27
WHITE BOX TESTING
Also known as glass box, structural, clear box and open box testing. Software testing
techniques whereby explicit knowledge of the internal working of the item being tested are
used to select the test data. Unlike black box testing, white box testing uses specific
knowledge of programming code to examine outputs.
Project Aspect:
The test is accurate only if the tester knows what the program is supposed to do. He or she
can then see if the program diverges from its intended goal. White box testing does not
account for errors caused by omission, and all visible code must also be readable. For a
complete software examination, both white box and black box tests are required.
By using this technique it was tested that all the individual logical paths were
executed at least once.
All logical decision were tested on both their true and false sides.
All the loops were tested with the data in between the ranges and especially at the
boundary values.
28
UNIT TESTING
Unit tests perform basic test at component level and test a specific business process,
application, and /or system configuration. Unit tests ensure that each path of a business
process performs accurately to the documented specifications, functionality and contains
clearly defined inputs and expected results.
VALIDATION TESTING
Validation succeeds when the developed system functions as per the requirement of
the customer. Application validation is achieved through a series of black box that
demonstrate the conformity with the requirements. Deviations or errors in this steps are
corrected.
OUTPUT TESTING
Various outputs has been generated by the system. The system generated output and
the desk-calculated values have been compared. All the output is perfect as the company
desires. It begins with the low volumes of transactions based on live tone. The volume is
increased until the maximum level for each transaction type is reached. The total system is
also tested for recovery and fall back, after various major failures to ensure that no data are
lost during the emergency time.
INTEGRATION TESTING
Integration tests are done to test integrated application components were individually
satisfactory, as shown by successful unit testing; the combination of components is correct
and consistent.
System implementation is the stage of the project when the theoretical design is
turned into a working system. If the implementation stage is not correctly planned and
controlled, it can be choice. The following are the main stages in the implementation:
Planning
Training
Maintenance
29
PLANNING
Planning plays an important role in the implementation. The planning should face any
practical problems of controlling various activities of people out their own data processing
department.
TRAINING
Successful implementation needs trained computer staff. So some staff can teach them
about the computer implementation, which only then becomes a well-designed system.
MAINTENANCE
Maintenance involves recovery on crash such as the backups and the end user should
be given only executable format of the system.
30
6. SCOPE FOR FUTURE ENHANCEMENT
We can give more advance software for blood bank management system
including more facilities.
Create the master and slave database structure to reduce the overload of the
database queries.
Implement the backup mechanism for taking backup of codebase and database
on regular basis on different servers.
31
7. CONCLUSION
Our project is only a humble venture to satisfy the need to manage their project work.
Several users friendly coding have also adopted. This package is true to be a powerful
package in satisfying all the requirement of the school. The objective of the software
planning is to provide a frame work that enables the manager to make responsible estimates
made within a limited frame at the beginning of the software project and should be updated
frequently as the project progresses.
32
8. BIBLIOGRAPHY
33
9. APPENDICES
a) Screen shots
Home page
34
Donor registration
35
Donor list
36
b)Sample coding
Index.php:
<?php
error_reporting(0);
include('includes/config.php');
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
37
<style>
.navbar-toggler {
z-index: 1;
nav> .container {
width: 100%;
.carousel-item.active,
.carousel-item-next,
.carousel-item-prev {
display: block;
</style>
</head>
<body>
<?php include('includes/header.php');?>
38
<?php include('includes/slider.php');?>
<div class="container">
<div class="row">
<div class="card">
</div>
</div>
<div class="card">
39
<p class="card-text" style="padding-left:2%">Loremipsum dolor sit amet,
consecteturadipiscingelit, sed do eiusmodtemporincididuntutlabore et dolore magna aliqua.
</p>
</div>
</div>
<div class="card">
</div>
</div>
</div>
<div class="row">
<?php
$status=1;
$sql = "SELECT * from tblblooddonars where status=:status order by rand() limit 6";
$query->bindParam(':status',$status,PDO::PARAM_STR);
40
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
$cnt=1;
if($query->rowCount() > 0)
foreach($results as $result)
{ ?>
<div class="card-block">
</div>
</div>
</div>
<?php }} ?>
41
</div>
<div class="row">
<div class="col-lg-6">
<h2>BLOOD GROUPS</h2>
<p> blood group of any human being will mainly fall in any one of the following
groups.</p>
<ul>
</ul>
<p>A healthy diet helps ensure a successful blood donation, and also makes you feel better!
Check out the following recommended foods to eat prior to your donation.</p>
</div>
42
<div class="col-lg-6">
</div>
</div>
<hr>
<div class="col-md-8">
<p>
Type O individuals are often called "universal donors" since their blood can be transfused
into persons with any blood type. Those with type AB blood are called "universal recipients"
because they can receive blood of any type.</p>
</div>
<div class="col-md-4">
</div>
</div>
</div>
43
<?php include('includes/footer.php');?>
<scriptsrc="vendor/jquery/jquery.min.js"></script>
<scriptsrc="vendor/tether/tether.min.js"></script>
<scriptsrc="vendor/bootstrap/js/bootstrap.min.js"></script>
</body>
</html>
44