Professional Documents
Culture Documents
CHAPTER 1
1. INTRODUCTION
The main aim of developing this website is to provide blood to the people who are in
need of blood. The number of persons who are in need of blood are increasing in large
number day by day. Using this website user can search blood group available in the city and
the user can also get contact number of the donor who has the same blood group were user
needs. In order to help people who are in need of blood, this Coimbatore Blood Bank Website
can be used effectively for getting the details of available blood groups and user can also get
contact number of the blood donors having the same blood group and within the same city.
So if the blood group is not available in the blood bank user can request the donor to donate
the blood to him and save someone life. Using this website people can register himself or
herself who want to donate blood. To register in the website they have to enter their contact
information like name, address, mobile number etc.
A person want to donate blood user have to register to the website. Donor registration
is very easy, to get register to the system user have to fill up registration form. After
submitting the registration once blood is needed user will be contacted by the person who is
in need of the particular blood. Donor have to give information like blood group, contact
details etc. Using this website people can search blood group available which they are
needed.
1.1 OVERVIEW
The main aim of this website is to build a solution for growing requirement of blood
due to accidents and various health issues, This provide blood donor details to the people who
are in need of blood. Blood requirement are large in number which increasing day by day.
Using this system user can search blood group available in the city and one can also get
contact number of the donor who has the same blood group user needs. Donors are provided
with registration process to maintain their information for future donations as well as to make
their information available to search. This details will be stored in back-end database. This is
totally targeted for immediate use. The donors can update their status after donating the
blood.
1.2 OBJECTIVE
The project is programmed in order to help the humans or patients who are seeking
for blood at particular location. This PHP project is designed in such a way that it keeps
detailed information as well as separate information of all the locations where blood is
available and what kind of blood is available.
The website does not store blood but is stores the information about the blood or more
precisely we can say it store the information or database of the blood available in a particular
location. Because there was a time when some needs bloods in urgent, then this website
proved it is best option.
The website is basically an E-information site for getting the information for the
blood availability in an particular arena.
MODULES
Home
Search donor
Donor registration
About blood donation
Contact us
CHAPTER 2
2. SYSTEM SPECIFICATION
RAM : 2GB
Hard Disk : 1 TB
IDE : XAMPP
HTML
Webpages are usually viewed in a web browser. They can include writing, links,
pictures, and even sound and video. HTML is used to mark and describe each of these kinds
of content so the web browser can show them correctly.
HTML can also be used to add meta information to a webpage. Meta information is
information about the web page. For example, the name of the person who made it. Meta
information is not usually shown by web browsers.
Cascading Style Sheets (CSS) and JavaScript can be included in HTML code. CSS is
used to change how a webpage looks. JavaScript is used to add features to webpages and
make them more interactive.
HTML was made by the World Wide Web Consortium (W3C). There are many
versions of HTML. The current standard is HTML 4.01. So, it is the version the W3C
recommends. A newer version, called HTML5, will become standard within the next few
years. The W3C also develops XHTML. This is another mark-up language which is very
similar to HTML, but very strict.
JAVA SCRIPT
JavaScript runs on the client side of the web, which can be used to design or program
how the web pages behave on the occurrence of an event. JavaScript is an easy to learn and
also powerful scripting language, widely used for controlling web page behaviour. Contrary
to popular misconception, JavaScript is not "Interpreted Java". In a nutshell, JavaScript is a
dynamic scripting language supporting prototype based object construction. The basic syntax
is intentionally similar to both Java and C++ to reduce the number of new concepts required
to learn the language. Language constructs, such as if statements, for and while loops,
and switch and try ... catch blocks function the same as in these languages.
PHP
PHP stands for Hypertext Preprocessor. PHP scripts run inside Apache server or
Microsoft IIS. PHP and Apache server are free. PHP code is very easy. PHP is the most used
server side scripting language. PHP files contain PHP scripts and HTML. PHP files have the
extension “php”, “php3”, “php4”, or “phtml”.
Using PHP
Generate dynamic web pages. PHP can display different content to different user or
display different content at different times of the day.
Process the contents of HTML forms. We can use a PHP to retrieve and respond to
the data entered into an HTML form.
Can create database-driven web pages. A PHP can insert new data or retrieve existing
data from a database such a MySQL.
Working of PHP
PHP is a standard HTML file that is extended with additional features. Like a standard
HTML file, PHP contains HTML tag that can be interpreted and displayed by a web browser.
Anything we could normally place in an HTML file Java applets, Blinking text, server side
scripts .we can place in PHP. However, PHP has two important features that make it unique.
MYSQL
MySQL Server is a powerful database management system and the user can create
application that requires little or no programming. It supports GUI features and an entire
programming language, Phpmyadmin which can be used to develop richer and more
developed application. There are quite a few reasons, the first being that MySQL is a feature
rich program that can handle any database related task you have. You can create places to
store your data build tools that make it easy to read and modify your database contents, and
ask questions of your data. MySQL is a relational database, a database that stores information
about related objects. In MySQL that database means a collection of tables that hold data. It
collectively stores all the other related objects such as queries, forms and reports that are used
to implement function effectively.
The MySQL database can act as a back end database for PHP as a front end, MySQL
supports the user with its powerful database management functions. A beginner can create
his/her own database very simply by some mouse clicks. Another good reason to use
MySQL as backend tool is that it is a component of the overwhelmingly popular Open source
software.
CHAPTER 3
3. SYSTEM STUDY
People who are in need of blood should call the hospital or blood bank for donors by
searching the records of previous donors. This process is very difficult.
3.1.1 DRAWBACKS
Requires manpower
Extra clerical work
Error handling is not efficient
More paper work
Time consuming
The proposed blood donation website helps the people who are in need of blood by
giving them all the details of blood group availability or regarding the donors with same
blood group. It is difficult to do it manually, so now the website will be accessed by the
people (user) directly.
The Information of blood is catered and the same can be accessed by anyone,
anywhere at any time.
The information within our site can be quickly accessed.
The site will be kept updated to extend the latest information to users about the blood
donors.
Intimation on unavailability of donor will also be displayed.
Easy to use the website to get information about the donor and easy to operate.
CHAPTER 4
4. SYSTEM DESIGN
System design is the process of planning a new system or to replace the existing system.
Simply, system design is like the blueprint for building, it specifies all the features that are to
be in the finished product. The model should be structured and cover the entire system
development process from feasibility study to programming, testing and implementation.
The model should utilize established methods and techniques like database designs,
normalizations and structured programming techniques.
Documentation should be a direct result of the development work and should be
concise, precise and as non-redundant as possible.
Based on the above requirements of the system design, the input design, data modeling, input
and output screen design, report design and database design are made.
A data flow diagram is graphical tool used to describe and analyse movement of data
through a system. These are the central tool and the basis from which the other components
are developed. The transformation of data from input to output, through processed, may be
described logically and independently of physical components associated with the system.
These are known as the logical data flow diagrams. The physical data flow diagrams show
the actual implements and movement of data between people, departments and workstations.
A full description of a system actually consists of a set of data flow diagrams. Using two
familiar notations Yourdon, Gane and Sarson notation develops the data flow diagrams. Each
component in a DFD is labeled with a descriptive name. Process is further identified with a
number that will be used for identification purpose. The development of DFD’S is done in
several levels. Each process in lower level diagrams can be broken down into a more detailed
DFD in the next level. The lop-level diagram is often called context diagram. It consists a
single process bit, which plays vital role in studying the current system. The process in the
context level diagram is exploded into other process at the first level DFD. The idea behind
the explosion of a process into more process is that understanding at one level of detail is
exploded into greater detail at the next level. This is done until further explosion is necessary
and an adequate amount of detail is described for analyst to understand the process. Larry
Constantine first developed the DFD as a way of expressing system requirements in a
graphical from, this lead to the modular design.
A DFD is also known as a “bubble Chart” has the purpose of clarifying system requirements
and identifying major transformations that will become programs in system design. So it is
the starting point of the design to the lowest level of detail. A DFD consists of a series of
“Bubbles” joined by data flows in the system.
The relation upon the system is structure through a conceptual ER-Diagram, which
not
only specifics the existential entities but also the standard relations through which the
system
exists and the cardinalities that are necessary for the system state to continue.
The entity Relationship Diagram (ERD) depicts the relationship between the data
objects.
The ERD is the notation that is used to conduct the date modeling activity the
attributes of
each data object noted is the ERD can be described resign a data object descriptions.
The set of primary components that are identified by the ERD are
Data object
Relationships
Attributes
Various types of indicators.
The primary purpose of the ERD is to represent data objects and their relationships.
The major inputs and outputs and major functions for online auction system are
follows:
Input design is a part of overall system design, which requires very careful attention. The
main objective during the input design is as given below:
This page helps the donor to register his details to donate blood and will be informed,
whenever the particular blood group is required. This form is user friendly and details are
taken to the backend from which it is brought back when required
CONTACT US MODULE
Here the user can clarify their queries and also can report if any inconvenience in this
website. It involves a contact form where the user can give his feedback about the website
and also can say about his experience of using this website.
The benefits of a database that has been designed according to the relational model
are numerous. Some of them are:
Outputs from computer system are required primarily to communicate the results of
processing to users. They are also used to provide a permanent hard-copy of the results
for later consultation. The various types of outputs in general are:
This page enables us to search the donor and blood requirements. The home page
consists of all other modules in the tab format and it also has the images of blood
donation. It has a link where it makes us to go to the registration page for easy access.
The search donor form has two dropdowns blood group . Blood group is used to select
the blood which is in need from the dropdown list and they can contacted for quick
process of blood arrangements.
5. SYSTEM TESTING
Test Case specification is major activity in the testing process. In this project, I have
performed two levels of testing.
CHAPTER 6
6. SYSTEM IMPLEMENTATION
During the software-testing phase each module of software is thoroughly tested for
bugs and for accuracy of output. The system developed is very user-friendly and the detailed
documentation is also given to the user as online help wherever necessary. The
implementation phase normally ends with the formal test involving all the components. The
entire system was developed using the CSS, HTML, JavaScript, Personal Web Server, and
MYSQL as back end. The HTML is used to design the web page. The Personal Web Server
is used to understand the client’s request and to send response to them. The JavaScript are
used for client-side validations so that the user can enter only appropriate input in the input
fields. The MYSQL is the back end tool where the database resides. Hence the design of the
entire system is user-friendly and simple the implementation has been quite easy.
CHAPTER 7
7. CONCLUSION
It has been a great pleasure for me to work on this exciting and challenging Blood
donation website project. This project proved good for me as it provided practical
knowledge of not only programming languages, but also back end database for storing data of
my website. Got a good knowledge in PHP, MYSQL, HTML, CSS, JavaScript and some
other backend applications like XAMPP. This helped me to design my website named
“COIMBATORE BLOOD BANK”. It also provides knowledge about the latest technology
used in developing web enabled application and client server technology that will be great
demand in future. This will provide better opportunities and guidance in future in developing
projects independently.
CHAPTER 8
8. FUTURE ENHANCEMENT
The “Coimbatore blood bank” is current developed using PHP, it can be future
enhance to AJAX, THE SYSTEM 2.0 or mobile applications for the system site
development. Currently it is implemented for user to just view details of user and it can be
future enhanced by giving many details of user.
In future I will create login for my users in the website and the same can be accessed
by anyone, anywhere at any time.
Blood need will be sent in messages to all the registered users.
The site will be kept updated to extend the latest information to users about the blood
donors.
This website can be accessed directly by the hospital organization for easy
arrangements of blood.
Easy to use the website to get information about the donor and in future the website
can be used by the people under their login where they can update their last blood
donation date, so that they will be available accordingly in the search.
BIBLIOGRAPHY
BOOKS
Horton, Sarah and Quesenbery, Whitney. Universal Design for Web Accessibility,
Rosenfeld Media, 2014
Sydik, Jeremy. Design Accessible Web Sites, Pragmatic Bookshelf, 2007.
Evans, Ralph M. An Introduction to Color. John Wiley and Sons, New York, 1948.
Briggs, Owen et al. Cascading Style Sheets: Separating Content from Presentation,
Second Edition, APress, 2004.
Casciano, Chris. The CSS Pocket Guide, Peachpit Press, 2010.
Powers, David. Adobe Dreamweaver CS5.5 Studio Techniques: Designing and
Developing for Mobile with jQuery, HTML5, and CSS3, Adobe Press, 2011.
Meiert, Jens Oliver. The Little Book of HTML/CSS Coding Guidelines, O'Reilly, 2015
Castro, Elizabeth and Hyslop. HTML5, and CSS, Eight Edition: (Visual QuickStart
Guide), Peachpit Press, 2013.
Crockford, Douglas. JavaScript: The Good Parts, O'Reilly & Associates, 2008.
Lerdorf, Rasmus. PHP Pocket Reference, O'Reilly, 2000.
Welling, Luke and Thomson, Laura. PHP and MySQL Web Development, Third
Edition, Sams, 2008.
WEBSITE
http://www.friends2support.org/
http://www.savelifeindia.org/
http://wikipedia.com/
http://www.XAMPP.com/
http://www.bloodbankindia.net/
APPENDICES
A. DATAFLOW DIAGRAM
Level 0 DFD
Level 1 DFD
WORKFLOW
DATABASE DESIGN
Donor_name Varchar2 30
Gender Varchar2 10
Age Integer 10
Blood_group Varchar2 10
Mobile_number Varchar2 10
Email_ID Varchar2 50
Address Varchar2 50
Password Varchar2 30
Last_donated_date Date
Name Varchar2 30
Email Varchar2 30
Phone Integer 10
SAMPLE CODINGS
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
</head>
<body>
<div class="header">
<div class="leftheader">
</div>
</div>
</div>
B.Sc. (SS) Page 24
COIMBATORE BLOOD BANK
<div class="body">
<?php
include "marque.php";
?>
</div>
<div class="centrebar">
<option value="A+">A+</option>
<option value="B+">B+</option>
<option value="AB+">AB+</option>
<option value="A1+">A1+</option>
<option value="A2+">A2+</option>
<option value="A1B+">A1B+</option>
<option value="O-">O-</option>
<option value="B-">B-</option>
<option value="A-">A-</option>
<option value="AB-">AB-</option>
</select></td></tr>
<br />
</table>
</form>
<div>
<p> </p>
<p> </p>
<p> </p>
</div>
</form>
<?php
if(isset($_POST["Submit"]))
$Email_ID=$_POST['Email_ID'];
$Last_donated_date=$_POST['Last_donated_date'];
?>
</div>
<div class="rightsidebar">
</div>
</div>
<font color="#000000">
<div class="footer1">
</ font>
</div>
</div>
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
</head>
<body>
<div class="header">
<div class="leftheader">
</div>
</div>
</div>
<tr><th>SNO</th><th>NAME</th><th>GENDER</th><th>AGE</th><th>BLOOD_GRO
UP</th><th>Mobile_number</th><th>Email_ID</th><th>Last_donated_date</th>
</tr>
<?php
if(isset($_POST["search"]))
$Blood_Group=$_POST['BLOOD_GROUP'];
else
while($a=mysql_fetch_array($s))
$sno=$a['sno'];
$Donor_name=$a['Donor_name'];
$Gender=$a['Gender'];
$Age=$a['Age'];
$Blood_group=$a['Blood_group'];
$Mobile_number=$a['Mobile_number'];
$Email_ID=$a['Email_ID'];
$Address=$a['Address'];
$Last_donated_date=$a['Last_donated_date'];
?>
</table>
<div align="right">
<p> </p>
<p> </p>
<p> </p>
</div>
</form>
<?php
if(isset($_POST["submit"]))
$sno=$_POST['sno'];
$Last_donated_date=$_POST['Last_donated_date2'];
?>
</div>
<font color="#000000">
<div class="footer1">
</font>
</div>
</div></strong>
</body>
</html>
<head>
</head>
<body>
<div class="header">
<div class="leftheader">
</div>
</div>
</div>
</div>
<div class="regbody">
<?php
include "marque2.php";
?></div>
<div class="regcentrebar">
<tr><td>Donor_name</td><td>
</tr>
<tr><td>Gender</td></tr>
<td>
<td>
<tr><td>Age</td><td>
<tr><td>Blood_Group</td><td><select name="Blood_Group">
<option value="A+">A+</option>
<option value="B+">B+</option>
<option value="AB+">AB+</option>
<option value="A1+">A1+</option>
<option value="A2+">A2+</option>
<option value="A1B+">A1B+</option>
<option value="O-">O-</option>
<option value="B-">B-</option>
<option value="A-">A-</option>
<option value="AB-">AB-</option>
</select></td></tr>
<tr><td>Mobile_number</td><td>
<tr><td>Email_ID</td><td>
<tr><td>Address </td><td>
<tr><td>Last_donated_date</td><td>
</table>
</form>
<?php
if(isset($_POST["submit"]))
$Donor_name=$_POST['Donor_name'];
$Gender=$_POST['Gender'];
$Age=$_POST['Age'];
$Blood_Group=$_POST['Blood_Group'];
$Mobile_number=$_POST['Mobile_number'];
$Email_ID=$_POST['Email_ID'];
$Address=$_POST['Address'];
$Last_donated_date=$_POST['Last_donated_date'];
mysql_query("insert into
blood(Donor_name,Gender,Age,Blood_group,Mobile_number,Email_ID,Address,Last_donat
ed_date)values('$Donor_name','$Gender','$Age','$Blood_Group','$Mobile_number','$Email_I
D','$Address','$Last_donated_date')")or die(mysql_error());
?>
</div>
<div class="rightsidebar">
</div>
</div>
<font color="#000000">
<div class="footer1">
</font>
</div>
</div>
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Requirements</title>
</head>
<body>
<div class="header">
<div class="leftheader">
</div>
</div>
</div>
</div><div class="amtbody">
<div><p> </p></div>
</div>
<font face="cursive"><br />Before you finalize any of the donors, run each donor through
"the vital 10" checklist.
<ol type="1"><li>The donor should not have donated blood in the last 3 months.</li>
<li>The donor should not have undergone any major surgery within 3 months.</li>
<li>The donor has not had alcohol 48 hours before the donation.</li>
<li>The donor should avoid smoking on the day of donation and 3 hours after donation.</li>
<li>The donor should disclose whether he is under any medication for malaria, jaundice,
etc.</li>
<li>The donor should not have had any tooth extraction in the past 2 weeks.</li>
<li>The donor should not have had any immunization at least one month before.</li></ol>
</div>
<div class="rightsidebar">
<div><p> </p></div>
</div>
</div>
<font color="#000000">
<div class="footer1">
</ font>
</div>
</div>
</body>
</html>
SMAPLE SCREENSHOTS
INPUT DESIGN
DATABASE DESIGN
OUTPUT DESIGN
TESTING