Coimbatore Blood Bank.docx

  • Uploaded by: Nishanth
  • 0
  • 0
  • June 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Coimbatore Blood Bank.docx as PDF for free.

More details

  • Words: 5,104
  • Pages: 40
COIMBATORE BLOOD BANK 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.

B.Sc. (SS)

Page 1

COIMBATORE BLOOD BANK 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

B.Sc. (SS)

Page 2

COIMBATORE BLOOD BANK CHAPTER 2 2. SYSTEM SPECIFICATION 2.1 HARDWARE REQUIREMENTS Processor

:

Dual Core

Speed

:

1.1 GHz

RAM

:

2GB

Hard Disk

:

1 TB

2.2 SOFTWARE REQUIREMENTS Operating System

:

Windows XP or Later

Front end

:

PHP, Html, JavaScript, CSS

IDE

:

XAMPP

Back end

B.Sc. (SS)

:

MS SQL Server 2008

Page 3

COIMBATORE BLOOD BANK 2.3 SOFTWARE DESCRIPTION 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.

B.Sc. (SS)

Page 4

COIMBATORE BLOOD BANK 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. 

PHP contains server side scripts.



PHP provides several built-in objects.

XAMPP XAMPP is a free and open source cross-platform web server solution stack package developed by Apache Friends, consisting mainly of the Apache HTTP server, MariaDB database,

and interpreters for

scripts

written

in

the PHP and Perl

programming

languages. XAMPP stands for Cross-Platform (X), Apache (A), MariaDB (M), PHP (P) and Perl (P). It is a simple, lightweight Apache distribution that makes it extremely easy for developers to create a local web server for testing and deployment purposes. Everything needed to set up a web server – server application (Apache), database (MariaDB), and scripting language (PHP) – is included in an extractable file. XAMPP is also cross-platform, which means it works equally well on Linux, Mac and Windows. Since most actual web server deployments use the same components as XAMPP, it makes transitioning from a local test server to a live server extremely easy as well. B.Sc. (SS)

Page 5

COIMBATORE BLOOD BANK 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.

B.Sc. (SS)

Page 6

COIMBATORE BLOOD BANK CHAPTER 3 3. SYSTEM STUDY 3.1 EXISTING SYSTEM The existing system has the donor details taken from the hospital and checks for following factors.   

Filling up the form Donating blood Searching record

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 However existing system has following drawbacks:

B.Sc. (SS)



Requires manpower



Extra clerical work



Error handling is not efficient



More paper work



Time consuming

Page 7

COIMBATORE BLOOD BANK 3.2 PROPOSED SYSTEM 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.

3.2.1 ADVANTAGES OF PROPOSED SYSTEM 

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.

B.Sc. (SS)

Page 8

COIMBATORE BLOOD BANK CHAPTER 4 4. SYSTEM DESIGN System design is the process of defining the architecture, components, modules, interfaces, and data for a system to satisfy specified requirements. The process of building systems has always been complex with system becoming larger, the costs and complexities get multiplied. So the need for better methods for developing systems is widely recognized to be effective and the applied model should meet a few requirements. 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.

B.Sc. (SS)

Page 9

COIMBATORE BLOOD BANK 4.1 DATA FLOW DIAGRAM 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.

B.Sc. (SS)

Page 10

COIMBATORE BLOOD BANK 4.1.1 E-R DIAGRAM 

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.

B.Sc. (SS)

Page 11

COIMBATORE BLOOD BANK 4.2 INPUT DESIGN 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: 

To produce a free cost-efficient method of input for all donor details.



To achieve the highest possible level of accuracy.



To ensure that the input is acceptable and understood by the user.

DONOR REGISTRATION MODULE 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.

4.3 DATABASE DESIGN When designing a database, you have to make decisions regarding how best to take some system in the real world and model it in a database. This consists of deciding which tables to create, what columns they will contain, as well as the relationships between the tables. While it would be nice if this process was totally intuitive and obvious, or even better automated, this is simply not the case. A well-designed database takes time and effort to conceive, build and refine. The benefits of a database that has been designed according to the relational model are numerous. Some of them are: 

