Blood Bank Management System
Blood Bank Management System
By
Bushra Rajpoot
(Registration No. 2521-316003)
2020
Bushra Rajpoot
(Registration No. 2521-316003)
Under The Guidance Of:
Sir Moiez
2020
BSCS
In Specialization
Computer Science
1
ACKNOWLEDGEMENTS 7
DECLARATION 7
3.About Project 7
3.1 Introduction 7
3.2 Need of Blood Bank Management System 8
3.3 Abstract 8
3.4 Benefits 9
3.5 Features: 9
3.5.1 Blood Camp Management And Reporting 9
3.5.2 Donor Management 9
3.5.3 Donor Test Results Management and Adverse Reaction Data Management 10
3.5.3.1 The results displayed in search is highly configurable 10
3.5.4 Blood Components Management 10
3.5.5 Patient Management System 11
3.5.6 Blood Issue and Billing 11
3.6 Applications: 11
3.7 OBJECTIVE: 11
2
4.2.2.3 c) Image tag (<img>) : 18
4.2.2.4 d) HTML Lists : 18
4.2.3 HTML 5 18
4.2.4 CSS 19
4.2.5 JAVASCRIPT 20
3
7.5 JAVASCRIPT 36
7.6 MySQL’s Logical Architecture 37
10 Module Description 46
10.1 Login: 46
10.1.1 Admin 46
10.1.2 User 46
10.2 Admin are of a two type: 47
10.2.1 Admin level user: 47
10.2.2 General level user: 48
10.3 Main Page: 48
10.3.1 Main Window:- 48
10.3.2 Registration Page: 49
4
10.3.3 Donor login:- 49
13.Complete Snapshots 62
13.1 Home page:- 62
13.2 Registration 63
13.3 Request For Blood 64
13.4 Camps 64
13.5 Donor Login 65
13.6 Search 66
5
13.7 Contact 67
13.8 Donor Panel 67
13.9 Change Password 68
13.10 Update Profile 68
13.11 Blood Donated 68
13.12 Admin Panel 69
13.13 Add user 69
13.14 Update User 70
13.15 Add City 70
13.16 Update City 71
13.17 Add Camp 71
13.18 Update Camp 72
13.19 Add State 73
13.20 Update State 73
13.21 View Blood Group 74
15.Future Recommendation 75
6
ACKNOWLEDGEMENTS
It is my pleasure to be indebted to various people, who directly or indirectly contributed in the
development of this work and who influenced our thinking, behavior, and acts during the
course of our training.
I express my sincere gratitude to Mr. Moiez, my mentor, guide and a great teacher who
influenced and inspired me in many ways.
Lastly, I would like to thank the almighty and my parents for their moral support and my
friends with whom I shared our day-to-day experience and received lots of suggestions that
improved our quality of work.
DECLARATION
We hereby declare that the project entitled “Blood Bank Management System” submitted for
the Bscs. Computer Science Degree is our original work and the project has not formed the
basis for the award of any degree, associate ship, fellowship or any other similar titles. It is
an authentic record of our own work carried out under the guidance of our Teacher Mr.
Moiez.
3.About Project
3.1 Introduction
The BLOOD BANK MANAGEMENT SYSTEM is a great project. This project is designed for
successful completion of projects on blood bank management systems. The basic building
aim is to provide blood donation service to the city recently. Blood Bank Management
System (BBMS) is a browser-based system that is designed to store, process, retrieve and
analyze information concerned with the administrative and inventory management within a
blood bank. This project aims at maintaining all the information pertaining to blood donors,
different blood groups available in each blood bank and helping them manage in a better
way. Aim is to provide transparency in this field, make the process of obtaining blood from a
blood bank hassle free and corruption free and make the system of blood bank management
effective.
The Blood bank system project report contain information related to blood like
• Blood type
7
• Date of Donation of blood
• validity of Blood s
• Available Blood group
• Blood Donor
• Equipment
• Stick
• Blood Recipient
• Blood collection
• Camp
• Stock details
• blood bank system project Reports
• Blood issued
• Blood bank system project
3.3 Abstract
Help Line is a voluntary and non-governmental organization. that maintains an Online library
of blood donors in India. Sometimes Doctors and Blood bank projects have to face the
difficulty in finding the blood group Donors at the right time. Help Line has attempted to
provide the answer by taking upon itself the task of collecting Blood bank projects nationwide
for the cause and care of people in need.
At any point of time the people who are in need can reach the donors through our search
facility. By mobilizing people and organizations who desire to make a difference in the lives
of people in need. On the basis of humanity, Everyone is welcome to register as a blood
donor.
Blood Bank Management System (BBMS) is a browser based system that is designed to
store, process, retrieve and analyze information concerned with the administrative and
inventory management within a blood bank. This project aims at maintaining all the
information pertaining to blood donors, different blood groups available in each blood bank
and helping them manage in a better way. Aim is to provide transparency in this field, make
8
the process of obtaining blood from a blood bank hassle free and corruption free and make
the system of blood bank management effective.
3.4 Benefits
This project aims at maintaining all the information pertaining to blood donors, different blood
groups available in each blood bank and helping them manage in a better way. Aim is to
provide transparency in this field, make the process of obtaining blood from a blood bank
hassle free and corruption free and make the system of blood bank management effective.
The Blood bank system project contain information related to blood like
• Blood type
• Donar details
• Requestor details
• Available Blood group
3.5 Features:
3.5.1 Blood Camp Management And
Reporting
• Provides recording of details of camp beginning from allocation of staff, details of
facilities available in the camp venue.
• Provides assigning of donor to a particular camp and generate camp organizer
report
• Automated report generation of camp details for submission to the Government
9
● All donor related reports are excel downloadable
● All Reports provide filtering over many factors like Blood Group, gender, area,
blood Camp, date of donation, donor type etc.
● The system provides easy link for easy edit or adding details for various
sections of the donor form
● During form filling, the system notifies the user how much percentage of donor
data has been updated
10
• The blood component issued, the payment made as well as link to the
final bill is available when the patient page is opened
• The data allows reports like: Issue Register, Reserved Units and Patient
Inventory Liste)
• The system allows for capturing transfusion reaction data
3.6 Applications:
This application is built in such a way that it should suit all types of blood banks in the future.
So every effort is taken to implement this project in this blood bank, on successful
implementation in this blood bank, we can target other blood banks in the city.
3.7 OBJECTIVE:
The main objective of this application is to automate the complete operations of the
blood bank. They need to maintain hundreds of thousands of records. Also searching should
be very fast so they can find required details instantly.
To develop a web-based portal to facilitate the coordination between supply and demand of
blood . This system makes conveniently available good quality, safe blood and other blood
components, which can be provided in a sound, ethical and acceptable manner, consistent
with the long-term well being of the community. It actively encourages voluntary blood
donation, motivates and maintains a well-indexed record of blood donors and educates the
community on the benefits of blood donation. This will also serve as the site for interaction of
best practices in reducing unnecessary utilization of blood and help the state work more
efficiently towards self-sufficiency in blood.
The system will provide the user the option to look at the details of the existing Donor List,
Blood Group and to add a new Donor. It also allows the user to modify the record. The
administrator can alter all the system data.
11
In network computing, front end can refer to any hardware that optimizes or protects network
traffic. It is called application front-end hardware because it is placed on the network's
outward-facing front end or boundary. Network traffic passes through the front-end hardware
before entering the network.
In compilers, the front end translates a computer programming source code into an
intermediate representation, and the back end works with the intermediate representation to
produce code in a computer output language. The back end usually optimizes to produce
code that runs faster. The front-end/back-end distinction can separate the parser section
that deals with source code and the back end that generates code and optimizes.
These days, front-end development refers to the part of the web users interact with. In the
past, web development consisted of people who worked with Photoshop and those who
could code HTML and CSS. Now, developers need a handle of programs like Photoshop
and be able to code not only in HTML and CSS, but also JavaScript or jQuery, which is a
compiled library of JavaScript.
Most of everything you see on any website is a mixture of HTML, CSS, and JavaScript,
which are all controlled by the browser. For example, if you’re using Google Chrome or
Firefox, the browser is what translates all of the code in a manner for you to see and with
which to interact, such as fonts, colors, drop-down menus, sliders, forms, etc. In order for all
of this to work, though, there has to be something to support the front-end; this is where the
backend comes into play.
12
A statement is either cached if the plugin is instructed to cache all statements globally using
a or, if the query string starts with the SQL hint (/*qc=on*/). The plugin is capable of caching
any query issued by calling appropriate API calls of any of the existing PHP MySQL
extensions.
13
sent from MySQL to PHP in its cache and replays it, if still valid, on a cache hit. This way, it
saves an extra serialization step for a cache put that all application based solutions have to
do. It can store the raw wire protocol data in the cache without having to serialize into a PHP
variable first and deserializing the PHP variable for storing in the cache a
14
4.2.1.1.2 Its Performance
While we can build an application that serves millions of pages a day on a server, when we
really look at the performance of the language it sucks. We are still orders of magnitude from
real performance. Not only that, but since PHP is designed around a single process model
our ability to share data structures or connection pool resources is left to native code
libraries.
There are many languages which are available at very less cost. There are some languages
which are available at very less cost like below:
• PHP
• C
• C++ etc
15
4.2.1.2.1 Basic PHP Syntax
A PHP scripting block always starts with <?php and ends with ?>. A PHP scripting block can
be placed anywhere in the document.
On servers with shorthand support enabled you can start a scripting block
with <? And end with ?>. However, for maximum compatibility, we recommend that you
use the standard form (<?php) rather than the shorthand form.
A PHP file normally contains HTML tags, just like an HTML file, and some PHP scripting
code.
4.2.2 HTML
HTML or HyperText Markup Language is the standard markup language used to create web
pages.
HTML was created in 1991 by Tim Berners-Lee at CERN in Switzerland. It was designed to
allow scientists to display and share their research.
HTML is written in the form of HTML elements consisting of tags enclosed in angle
brackets(like <html>). HTML tags most commonly come in pairs like <h1> and </h1>,
although some tags represent empty elements and so are unpaired, for example <img>. The
first tag in a pair is the start tag, and the second tag is the end tag (they are also called
opening tags and closing tags).
The purpose of a web browser is to read HTML documents and compose them into visible or
audible web pages. The browser does not display the HTML tags, but uses the tags to
interpret the content of the page. HTML describes the structure of a website semantically
along with cues for presentation, making it a markup language rather than a programming
language.
HTML elements form the building blocks of all websites. HTML allows images and objects to
be embedded and can be used to create interactive forms. It provides a means to create
structured documents by denoting structural semantics for text such as headings,
paragraphs, lists, links, quotes and other items. It can embed scripts written in languages
such as Java Script which affect the behavior of HTML web pages.
HTML is a descriptive markup language. Library of various markup languages is defined in
various browsers.
4.2.2.1 a) HTML Images - The <img> Tag and the Src Attribute
In HTML, images are defined with the <img> tag.
The <img> tag is empty, which means that it contains attributes only, and has no closing tag.
To display an image on a page, you need to use the src attribute. Src stands for "source".
The value of the src attribute is the URL of the image you want to display.
Syntax for defining an image:
<img src="url" alt="some_text">
16
The <form> tag is used to create an
HTML form:
<form>
.
input elements
.
</form>
An HTML form can contain input elements like text fields, checkboxes, radio-buttons, submit
buttons and more. A form can also contain select lists, textarea, fieldset, legend, and label
elements.
4.2.3 HTML 5
HTML5 will be the new standard for HTML. The previous version of HTML, HTML 4.01,
came in 1999. The web has changed a lot since then. HTML5 is still a work in progress.
However, the major browsers support many of the new HTML5 elements and APIs.
HTML5 is cooperation between the World Wide Web Consortium (W3C) and the Web
Hypertext Application Technology Working Group (WHATWG).
WHATWG was working with web forms and applications, and W3C was working with
17
XHTML 2.0. In 2006, they decided to cooperate and create a new version of HTML.
Some rules for HTML5 were established:
a) New features should be based on HTML, CSS, DOM, and JavaScript
b) Reduce the need for external plug-ins (like Flash)
c) Better error handling
d) More markup to replace scripting
e) HTML5 should be device independent
f) The development process should be visible to the public
4.2.4 CSS
CSS tutorial for CSS 3 tutorial provides basic and advanced concepts of CSS technology.
Our CSS tutorial is developed for beginners and professionals. The major points of CSS are
given below:
18
4.2.5 JAVASCRIPT
JavaScript (JS) is a dynamic computer programming language. It is most commonly used as
part of web browsers, whose implementations allow client-side scripts to interact with the
user, control the browser, communicate asynchronously, and alter the document content that
is displayed. It is also being used in server-side network programming (with Node.js), game
development and the creation of desktop and mobile applications.
JavaScript is a prototype-based scripting language with dynamic typing and has first-class
functions. Its syntax was influenced by C. JavaScript copies many names and naming
conventions from Java, but the two languages are otherwise unrelated and have very
different semantics. The key design principles within JavaScript are taken from the Self and
Scheme programming languages. It is a multi-paradigm language, supporting object-
oriented, imperative, and functional programming styles.
The application of JavaScript in use outside of web pages—for example, in PDF documents,
site-specific browsers, and desktop widgets—is also significant. Newer and faster JavaScript
VMs and platforms built upon them (notably Node.js) have also increased the popularity of
JavaScript for server-side web applications. On the client side, JavaScript was traditionally
implemented as an interpreted language but just-in-time compilation is now performed by
recent (post-2012) browsers.
JavaScript was formalized in the ECMA Script language standard and is primarily used as
part of a web browser (client-side JavaScript). This enables programmatic access to objects
within a host environment.
JavaScript is the most popular programming language in the world.
It is the language for HTML, for the Web, for computers, servers, laptops, tablets, smart
phones, and more.
You can use JavaScript to:
a) Change HTML elements
• Delete HTML elements
• Create new HTML elements
• Copy and clone HTML elements
19
information, ss such as their name, billing address, destination, etc, the web application
stores the information in a database that was created previously on the server in which the
website is calling for information.
The web application creates, deletes, changes, renames, etc items in the database. For
example, when a customer purchases a ticket, that creates an item in the database, but
when they have a change in their order or they wish to cancel, the item in the database is
changed.
.In short, when a customer wants to buy a ticket, the backend operation is the web
application communicating with the server to make a change in a database stored on said
server. Technologies like PHP, Ruby, Python, and others are the ones backend
programmers use to make this communication work smoothly, allowing the customer to
purchase his or her ticket with ease.
The third layer contains the storage engines. They are responsible for storing and retrieving
all data stored “in'' MySQL. Like the various file systems available for GNU/Linux, each
storage engine has its own benefits and drawbacks. The server communicates with them
through the storage engine API. This interface hides differences between storage engines
and makes them largely transparent at the query layer. The API contains a couple of dozen
low-level functions that perform operations such as “begin a transaction” or “fetch the row
that has this primary key.” The storage engines don’t parse SQL or communicate with each
other; they simply respond to requests from the server.
20
5.2.1.1 Introduction:
The database has become an integral part of almost every human's life. Without it, many
things we do would become very tedious, perhaps impossible tasks. Banks, universities, and
libraries are three examples of organizations that depend heavily on some sort of database
system. On the Internet, search engines, online shopping, and even the website naming
convention would be impossible without the use of a database. A database that is
implemented and interfaced on a computer is often termed a database server.
One of the fastest SQL (Structured Query Language) database servers currently on
the market is the MySQL server, developed by T.c.X. DataKonsultAB. MySQL, available for
download at www.mysql.com, offers the database programmer with an array of options and
capabilities rarely seen in other database servers. MySQL is free of charge for those wishing
to use it for private and commercial use. Those wishing to develop applications specifically
using MySQL should consult MySQL's licensing section, as there is a charge for licensing
the product.
However, perhaps the most interesting characteristic of all is the fact that it's free. That's
right, T.c.X offers MySQL as a free product to the general public.
21
5.2.1.3.3 C) High Availability
Rock-solid reliability and constant availability are hallmarks of MySQL, with customers
relying on MySQL to guarantee around-the-clock uptime. MySQL offers a variety of high-
availability options from high-speed master/slave replication configurations, to specialized
Cluster servers offering instant failover, to third party vendors offering unique high-availability
solutions for the MySQL database server.
22
• SQL functions are implemented using a highly optimized class library and should be as
fast as possible. Usually there is no memory allocation at all after query initialization.
• The server is available as a separate program for use in a client/server networked
environment.
5.2.2 WAMP:-
A. Install WAMP by double clicking on the icon, an installation wizard will be opened.
B. Click on the next button to continue , and then again a box will appear on the screen
asking you for acceptance or not acceptance of the license agreement.
C. For this select option “I accept the terms in the license agreement”. Click on the next
button.
D. Then again a wizard will be opened asking you about the location of placing the
folder. For selecting location click on browse and click next.
E. The next wizard will ask you about auto start the WAMP i.e. if you want to start the
WAMP automatically then click on the checkbox and if you do not want then it
remains unchecked.
F. Click on the next button to proceed further, the next wizard will display you the
summary of the setting . Click on the install button for installation.
G. After installation the next wizard will be opened asking you about the directory for
your root folder .If you are not sure , just leave the default directory for proceeding
further click on the next button.
H. The next wizard will ask you about your server, just fill localhost and click on the next
button.
I. The next wizard will appear on the screen asking you about the email address for
sending mails. Just leave the default email address if you are not sure. Click on the
next button.
J. This wizard will ask you about the browser. By default the browser is an internet
explorer. You can set the default browser according to your requirement .Click on the
next button.
23
K. On clicking next a popup menu will be displayed asking you “would you like to install
the new WAMP homepage ?” click on yes option.
Or
Visual Basic 2008 Express edition : With Sql Server Compact Edition
Microsoft SDK 3.0
24
Back End : MS Sql Server
7.DETAIL DESCRIPTION OF
TECHNOLOGY USED
PHP is now officially known as “PHP: Hypertext Preprocessor”. It is a server-side scripting
language usually written in an HTML context. Unlike an ordinary HTML page, a PHP script is
not sent directly to a client by the server; instead, it is parsed by the PHP binary or module,
which is server-side installed. HTML elements in the script are left alone, but PHP code is
interpreted and executed. PHP code in a script can query databases, create images, read
and write files, talk to remote servers – the possibilities are endless. The output from PHP
code is combined with the HTML in the script and the result sent to the user’s web-browser,
therefore it can never tell the user whether the web-server uses PHP or not, because the
entire browser sees it as HTML.
PHP’s support for Apache and MySQL further increases its popularity. Apache is now the
most-used web-server in the world, and PHP can be compiled as an Apache module.
MySQL is a powerful free SQL database, and PHP provides a comprehensive set of
functions for working with it. The combination of Apache, MySQL and PHP is all but
unbeatable.
That doesn’t mean that PHP cannot work in other environments or with other tools. In fact,
PHP supports an extensive list of databases and web-servers. While in the mid-1990s it was
ok to build sites, even relatively large sites, with hundreds of individual hard-coded HTML
pages, today’s webmasters are making the most of the power of databases to manage their
content more effectively and to personalize their sites according to individual user
preferences.
25
7.1.1 Learning PHP is easy
Basic is easy, any interpreted language should be easy to learn. Since you are isolated from
the system (no pointers to use, no memory to allocate). The other advantage that all modern
interpreted languages share is good associative array constructs.
26
7.1.7 Support available
Online Support is available for using PHP.
7.2 HTML
HTML or HyperText Markup Language is the standard markup language used to create web
pages.
HTML was created in 1991 by Tim Berners-Lee at CERN in Switzerland. It was designed to
allow scientists to display and share their research.
HTML is written in the form of HTML elements consisting of tags enclosed in angle
brackets(like <html>). HTML tags most commonly come in pairs like <h1> and </h1>,
although some tags represent empty elements and so are unpaired, for example <img>. The
first tag in a pair is the start tag, and the second tag is the end tag (they are also called
opening tags and closing tags).
The purpose of a web browser is to read HTML documents and compose them into visible or
audible web pages. The browser does not display the HTML tags, but uses the tags to
interpret the content of the page. HTML describes the structure of a website semantically
along with cues for presentation, making it a markup language rather than a programming
language.
HTML elements form the building blocks of all websites. HTML allows images and objects to
be embedded and can be used to create interactive forms. It provides a means to create
structured documents by denoting structural semantics for text such as headings,
paragraphs, lists, links, quotes and other items. It can embed scripts written in languages
such as Java Script which affect the behavior of HTML web pages.
HTML is a descriptive markup language. Library of various markup languages is defined in
various browsers.
27
7.2.1 HTML Images - The <img> Tag and the Src
Attribute
In HTML, images are defined with the <img> tag.
The <img> tag is empty, which means that it contains attributes only, and has no closing tag.
To display an image on a page, you need to use the src attribute. Src stands for "source".
The value of the src attribute is the URL of the image you want to display.
Syntax for defining an image:
<img src="url" alt="some_text">
28
7.3 HTML 5
HTML5 will be the new standard for HTML. The previous version of HTML, HTML 4.01,
came in 1999. The web has changed a lot since then. HTML5 is still a work in progress.
However, the major browsers support many of the new HTML5 elements and APIs.
HTML5 is cooperation between the World Wide Web Consortium (W3C) and the Web
Hypertext Application Technology Working Group (WHATWG).
WHATWG was working with web forms and applications, and W3C was working with
XHTML 2.0. In 2006, they decided to cooperate and create a new version of HTML.
Some rules for HTML5 were established:
a) New features should be based on HTML, CSS, DOM, and JavaScript
b) Reduce the need for external plug-ins (like Flash)
c) Better error handling
d) More markup to replace scripting
e) HTML5 should be device independent
f) The development process should be visible to the public
7.4 CSS
CSS tutorial for CSS 3 tutorial provides basic and advanced concepts of CSS technology.
Our CSS tutorial is developed for beginners and professionals. The major points of CSS are
given below:
CSS stands for Cascading Style Sheet.
CSS is used to design HTML tags.
CSS is a widely used language on the web.
HTML, CSS and JavaScript are used for web designing. It helps the web designers to apply
style on HTML tags.
Cascading Style Sheets (CSS) is a style sheet language used for describing the look and
formatting of a document written in a markup language. While most often used to style web
pages and user interfaces written in HTML and XHTML, the language can be applied to any
kind of XML document, including plain XML, SVG and XUL. CSS is a cornerstone
specification of the web and almost all web pages use CSS style sheets to describe their
presentation.
CSS is designed primarily to enable the separation of document content from document
presentation, including elements such as the layout, colors, and fonts. This separation can
improve content accessibility, provide more flexibility and control in the specification of
presentation characteristics, enable multiple pages to share formatting, and reduce
complexity and repetition in the structural content (such as by allowing for table less web
design).
CSS can also allow the same markup page to be presented in different styles for different
rendering methods, such as on-screen, in print, by voice (when read out by a speech-based
browser or screen reader) and on Braille-based, tactile devices. It can also be used to allow
the web page to display differently depending on the screen size or device on which it is
29
being viewed. While the author of a document typically links that document to a CSS file,
readers can use a different style sheet, perhaps one on their own computer, to override the
one the author has specified.
With plain HTML you define the colors and sizes of text and tables throughout your pages. If
you want to change a certain element you will therefore have to work your way through the
document and change it. With CSS you define the colors and sizes in "styles". Then as you
write your documents you refer to the styles. Therefore: if you change a certain style it will
change the look of your entire site. Another big advantage is that CSS offers much more
detailed attributes than plain HTML for defining the look and feel of your site.
7.5 JAVASCRIPT
JavaScript (JS) is a dynamic computer programming language. It is most commonly used as
part of web browsers, whose implementations allow client-side scripts to interact with the
user, control the browser, communicate asynchronously, and alter the document content that
is displayed. It is also being used in server-side network programming (with Node.js), game
development and the creation of desktop and mobile applications.
JavaScript is a prototype-based scripting language with dynamic typing and has first-class
functions. Its syntax was influenced by C. JavaScript copies many names and naming
conventions from Java, but the two languages are otherwise unrelated and have very
different semantics. The key design principles within JavaScript are taken from the Self and
Scheme programming languages. It is a multi-paradigm language, supporting object-
oriented, imperative, and functional programming styles.
The application of JavaScript in use outside of web pages—for example, in PDF documents,
site-specific browsers, and desktop widgets—is also significant. Newer and faster JavaScript
VMs and platforms built upon them (notably Node.js) have also increased the popularity of
JavaScript for server-side web applications. On the client side, JavaScript was traditionally
implemented as an interpreted language but just-in-time compilation is now performed by
recent (post-2012) browsers.
JavaScript was formalized in the ECMA Script language standard and is primarily used as
part of a web browser (client-side JavaScript). This enables programmatic access to objects
within a host environment.
JavaScript is the most popular programming language in the world.
It is the language for HTML, for the Web, for computers, servers, laptops, tablets, smart
phones, and more.
You can use JavaScript to:
a) Change HTML elements
• Delete HTML elements
• Create new HTML elements
• Copy and clone HTML elements
30
7.6 MySQL’s Logical Architecture
The database has become an integral part of almost every human's life. Without it, many
things we do would become very tedious, perhaps impossible tasks. Banks, universities, and
libraries are three examples of organizations that depend heavily on some sort of database
system. On the Internet, search engines, online shopping, and even the website naming
convention would be impossible without the use of a database. A database that is
implemented and interfaced on a computer is often termed a database server.
The topmost layer contains the services that aren’t unique to MySQL. They’re services most
network-based client/server tools or servers need: connection handling, authentication,
security, and so forth
The third layer contains the storage engines. They are responsible for storing and retrieving
all data stored “in'' MySQL. Like the various file systems available for GNU/Linux, each
storage engine has its own benefits and drawbacks. The server communicates with them
through the storage engine API. This interface hides differences between storage engines
and makes them largely transparent at the query layer. The API contains a couple of dozen
low-level functions that perform operations such as “begin a transaction” or “fetch the row
that has this primary key.” The storage engines don’t parse SQL[4] or communicate with each
other; they simply respond to requests from the server.
8.1 My Sql:
8.1.1 Introduction:
The database has become an integral part of almost every human's life. Without it, many
things we do would become very tedious, perhaps impossible tasks. Banks, universities, and
libraries are three examples of organizations that depend heavily on some sort of database
system. On the Internet, search engines, online shopping, and even the website naming
convention would be impossible without the use of a database. A database that is
implemented and interfaced on a computer is often termed a database server.
One of the fastest SQL (Structured Query Language) database servers currently on
the market is the MySQL server, developed by T.c.X. DataKonsultAB. MySQL, available for
download at www.mysql.com, offers the database programmer with an array of options and
capabilities rarely seen in other database servers. MySQL is free of charge for those wishing
to use it for private and commercial use. Those wishing to develop applications specifically
31
using MySQL should consult MySQL's licensing section, as there is a charge for licensing
the product.
32
g) Management Ease
MySQL offers exceptional quick-start capability with the average time from software
download to installation completion being less than fifteen minutes. This rule holds true
whether the platform is Microsoft Windows, Linux, Macintosh, or UNIX.
9.1.1 Overview
Systems Development Life Cycle (SDLC) is any logical process used by a systems analyst
to develop an information system, including requirements, validation, training, and user
ownership. An SDLC should result in a high quality system that meets or exceeds customer
33
expectations, within time and cost estimates, works effectively and efficiently in the current
and planned Information Technology infrastructure, and is cheap to maintain and cost-
effective to enhance.
Computer systems have become more complex and usually (especially with the advent of
Service-Oriented Architecture) link multiple traditional systems often supplied by different
software vendors. To manage this, a number of system development life cycle (SDLC)
models have been created: waterfall, fountain, spiral, build and fix, rapid prototyping,
incremental, and synchronize and stabilize. Although in the academic sense, SDLC can be
used to refer to various models, SDLC is typically used to refer to a waterfall methodology.
In project management a project has both a life cycle and a "systems development life cycle"
during which a number of typical activities occur. The project life cycle (PLC) encompasses
all the activities of the project, while the systems development life cycle (SDLC) is focused
on accomplishing the product requirements.
34
· Recommend the exploration of alternative concepts and methods to satisfy the need
including questioning the need for technology, i.e., will a change in the business process
offer a solution?
· Assure executive business and executive technical sponsorship.
35
been taken in the design of such questionnaires so that the persons answering these
questions do not feel hesitant. An explanatory note that serves to gain cooperation and
avoid misunderstanding by setting out the purpose of the exercise clearly accomplishes
each questionnaire.
36
9.2.4 ANALYSIS PHASE
9.2.4.1 Existing System Details and Problems
It was difficult to set the JDK information on the system in the meantime. Moreover it was a
time consuming affair if a person is new to start working with java.
• It was difficult to solve the problems those were arising during a particular
installation of the software because of hardware compatibility issues.
• Also there is usage of an issue concerning the software .This issue has been
resolved by the WEB-IDE by providing Integrated Environment facility to its users.
• This system provides the feature of uploading a java file already on the local
machine of the user or he can make altogether a new java program using this IDE and save
it on his local machine also..
37
9.2.8 DEVELOPMENT PHASE
Effective completion of the previous stages is a key factor in the success of the Development
phase. The Development phase consists of:
· Translating the detailed requirements and design into system components.
· Testing individual elements (units) for usability.
· Preparing for integration and testing of the IT system.
38
· Conduct periodic assessments of the system to ensure the functional requirements
continue to be satisfied.
· Determine when the system needs to be modernized, replaced, or retired.
10 Module Description
BLOOD DONATION
is a website based on PHP The purpose of this project was to develop a blood management
information system to assist in the management of blood donor records and ease or control
the distribution of blood in various parts of the country based on the hospital's demand. .
This project includes mainly two modules i.e login and main page.
10.1 Login:
10.1.1 Admin
10.1.2 User
10.1Admin: The page requires a username and password to start the application. Login is a
process by which individual access to a computer system is controlled by identifying and
authenticating the user through the cardinalities presented by the user. Admin can add
update or delete the user, city, state, camp etc.
39
10.2 User: User can register the account by filling the information about you and clicking on
the save button. He/she can add the account for the further enquiry of the blood donation.
The user has to login to get more information about the blood bank.
40
10.2.1 Admin level user:
Admin level users are an admin user, if he/she logs in an admin panel they work on all the
pages of the admin site like add user, update user, delete user, add city, update city, delete
city etc.
41
10.3 Main Page:
● 10.3.1 Main Window
● 10.3.2 Registration Page
● 10.3.3 Donor login
42
10.3.3 Donor login:-
The page requires a donor id and password to open the door panel. Login is a process by
which individual access to a computer system is controlled by identifying and authenticating
the user through the cardinalities presented by the user. Donors can change passwords,
update profiles or view donations etc.
43
is an “object” in the real world that is distinguishable from other objects. For e.g. each
customer is an entity and rooms can be considered to be entities. Entities are described by a
set of attributes. For e.g. the attributes Room no. and Room type describes a particular
Room in a hotel. The set of all entities of the same type and the set of all relationships of the
same type are termed as an entity set and relationship set respectively.
The logical structure of a database can be expressed graphically by an E- R diagram
consists of the following major components:
11.1.1 Entity
Entity
An entity is an “object” in the real world that is distinguishable from all other objects. An
entity set is a set of entities of the same type that share the same attributes.
11.1.3 Attribute
Attributes are descriptive properties possessed by each member of an entity set.
11.1.7 Relationships
A relationship is an association among several entities.
44
Relationship
For e.g., we can define a relationship that associates customer Job with Room 142.This
relationship specifies that Jon is a customer with Room No.142.
Employee
● While using E-R diagrams, we can follow certain guidelines, which are as follows:
● Unnecessary attributes should not be introduced.
● Entities should be merged with common attributes.
● A complex entity should be simplified by decomposing a complex attribute into sub
attributes.
● We should generalize or specialize wherever possible and appropriate.
Generalization is the result of taking the union of several lower entity sets to produce
higher- level entity sets.
45
system-because in a hierarchical model, starting with a very simple and abstract model of a
system; different details of the system can be slowly introduced through different hierarchies.
46
DATA STORE To model collection of data
at rest.
47
11.2.6 DFD FOR USER LOGIN
After entering the homepage of the website , students can choose the USER LOGIN option
where they are asked to enter username & password , and if he/she is a valid user then a
user login page will be displayed.
48
12.1 LEVELS OF TESTING:
The aim of the testing process is to identify all the defects in the website. It is not practical to
test the website with respect to each value that the input request data may assume. Testing
provides a practical way of reducing defects in the website and increasing the user’s
confidence in a developed system. Testing consists of subjecting the website to a set of test
inputs and observing if the program behaves as expected. If the program fails to Testing
behave as expected then conditions under which failure occurs are noted for later debugging
and correction. The following things are associated with testing:
Failure is a manifestation of an error. But the mere presence of an error may not necessarily
lead to a failure. A test case is the triplet [I, S, O] where I am data input to the system. S is
the state of the state of the system at which the data is input, O is the expected output of the
system A test suite is the set of all test cases with which a given software product is to be
tested.
49
were likely to uncover errors in each of the categories discussed above. Each test case was
coupled with a set of expected results.
50
• There are two types of testing available:
In black box testing the structure of the program is not considered. Test cases are decided
solely on the basis of the requirements or specifications of the program or module, and the
consideration for selection of test classes. In this section, we will present some techniques
for generating test cases for black-box testing. In black-box testing, the testing only knows
the inputs that can be given to the system and what output the system can give. In other
words the basis for deciding test cases in functional testing is the requirement or
specification of the system module. This form of testing is obvious functional or behavioral
testing.
The most obvious functional testing procedure is exhaustive testing, which as we have
stated, is empirical. One criterion for generating test causes is that strategy has little chance
of resulting in a set of test causes that is close to optimal(i.e. that detects the maximum
errors with minimum test cases). Hence we need some other criterion or rule for selecting
test cases. There are no formal rules for designing test cases for functional testing. In fact
there are no precise criteria for selecting test cases however, they have been found to be
very successful in detecting errors. Here we mention some of these techniques.
In the previous section we discussed testing, which is concerned with the function that the
tested program is proposed to program and does not deal with the internal structure of the
program responsible for actually implementing that function. Those black-box testing is
concerned with functionality rather than implementation of the program. On the other hand,
white-box testing is concerned with testing implementation of the program. The intent of this
testing is not to exercise all the different input or output conditions(although that may be to
buy products) but to exercise the different programming structures and data structures used
in the program. White-box testing is also called structure testing and we will use the two
terms interchangeably to test the structures of a program, structural testing aims to achieve
test cases that force the desired coverage of different structures various criteria have been
proposed for this. Unlike the criteria for functional testing which are frequently imprecise, the
criteria for structural testing are generally quite precise as they are based on program
structures, which are formal and precise.
51
13.Complete Snapshots
13.2 Registration
Registration page includes the information of the donor who wants to register. Donors can
register the account by clicking on the new register. He/she can add the account for the
further enquiry of the blood donation.
52
Figure 13.2:Registration page of Life Saver
53
13.4 Camps
Camp page includes the information about camps, these camps organised the blood
donation camp. Donors can register the account by clicking on the new register.
Request for blood page includes the information of the donor who wants to register. Donors
can register the account by clicking on the new register. He/she can send requests for the
further enquiry of the blood donation.
54
Figure 13.5:DONOR Login
13.6 Search
Search button is used for searching the donations of blood for different blood groups.
Blood groups name
• A
• A+
• B
• B+
• AB+
• AB_
• O+
• O-
55
Figure 13.6:Search for Blood
13.7 Contact
In contact page any one who wants to need blood or gain information about this system then
he/she can contact us.
Person will get the blood immediately he/she requested for the particular blood group he/she
Has requested.
Figure 13.7:Contact Us
56
13.9 Change Password
Above snap short describes how the donor changes our password .This is only used by a
donor.
57
Figure 13.11:Blood Donated
58
13.13 Add user
Show the addition of users.
Person will get the blood immediately he/she requested for the particular blood group he/she
has requested.
59
13.15 Add City
Show the addition of the city.
Person will get the blood immediately he/she requested for the particular blood group he/she
has requested.
60
Figure 13.16:Update City
61
13.18 Update Camp
Show the update of camp.
Person will get the blood immediately he/she requested for the particular blood group he/she
has requested.
62
has requested.
63
13.21 View Blood Group
This snapshot shows all the blood groups. This shows the blood group name and id.
Person will get the blood immediately he/she requested for the particular blood group he/she
has requested.
64
• The planning that goes into implementing a project.
• The importance of proper planning and an organized methodology.
• The key element of team spirit and coordination in a successful project.
The project also provided us the opportunity of interacting with our teachers and to gain from
their best experience
15.Future Recommendation
BLOOD BANK MANAGEMENT is a software application built in such a way that it should
suit all types of blood banks in the future.
One important future scope is availability of location based blood bank details and extraction
of location based donor’s detail, which is very helpful to the acceptant people. All the time
the network facilities cannot be used. This time donor request does not reach in proper time,
this can be avoided through adding some message sending procedure that will help to find a
proper blood donor in time. This will provide availability of blood in time.
65