Data entry, updates and deletions will be efficient.



Data retrieval, summarization and reporting will also be efficient.

B.Sc. (SS)

Page 12

COIMBATORE BLOOD BANK 4.4 OUTPUT DESIGN 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: 

External Outputs, whose destination is outside the organization.



Internal Outputs, whose destination is within the concern and which require careful design because they are the user’s main interface within the computer.



Operational outputs, whose use is purely within the encrypted data.



Interactive outputs, which involve the user in communicating directly with the computers.

HOME PAGE MODULE 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.

SEARCH DONOR MODULE 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.

B.Sc. (SS)

Page 13

COIMBATORE BLOOD BANK 5. SYSTEM TESTING 5.1 SYSTEM TESTING The purpose of testing is to discover errors. Testing is the process of trying to discover every conceivable fault or weakness in a work product. It provides a way to check the functionality of components, sub-assemblies, assemblies or a finished product. System testing is the stage before system implementation where the system is made error free and all the needed modifications are made. The system was tested with test data and necessary corrections to the system were carried out. All the reports were checked by the user and approved. The system is very user friendly with contact to assist the user wherever necessary. There are various types of test, each test type addresses a specific testing requirement. 5.2 TESTING METHODOLOGIES Test Case specification is major activity in the testing process. In this project, I have performed two levels of testing.

5.2.1 UNIT TESTING The basic units in Unit testing are: 

Validating the input given by the user.



Exception handling.

In this project input is validated in Email and Mobile number Column

5.2.2 INTEGRATION TESTING The basic units in Integration testing are: 

Integration of all programs is correct or not.



Checking whether the entire system after integrating is working as expected.



B.Sc. (SS)

The system is tested as whole after the unit testing.

Page 14

COIMBATORE BLOOD BANK 5.3.3 VALIDATION TESTING 

Software validation is achieved through a serious of testes that demonstrate conformity with requirements. Thus the proposed system under consideration has been tested by validation & found to be working satisfactory.

5.4.4 ACCEPTANCE TESTING 

Acceptance testing involves planning an execution of a functional test, performance test and stress test to verify that the implemented system satisfies the requirement.The acceptance testing is the final stage of the user the various possibilities of the data are entered and the results are tested.

B.Sc. (SS)

Page 15

COIMBATORE BLOOD BANK 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.

B.Sc. (SS)

Page 16

COIMBATORE BLOOD BANK 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.

B.Sc. (SS)

Page 17

COIMBATORE BLOOD BANK 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. These are the following features which can be added in future: 

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.

B.Sc. (SS)

Page 18

COIMBATORE BLOOD BANK 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/

B.Sc. (SS)

Page 19

COIMBATORE BLOOD BANK APPENDICES A. DATAFLOW DIAGRAM Level 0 DFD

Level 1 DFD

B.Sc. (SS)

Page 20

COIMBATORE BLOOD BANK WORKFLOW

B.Sc. (SS)

Page 21

COIMBATORE BLOOD BANK DATABASE DESIGN REGISTRATION TABLE : primary key - Email_ID

Field Name

Field Type

Field Length

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

B.Sc. (SS)

Page 22

COIMBATORE BLOOD BANK FEEDBACK TABLE : primary key - Email_ID

Field Name

B.Sc. (SS)

Field Type

Field Length

Name

Varchar2

30

Email

Varchar2

30

Phone

Integer

10

Message

Longtext

100

Page 23

COIMBATORE BLOOD BANK SAMPLE CODINGS <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> BLOOD DONOR/HOME

COIMBATORE BLOOD BANK

Home      Registration      Donor details      Who Needs Blood ?        About        Feedback        
B.Sc. (SS)

Page 24

COIMBATORE BLOOD BANK

SEARCH DONORS


BLOOD GROUP<select name="BLOOD_GROUP">
B.Sc. (SS)

Page 25

COIMBATORE BLOOD BANK

 

TO UPDATE YOUR LAST_DONATED_DATE , KINDLY UPDATE HERE

Enter your email ID :

 

Last_donated_date :

 


echo "<script type='text/javascript'>alert('LAST DONATED DATE UPDATED SUCCESSFULLY')"; } ?>
B.Sc. (SS)

Page 26

COIMBATORE BLOOD BANK


<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> BLOOD DONOR / INVOICE

COIMBATORE BLOOD BANK

B.Sc. (SS)

Page 27

COIMBATORE BLOOD BANK Home      Registration      Donor details      Who Needs Blood ?        About     Feedback        

Page 28

COIMBATORE BLOOD BANK 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']; echo "$Mobile_number"; } ?>
SNONAMEGENDERAGEBLOOD_GRO UPMobile_numberEmail_IDLast_donated_date
$Donor_name$Gender$Age$Blood_group$Email_ID$Last_donated_date

 

TO UPDATE YOUR LAST_DONATED_DATE , KINDLY UPDATE HERE
Last_donated_date :

 

 


Page 29

COIMBATORE BLOOD BANK if(isset($_POST["submit"])) { $sno=$_POST['sno']; $Last_donated_date=$_POST['Last_donated_date2']; mysql_query("update blood set Last_donated_date='$Last_donated_date' where sno='$sno'")or die(mysql_error()); } ?>


<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> BLOOD DONOR / REGISTRATION
B.Sc. (SS)

Page 30

COIMBATORE BLOOD BANK

COIMBATORE BLOOD BANK

Home      Registration      Donor details      Who Needs Blood ?        About      Feedback        


B.Sc. (SS)

Page 31

COIMBATORE BLOOD BANK

BLOOD REGISTRATION


Donor_name
Gender
Male
Female
Age
Blood_Group<select name="Blood_Group">
Mobile_number

B.Sc. (SS)

Page 32

COIMBATORE BLOOD BANK
Email_ID
Address
Last_donated_date
alert('User registered successfully')"; }

B.Sc. (SS)

Page 33

COIMBATORE BLOOD BANK ?>


<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> Requirements





B.Sc. (SS)

Page 34

COIMBATORE BLOOD BANK

COIMBATORE BLOOD BANK

Home      Registration      Donor details      Who Needs Blood ?        About     Feedback        

 



B.Sc. (SS)

Page 35

COIMBATORE BLOOD BANK
Before you finalize any of the donors, run each donor through "the vital 10" checklist.
  1. The donor should not have donated blood in the last 3 months.
  2. The donor should not have undergone any major surgery within 3 months.
  3. The donor has not had alcohol 48 hours before the donation.
  4. The donor should avoid smoking on the day of donation and 3 hours after donation.
  5. The donor should not have fever at the time of donation.
  6. The donor should have had a good meal before donation.
  7. The donor should disclose whether he is under any medication for malaria, jaundice, etc.
  8. The donor should not have had any tooth extraction in the past 2 weeks.
  9. The donor should not be pregnant.
  10. The donor should not have had any immunization at least one month before.


Please be courteous to donors who are unable to donate.

Please do not force or convince a donor if he/she is not in a position to donate.




B.Sc. (SS)

Page 37

COIMBATORE BLOOD BANK SMAPLE SCREENSHOTS INPUT DESIGN

Fig 4.2 Registration details

B.Sc. (SS)

Page 38

COIMBATORE BLOOD BANK DATABASE DESIGN

Fig 4.3 Database process

OUTPUT DESIGN

Fig 4.4 Output process

B.Sc. (SS)

Page 39

COIMBATORE BLOOD BANK TESTING

FIG 5.1 UNIT TESTING

Fig 5.4 EMAIL VALIDATION

B.Sc. (SS)

Page 40

Related Documents

Coimbatore
November 2019 5
Coimbatore Krishnao
June 2020 2
Gate - Coimbatore
May 2020 7
Blood
November 2019 51
Blood
December 2019 65

More Documents from "Examville.com"