final project on doctor's live
TRANSCRIPT
-
8/14/2019 Final Project on Doctor's Live
1/75
Doctor's Live
Chapter 1
Introduction
1
-
8/14/2019 Final Project on Doctor's Live
2/75
Doctor's Live
Project Review
1.1 Doctors Live
This website helps the patients to communicate with the doctor without leaving home and find the solution of
their deceases. In this website if patients in not registered even then patient can get the solutions of their specific
deceases from the predefined database in the form of text. But if patient is not getting the solution of its
deceases then she/she can directl connect with the doctor after registration process.
!irst of all patient will get help from doctor through text chat. "nd if doctor is unable to resolve the problem of
patient then the patient has the facilit to upload their problem via images.
1.2 MODULES OF Doctors Live:
The project cosists o! !o""owi# $o%&"es#
'%$iistrator
User
Doctor
1.2.1'%$iistrator:
$o this is the main module of our website. The admin has the power to add doctor and to activate or deactivatethe users account and to add the users. "dmin has the power to chec% the reviews of the user on the doctor&s
solutions. $o admin has full authorit to control the whole website.
1.2.2 User:
hen users first come to the site the will obviousl hit the home page that will have an overall description of
the service and some mar%eting hpe( etc. The will then clic% on a )*oin+ or )sign up+ lin%( which will ta%e
then to the first stage in the application.
"t sign up( the user should provide all essential information. "fter the user has entered all essential information
it should be stored in a database. "n account will then be created for the user. This account will create a folder
under the root domain with their username.
,ow user is registered into the website( now user can access all the facilities available in the website.
-
-
8/14/2019 Final Project on Doctor's Live
3/75
Doctor's Live1.2.( Doctor:
The provide - hours service to the patients. "fter the doctor&s has entered all essential information it should
be stored in a database. "n account will then be created for the doctor&s. ,ow the doctor has the facilit to
provide his/her review on the patient problem. $o these are the services of the doctor on our website module.
1.( O)jectives
The o)jective o! this we)site wo&"% )e:
This website provides the hospitalit to the patients for their disease or problems and solves them.
To provide an persons to register themselves and add new patient.
This website helps in time saving of patient to communicate with doctor i.e. patient communicate with doctor
without leaving home.
It removes the headache of a person to find the appropriate doctor for their disease.
To maintain the information of about lients 0egistered 2sers3 and "dministrators.
4
-
8/14/2019 Final Project on Doctor's Live
4/75
Doctor's Live
Chapter 2
5627585,T 9:"$5
-
8/14/2019 Final Project on Doctor's Live
5/75
Doctor's Live
Project *or+
2.1 .,ET FR'ME*OR-
The .,5T !ramewor% is an integral indows component that supports building and running the next generation
of applications and eb services. The %e components of the .,5T !ramewor% are the common language
runtime 0L3 and the .,5T !ramewor% class librar( which includes "D7.,5T( "$9.,5T( indows !orms
and indows 9resentation !oundation 09!3. The .,5T !ramewor% provides a managed execution
environment( simplified development and deploment( and integration with a wide variet of programming
languages.
"$9.,5T is a managed framewor% that facilitates building server;side applications based on :TT9( :T8L(
-
8/14/2019 Final Project on Doctor's Live
6/75
Doctor's LiveCo$$o La#&a#e R&ti$e E#ie:
The ommon Language untime 0L3 is the execution engine of the .,5T !ramewor%. "ll .,5T programs
execute under the supervision of the L( guaranteeing certain properties and behaviors in the areas of memor
management( securit( and exception handling.
La#&a#e %epe%ece:
The .,5T !ramewor% introduces a ommon Tpe $stem( or T$. The T$ specification defines all possible
data tpes and programming constructs supported b the L and how the ma or ma not interact with each
other conforming to the ommon Language Infrastructure 0LI3 specification. Because of this feature( the
.,5T !ramewor% supports the exchange of tpes and ob*ect instances between libraries and applications written
using an conforming .,5T language.
0ase C"ass Li)rar/:
The Base lass Librar 0BL3( part of the !ramewor% lass Librar 0!L3( is a librar of functionalit
available to all languages using the .,5T !ramewor%. The BL provides classes which encapsulate a number of
common functions( including file reading and writing( graphic rendering( database interaction(
-
8/14/2019 Final Project on Doctor's Live
7/75
Doctor's LiveThese languages enable ou to develop "$9.,5T applications that benefit from the common language runtime
tpe safet( inheritance( and so on.
'sp.et 'P Re!erece
$ome of the most important namespaces in the .,5T !ramewor% class librar that pertain to "$9.,5T are the
following#
S/ste$.*e):
9rovides classes and interfaces that enable browser;server communication. This namespace includes the :ttp
e=uest class( which provides extensive information about the current :TT9 re=uest( the :ttp esponse class(
which manages :TT9 output to the client( and the :ttp $erver 2tilit class( which provides access to server;
side utilities and processes. $stem.eb also includes classes for coo%ie manipulation( file transfer( exception
information( and output cache control.
S/ste$.*e).'pp"icatioServices:
9rovides classes that provide access to "$9.,5T forms authentication( roles( and profiles application services
as indows ommunication !oundation 0!3 services.
S/ste$.R&ti$e.Cachi#:
ontains tpes that let ou implement caching in .,5T !ramewor% applications.
S/ste$.*e).C"ietServices:
ontains classes that support access to the "$9.,5T login( roles( and profiles services from indows;based
applications.
S/ste$.*e).Co!i#&ratio:
ontains classes that are used to programmaticall manage "$9.,5T configuration. 08ostconfiguration
settings can be made in
-
8/14/2019 Final Project on Doctor's Live
8/75
Doctor's Liveonsists of the classes that enable ou to create
-
8/14/2019 Final Project on Doctor's Live
9/75
Doctor's Liveontains classes that enable callbac% methods to be run under the scope of a transaction and that enable wor%
to be posted to separate threads.
Pa#e a% Cotro"s Fra$ewor+
The "$9.,5T page and controls framewor% is a programming framewor% that runs on a eb server to
dnamicall produce and render "$9.,5T eb pages. "$9.,5T eb pages can be re=uested from an
browser or client device( and "$9.,5T renders mar%up 0such as :T8L3 to the re=uesting browser. "s a rule(
we can use the same page for multiple browsers( because "$9.,5T renders the appropriate mar%up for the
browser ma%ing the re=uest. :owever( we can design our "$9.,5T eb page to target a specific browser and
ta%e advantage of the features of that browser.
"$9.,5T eb pages are completel ob*ect;oriented. ithin "$9.,5T eb pages we can wor% with :T8L
elements using properties( methods( and events. The "$9.,5T page framewor% removes the implementation
details of the separation of client and server inherent in eb;based applications b presenting a unified mode
for responding to client events in code that runs at the server. The framewor% also automaticall maintains the
state of a page and the controls on that page during the page processing life ccle. The "$9.,5T page and
controls framewor% also enables us to encapsulate common 2I functionalit in eas;to;use( reusable controls
ontrols are written once( can be used in man pages( and are integrated into the "$9.,5T eb page that the
are placed in during rendering.
The "$9.,5T page and controls framewor% also provides features to control the overall loo% and feel of our
eb site via themes and s%ins. e can define themes and s%ins and then appl them at a page level or at a
control level.
In addition to themes( we can define master pages that we use to create a consistent laout for the pages in our
application. " single master page defines the laout and standard behavior that we want for all the pages 0or a
group of pages3 in our application. e can then create individual content pages that contain the page;specific
content we want to displa. hen users re=uest the content pages( the merge with the master page to produce
output that combines the laout of the master page with the content from the content page.
The "$9.,5T page framewor% also enables us to define the pattern for 2Ls that will be used in our site. This
helps with search engine optimiGation 0$573 and ma%es 2Ls more user;friendl. The "$9.,5T page and
control framewor% is designed to generate :T8L that conforms to accessibilit guidelines.
'SP.,ET Co$pi"er
-
8/14/2019 Final Project on Doctor's Live
10/75
Doctor's Live"ll "$9.,5T code is compiled( which enables strong tping( performance optimiGations( and earl binding
among other benefits. 7nce the code has been compiled( the common language runtime further compiles
"$9.,5T code to native code( providing improved performance. "$9.,5T includes a compiler that will
compile all our application components including pages and controls into an assembl that the "$9.,5T
hosting environment can then use to service user re=uests.
Sec&rit/ !rastr&ct&re
In addition to the securit features of .,5T( "$9.,5T provides an advanced securit infrastructure for
authenticating and authoriGing user access as well as performing other securit;related tas%s. e can
authenticate users using indows authentication supplied b II$( or we can manage authentication using our
own user database using "$9.,5T forms authentication and "$9.,5T membership. "dditionall( we can
manage the authoriGation to the capabilities and information of our eb application using indows groups or
our own custom role database using "$9.,5T roles. e can easil remove( add to( or replace these schemes
depending upon the needs of our application.
"$9.,5T alwas runs with a particular indows identit so we can secure our application using indows
capabilities such as ,T!$ "ccess ontrol Lists 0"Ls3( database permissions( and so on.
State4Maa#e$et Faci"ities
"$9.,5T provides intrinsic state management functionalit that enables us to store information between page
re=uests( such as customer information or the contents of a shopping cart. e can save and manage application;
specific( session;specific( page;specific( user;specific( and developer;defined information. This information can
be independent of an controls on the page.
"$9.,5T offers distributed state facilities( which enable us to manage state information across multiple
instances of the same application on one computer or on several computers.
'SP.,ET Co!i#&ratio
"$9.,5T applications use a configuration sstem that enables us to define configuration settings for our eb
server( for a eb site( or for individual applications. e can ma%e configuration settings at the time our
"$9.,5T applications are deploed and can add or revise configuration settings at an time with minimal
effect on operational eb applications and servers. "$9.,5T configuration settings are stored in
-
8/14/2019 Final Project on Doctor's Live
11/75
Doctor's LiveDe)#i# S&pport
"$9.,5T ta%es advantage of the run;time debugging infrastructure to provide cross;language and cross
computer debugging support. ou can debug both managed and unmanaged ob*ects( in addition to all languages
supported b the common language runtime and script languages. In addition( the "$9.,5T page framewor%
provides a trace mode that enables ou to insert instrumentation messages into our "$9.,5T eb pages.
*e) Services Fra$ewor+
"$9.,5T supports
-
8/14/2019 Final Project on Doctor's Live
12/75
Doctor's Live"$9.,5T is based on the fundamental architecture of .,5T !ramewor%. ?isual studio provides a uniform
wa to combine the various features of this "rchitecture.
"$9.,5T "rchitecture
Co$$o La#&a#e !rastr&ct&re
The purpose of the ommon Language Infrastructure 0LI3 is to provide a language;neutral platform for
application development and execution( including functions for 5xception handling( Jarbage ollection
securit( and interoperabilit. B implementing the core aspects of the .,5T !ramewor% within the scope of the
LI( this functionalit will not be tied to a single language but will be available across the man languages
supported b the framewor%. 8icrosoft's implementation of the LI is called the ommon Language untime(
or L.
.,ET 'sse$)"/
The IL code is housed in .,5T assemblies. "s mandated b specification( assemblies are stored in the
9ortable 5xecutable 0953 format( common on the indows platform for all DLL and 5
-
8/14/2019 Final Project on Doctor's Live
13/75
-
8/14/2019 Final Project on Doctor's Live
14/75
Doctor's Live'DO.,ET
"D7.,5T provides consistent access to data sources such as 8icrosoft $6L $erver( as well as data sources
exposed through 7L5 DB and
-
8/14/2019 Final Project on Doctor's Live
15/75
Doctor's Liveinformation( see .,5T !ramewor% Data 9roviders 0"D7.,5T3 and etrieving and 8odifing Data in
"D7.,5T.
The Dataset:
The "D7.,5T Dataset is explicitl designed for data access independent of an data source. "s a result( it can
be used with multiple and differing data sources( used with
-
8/14/2019 Final Project on Doctor's Live
16/75
Doctor's Live" bac%;end database stores data but does not include end;user application elements such as stored =ueries
forms( macros or reports.
S6L Server 28:
8icrosoft $6L;$erver -H is scalable( high;performance database management with built;in replication
capabilities( Internet integration. 7pen sstem architecture( and powerful graphic;based management tools that
are designed specificall for distributed client/server computing. $6L;$erver -H extends to performance and
reliabilit b providing server;based *ob scheduling to give visual control multiple servers and remote
operations.
$6L;$erver -H was designed with Internet and intranets in minds. hen it is used with eb "ssistant( it can
populate web server with $6L data through a variet of methods and provide high;performance access to
information on compan&s web site.
$6L;$erver -H includes new features and components for both the server and the client. The new features
can be grouped into several categories# $6L 5nterprise 8anager( Transact;$6L( and $6L;D87 and $6L
server wiGards.
2.9 T3REE4TER 'RC3TECTURE:
Three;tier is a clientserver architecturein which the user interface( functional process logic0Mbusiness
rulesM3(computer data storageand data accessare developed and maintained as independent modules( most
1E
http://en.wikipedia.org/wiki/Client%E2%80%93server_architecturehttp://en.wikipedia.org/wiki/User_interfacehttp://en.wikipedia.org/wiki/Business_logic_layerhttp://en.wikipedia.org/wiki/Computer_data_storagehttp://en.wikipedia.org/wiki/Computer_data_storagehttp://en.wikipedia.org/wiki/Data_accesshttp://en.wikipedia.org/wiki/Data_accesshttp://en.wikipedia.org/wiki/Module_(computing)http://en.wikipedia.org/wiki/User_interfacehttp://en.wikipedia.org/wiki/Business_logic_layerhttp://en.wikipedia.org/wiki/Computer_data_storagehttp://en.wikipedia.org/wiki/Data_accesshttp://en.wikipedia.org/wiki/Module_(computing)http://en.wikipedia.org/wiki/Client%E2%80%93server_architecture -
8/14/2019 Final Project on Doctor's Live
17/75
Doctor's Liveoften on separate platforms. It was developed b Aohn A. Donovanin 7pen 5nvironment orporation 0753( a
tools compan he founded in ambridge( 8assachusetts.
The three;tier model is a software architectureand asoftware design pattern.
"part from the usual advantages of modular softwarewith well;defined interfaces( the three;tier architecture is
intended to allow an of the three tiers to be upgraded or replaced independentl in response to changes in
re=uirements or technolog. !or example( a change of operating sstemin the presentation tier would onl
affect the user interface code.
Tpicall( the user interface runs on a des%top9or wor%stationand uses a standard graphical user interface
functional process logic that ma consist of one or more separate modules running on a wor%station
or application server( and an DB8$on a database serveror mainframethat contains the computer data storage
logic. The middle tier ma be multi;tiered itself .
Three;tier architecture has the following three tiers#
Presetatio tier:
This is the topmost level of the application. The presentation tier displas information related to such services as
browsing merchandise( purchasing( and shopping cart contents. It communicates with other tiers b outputting
results to the browser/client tier and all other tiers in the networ%.
'pp"icatio tier:
The logic tier is pulled out from the presentation tier and( as its own laer( it controls an application&s
functionalit b performing detailed processing.
Data tier:
This tier consists of database servers. :ere information is stored and retrieved. This tier %eeps data neutral and
independent from application servers or business logic. Jiving data its own tier also improves scalabilit and
performance.
1F
http://en.wikipedia.org/wiki/John_J._Donovanhttp://en.wikipedia.org/wiki/Cambridge,_MAhttp://en.wikipedia.org/wiki/Software_architecturehttp://en.wikipedia.org/wiki/Software_design_patternhttp://en.wikipedia.org/wiki/Software_design_patternhttp://en.wikipedia.org/wiki/Softwarehttp://en.wikipedia.org/wiki/Softwarehttp://en.wikipedia.org/wiki/Operating_systemhttp://en.wikipedia.org/wiki/Personal_computerhttp://en.wikipedia.org/wiki/Personal_computerhttp://en.wikipedia.org/wiki/Personal_computerhttp://en.wikipedia.org/wiki/Workstation_(computer_hardware)http://en.wikipedia.org/wiki/Graphical_user_interfacehttp://en.wikipedia.org/wiki/Application_serverhttp://en.wikipedia.org/wiki/RDBMShttp://en.wikipedia.org/wiki/Database_serverhttp://en.wikipedia.org/wiki/Database_serverhttp://en.wikipedia.org/wiki/Mainframe_computerhttp://en.wikipedia.org/wiki/Mainframe_computerhttp://en.wikipedia.org/wiki/John_J._Donovanhttp://en.wikipedia.org/wiki/Cambridge,_MAhttp://en.wikipedia.org/wiki/Software_architecturehttp://en.wikipedia.org/wiki/Software_design_patternhttp://en.wikipedia.org/wiki/Softwarehttp://en.wikipedia.org/wiki/Operating_systemhttp://en.wikipedia.org/wiki/Personal_computerhttp://en.wikipedia.org/wiki/Workstation_(computer_hardware)http://en.wikipedia.org/wiki/Graphical_user_interfacehttp://en.wikipedia.org/wiki/Application_serverhttp://en.wikipedia.org/wiki/RDBMShttp://en.wikipedia.org/wiki/Database_serverhttp://en.wikipedia.org/wiki/Mainframe_computer -
8/14/2019 Final Project on Doctor's Live
18/75
-
8/14/2019 Final Project on Doctor's Live
19/75
Doctor's Live7is&a" St&%io
8icrosoft ?isual $tudio includes native support for data programming with 8icrosoft $6L $erver. It can be
used to write and debug code to be executed b $6L L. It also includes a data designer that can be used to
graphicall create( view or edit database schemas. 6ueries can be created either visuall or using code. $$8$
-H onwards( provides intelligence for $6L =ueries as well.
S6L Server Maa#e$et St&%io
$6L $erver 8anagement $tudio is a J2I tool included with $6L $erver -H and later for configuring
managing( and administering all components within 8icrosoft $6L $erver. The tool includes both script editors
and graphical tools that wor% with ob*ects and features of the server. $6L $erver 8anagement $tudio replaces
5nterprise 8anager as the primar management interface for 8icrosoft $6L $erver since $6L $erver -H. "
version of $6L $erver 8anagement $tudio is also available for $6L $erver 5xpress 5dition( for which it is
%nown as $6L $erver 8anagement $tudio 5xpress 0$$8$53." central feature of $6L $erver 8anagement
$tudio is the 7b*ect 5xplorer( which allows the user to browse( select( and act upon an of the ob*ects within
the server. It can be used to visuall observe and analGe =uer plans and optimiGe the database performance
among others. $6L $erver 8anagement $tudio can also be used to create a new database( alter an existing
database schema b adding or modifing tables and indexes( or analGe performance. It includes the =uer
windows which provide a J2I based interface to write and execute =ueries sam. The left pane contains the
7b*ect 5xplorer.
2.; 3'RD*'RE ',D SOFT*'RE USED:
The sstem must have the following hardware re=uirements#
3'RD*'RE SPECFC'TO,
9entium I? 9rocessors
-CE 8B of "8
CJB of :ard Dis%
7ne $6L based server
lient 8achine
7ne domain name space to implement eb based services.
1
-
8/14/2019 Final Project on Doctor's Live
20/75
Doctor's Live
SOFT*'RE SPECFC'TO,
lient 7$ with .,5T framewor% .
$erver 7s with .,et framewor% .
8$ $6L $erver 0-H3
9L"T!78# 8icrosoft visual studio-1
2.8 ER D'
-
8/14/2019 Final Project on Doctor's Live
21/75
Doctor's Live
Chapter (
DES
-
8/14/2019 Final Project on Doctor's Live
22/75
Doctor's Live
Res&"ts a% Disc&ssios
SCREE, S3ORT
(.1 Etit/ Re"atio Dia#ra$:
--
-
8/14/2019 Final Project on Doctor's Live
23/75
Doctor's Live
(.2: D'T'0'SE 4TER
Tables#
Co&tr/ Ta)"e
-4
-
8/14/2019 Final Project on Doctor's Live
24/75
Doctor's Live
(.( State Ta)"e
-
-
8/14/2019 Final Project on Doctor's Live
25/75
Doctor's Live
(. Cit/ Ta)"e
-C
-
8/14/2019 Final Project on Doctor's Live
26/75
Doctor's Live
(.9 'cco&t !or$atio Ta)"e
-E
-
8/14/2019 Final Project on Doctor's Live
27/75
Doctor's Live
(. '%$i Lo#i Ta)"e
-F
-
8/14/2019 Final Project on Doctor's Live
28/75
Doctor's Live
Cate#or/ Master Ta)"e
-H
-
8/14/2019 Final Project on Doctor's Live
29/75
Doctor's Live
S&)4Cate#or/ Master Ta)"e
-
-
8/14/2019 Final Project on Doctor's Live
30/75
Doctor's Live
Prescriptio Master Ta)"e
4
-
8/14/2019 Final Project on Doctor's Live
31/75
Doctor's Live
(.; Doctor !or$atio Ta)"e
41
-
8/14/2019 Final Project on Doctor's Live
32/75
Doctor's Live
Lo# !o Ta)"e
4-
-
8/14/2019 Final Project on Doctor's Live
33/75
Doctor's Live
Lo##e% User Ta)"e
44
-
8/14/2019 Final Project on Doctor's Live
34/75
Doctor's Live
Messa#es o! Chat )o5 Ta)"e
4
-
8/14/2019 Final Project on Doctor's Live
35/75
Doctor's Live
Patiet )/ Doctor Ta)"e
4C
-
8/14/2019 Final Project on Doctor's Live
36/75
Doctor's Live
Patiet Detai"s Ta)"e
4E
-
8/14/2019 Final Project on Doctor's Live
37/75
Doctor's Live
Chapter
So&rce co%e
4F
-
8/14/2019 Final Project on Doctor's Live
38/75
Doctor's Live
SOURCE CODE
NOP 9age LanguageQM@M "uto5ventireupQMtrueM 8aster9age!ileQMR/Doctor8aster.masterMode!ileQM2ser$ignup.aspx.csM InheritsQMSDefaultM O
NO;;NUD7T95 html 92BLI M;//4//DTD
-
8/14/2019 Final Project on Doctor's Live
39/75
Doctor's Live5rror8essageQMinvalidM !oreolorQMedMN/asp#ompare?alidator
N/td N/tr Ntr Ntd alignQM*ustifM bgcolorQM@!!M valignQMbaselineM stleQMcolor# @M !irst ,ameN/td Ntd alignQM*ustifM bgcolorQM@!!M valignQMbaselineM stleQMcolor# @M
Nasp#TextBox IDQMTextBox-M runatQMserverMN/asp#TextBox N/td N/tr Ntr Ntd alignQM*ustifM bgcolorQM@!!M valignQMbaselineM stleQMcolor# @M Last ,ameN/td Ntd alignQM*ustifM bgcolorQM@!!M valignQMbaselineM stleQMcolor# @M Nasp#TextBox IDQMTextBox4M runatQMserverMN/asp#TextBox N/td N/tr Ntr
Ntd alignQM*ustifM bgcolorQM@!!M valignQMbaselineM stleQMcolor# @M "ddressN/td Ntd alignQM*ustifM bgcolorQM@!!M valignQMbaselineM stleQMcolor# @M Nasp#TextBox IDQMaddStxtM runatQMserverM :eightQMFFpxM Text8odeQM8ultiLineM
idthQM-CpxMN/asp#TextBox Nasp#e=uired!ield?alidator IDQMe=uired!ield?alidatorM runatQMserverM
ontrolTo?alidateQMaddStxtM 5rror8essageQMKM!oreolorQMedMN/asp#e=uired!ield?alidator N/td N/tr Ntr
Ntd alignQM*ustifM bgcolorQM@!!M valignQMbaselineM stleQMcolor# @M Date of BirthN/td Ntd alignQM*ustifM bgcolorQM@!!M valignQMbaselineM stleQMcolor# @M Nasp#DropDownList IDQMdateSddlM runatQMserverM N/asp#DropDownListVnbsp>Vnbsp> Nasp#DropDownList IDQMmnthSddlM runatQMserverM N/asp#DropDownListVnbsp>Vnbsp> Nasp#DropDownList IDQMearSddlM runatQMserverM N/asp#DropDownList
N/td N/tr Ntr Ntd alignQM*ustifM bgcolorQM@!!M valignQMbaselineM stleQMcolor# @M JenderN/td Ntd alignQM*ustifM bgcolorQM@!!M valignQMbaselineM stleQMcolor# @M Nasp#adioButton IDQMmaleSrdbM runatQMserverM Jroup,ameQMgenderM TextQM8aleM / Nasp#adioButton IDQMfemaleSrdbM runatQMserverM Jroup,ameQMgenderM
TextQM!emaleM /
4
-
8/14/2019 Final Project on Doctor's Live
40/75
Doctor's LiveN/td
N/tr Ntr Ntd alignQM*ustifM bgcolorQM@!!M classQMstle4M valignQMbaselineM
stleQMcolor# @M ountrN/td Ntd alignQM*ustifM bgcolorQM@!!M classQMstle4M valignQMbaselineM
stleQMcolor# @M Nasp#DropDownList IDQMcountrSddlM runatQMserverM "uto9ostBac%QMTrueM
Data$ourceIDQM$=lData$ource1M DataText!ieldQM,"85M Data?alue!ieldQMIDM Nasp#ListItem $electedQMTrueM;select;N/asp#ListItem N/asp#DropDownList Nasp#$=lData$ource IDQM$=lData$ource1M runatQMserverM
onnection$tringQMNOW onnection$trings#con OM$electommandQM$5L5T XIDY( X,"85Y !78 XcountrmasterYM
N/asp#$=lData$ource N/td N/tr
Ntr Ntd alignQM*ustifM bgcolorQM@!!M valignQMbaselineM classQMstleM
stleQMcolor# @M $tateN/td Ntd alignQM*ustifM bgcolorQM@!!M valignQMbaselineM classQMstleM
stleQMcolor# @M Nasp#DropDownList IDQMstateSddlM runatQMserverM "uto9ostBac%QMTrueM
Data$ourceIDQM$=lData$ource-M DataText!ieldQMstatenameMData?alue!ieldQMstateidM :eightQM1EpxM idthQMHHpxM
Nasp#ListItem;select;N/asp#ListItem N/asp#DropDownList
Nasp#$=lData$ource IDQM$=lData$ource-M runatQMserverMonnection$tringQMNOW onnection$trings#con OM$electommandQM$5L5T XstateidY( XstatenameY !78 XstatemasterY :55 0XcidY Q Pcid3M
N$elect9arameters Nasp#ontrol9arameter ontrolIDQMcountrSddlM ,ameQMcidM
9ropert,ameQM$elected?alueM TpeQMInt4-M / N/$elect9arameters N/asp#$=lData$ource N/td N/tr
Ntr Ntd alignQM*ustifM bgcolorQM@!!M valignQMbaselineM classQMstleCM
stleQMcolor# @M itN/td Ntd alignQM*ustifM bgcolorQM@!!M valignQMbaselineM classQMstleCM
stleQMcolor# @M Nasp#DropDownList IDQMcitSddlM runatQMserverM "uto9ostBac%QMTrueM
Data$ourceIDQM$=lData$ource4M DataText!ieldQMcitnameMData?alue!ieldQMcitnameM
-
8/14/2019 Final Project on Doctor's Live
41/75
Doctor's LiveNasp#ListItem;select;N/asp#ListItem
N/asp#DropDownList Nasp#$=lData$ource IDQM$=lData$ource4M runatQMserverM
onnection$tringQMNOW onnection$trings#con OM$electommandQM$5L5T XcitnameY !78 XcitmasterY :55 0XstateidY Q Pstateid3M
N$elect9arameters Nasp#ontrol9arameter ontrolIDQMstateSddlM ,ameQMstateidM
9ropert,ameQM$elected?alueM TpeQMInt4-M / N/$elect9arameters N/asp#$=lData$ource
N/td N/tr Ntr Ntd alignQM*ustifM bgcolorQM@!!M valignQMbaselineM stleQMcolor# @M 5mailIDN/td Ntd alignQM*ustifM bgcolorQM@!!M valignQMbaselineM stleQMcolor# @M Nasp#TextBox IDQMeidStxtM runatQMserverMN/asp#TextBox
Nasp#egular5xpression?alidator IDQMegular5xpression?alidator1M runatQMserverMontrolTo?alidateQMeidStxtM 5rror8essageQMinvalidM !oreolorQMedM?alidation5xpressionQMZw[0X;[.'YZw[3KPZw[0X;.YZw[3KZ.Zw[
0X;.YZw[3KMN/asp#egular5xpression?alidator N/td N/tr Ntr Ntd alignQM*ustifM bgcolorQM@!!M stleQMcolor# @M 8obile,oN/td Ntd alignQM*ustifM bgcolorQM@!!M stleQMcolor# @M Nasp#TextBox IDQMmobilenoStxtM runatQMserverM 8axLengthQM1MN/asp#TextBox
N/td N/tr Ntr Ntd alignQM*ustifM bgcolorQM@!!M valignQMbaselineM stleQMcolor# @M Landline,oN/td Ntd alignQM*ustifM bgcolorQM@!!M valignQMbaselineM stleQMcolor# @M Nasp#TextBox IDQMlandlinenoStxtM runatQMserverM :eightQM--pxM idthQM1-HpxM
8axLengthQM1MN/asp#TextBox Nasp#e=uired!ield?alidator IDQMe=uired!ield?alidator1M runatQMserverM
ontrolTo?alidateQMlandlinenoStxtM 5rror8essageQMKM!oreolorQMedMN/asp#e=uired!ield?alidator
N/td N/tr Ntr Ntd alignQM*ustifM bgcolorQM@!!M valignQMbaselineM stleQMcolor# @M $ecurit6uesN/td Ntd alignQM*ustifM bgcolorQM@!!M valignQMbaselineM stleQMcolor# @M Nasp#DropDownList IDQMsecurit=usSddlM runatQMserverM :eightQM1EpxM
idthQM-1pxM Nasp#ListItemhat is our best friend name \N/asp#ListItem
1
-
8/14/2019 Final Project on Doctor's Live
42/75
Doctor's LiveNasp#ListItemhat is our ni% name \N/asp#ListItem
Nasp#ListItemour mobile ,o \N/asp#ListItem Nasp#ListItemour girl friend name \N/asp#ListItem N/asp#DropDownList Nasp#e=uired!ield?alidator IDQMe=uired!ield?alidatorHM runatQMserverM
ontrolTo?alidateQMsecurit=usSddlM 5rror8essageQMKKM!oreolorQMedMN/asp#e=uired!ield?alidator
N/td N/tr Ntr Ntd alignQM*ustifM bgcolorQM@!!M rowspanQM-M valignQMbaselineM
stleQMcolor# @M $ecurit"nsN/td Ntd alignQM*ustifM bgcolorQM@!!M valignQMbaselineM stleQMcolor# @M Nasp#TextBox IDQMsecuritansStxtM runatQMserverM :eightQMCEpxM
Text8odeQM8ultiLineM idthQM-1pxMN/asp#TextBox Nasp#e=uired!ield?alidator IDQMe=uired!ield?alidatorM runatQMserverM
ontrolTo?alidateQMsecuritansStxtM 5rror8essageQMKM
!oreolorQMedMN/asp#e=uired!ield?alidator N/td N/tr Ntr Ntd alignQM*ustifM bgcolorQM@!!M valignQMbaselineM stleQMcolor# @M Nasp#Button IDQMButton-M runatQMserverM Bac%olorQM@44EE!!M !oreolorQMBlac%M
onclic%QMButton-Slic%M TextQM$I,J29M idthQM11-pxM / N/td N/tr N/table N/asp#ontent
NO;;N/bodN/html;;O
using $stem>using $stem.ollections.Jeneric>using $stem.Lin=>using $stem.eb>using $stem.eb.2I>using $stem.eb.2I.ebontrols>using $stem.Data>
using $stem.onfiguration>using $stem.Data.$=llient>//using com.eGGlearning.www>public partial class SDefault # $stem.eb.2I.9age] $=lonnection con> $=lommand cmd> protected void 9ageSLoad0ob*ect sender( 5vent"rgs e3 ]
-
-
8/14/2019 Final Project on Doctor's Live
43/75
Doctor's Live//ountrInformation$ervice s Q new ountrInformation$ervice03>
//Data$et ds Q s.Jetountries03> //for 0int i Q > i N ds.TablesXY.ows.ount> i[[3 //] // cntrSddl.Items."dd0ds.TablesXY.owsXiYXMcountrMY.To$tring033> //^ if 0UIs9ostBac%3
] dateSddl.Items.Insert0( M;Date;M3> mnthSddl.Items.Insert0( M;8onth;M3> earSddl.Items.Insert0( M;ear;M3>
for 0int d Q 1> d NQ 41> d[[3 ] dateSddl.Items."dd0d.To$tring033> ^ for 0int m Q 1> m NQ 1-> m[[3 ]
mnthSddl.Items."dd0m.To$tring033> ^ for 0int Q 1C> N -C> [[3 ] earSddl.Items."dd0.To$tring033> ^ ^ ^ protected void Button1Slic%10ob*ect sender( 5vent"rgs e3 ]
^
protected void Button-Slic%0ob*ect sender( 5vent"rgs e3 ] esponse.edirect0MR/Default.aspx.aspxM3> ^^
using $stem>
using $stem.ollections.Jeneric>using $stem.Lin=>using $stem.eb>using $stem.eb.2I>using $stem.eb.2I.ebontrols>using $stem.Data>using $stem.Data.$=llient>using $stem.onfiguration>
4
-
8/14/2019 Final Project on Doctor's Live
44/75
Doctor's Livepublic partial class DoctorLogin # $stem.eb.2I.9age] protected void 9ageSLoad0ob*ect sender( 5vent"rgs e3 ]
^ protected void Button-Slic%0ob*ect sender( 5vent"rgs e3
] esponse.edirect0MR/Doctor!orms/Doctor$ignup.aspxM3> ^ protected void Button1Slic%0ob*ect sender( 5vent"rgs e3 ] $=lonnection con Q new$=lonnection0onfiguration8anager.onnection$tringsXMconMY.onnection$tring3> $=lData"dapter adap Q new $=lData"dapter0Mselect DctrID(9assword from DoctorI,!7 where DctrIDQ'M[ TextBox1.Text [ M' and 9asswordQ'M [ TextBox-.Text [ M'M( con3> Data$et ds Q new Data$et03> adap.!ill0ds3>
if 0ds.TablesXY.ows.ount Q3 ] $essionXMLoginMY Q TextBox1.Text> esponse.edirect0MR/Doctor!orms/Doctor:ome.aspxM3> ^ else ] esponse.rite0Mtr againM3> ^
^
^using $stem>using $stem.ollections.Jeneric>using $stem.Lin=>using $stem.eb>using $stem.eb.2I>using $stem.eb.2I.ebontrols>using $stem.Data>using $stem.Data.$=llient>using $stem.onfiguration>
public partial class "dminLogin # $stem.eb.2I.9age] $=lonnection con> $=lData"dapter adap> DataTable dt> protected void 9ageSLoad0ob*ect sender( 5vent"rgs e3 ]
^
-
8/14/2019 Final Project on Doctor's Live
45/75
Doctor's Liveprotected void Login1S"uthenticate0ob*ect sender( "uthenticate5vent"rgs e3
] con Q new $=lonnection0onfiguration8anager.onnection$tringsXMconMY.onnection$tring3> adap Q new $=lData"dapter0Mselect K from "dminLogin where "dminIDQ'M [ Login1.2ser,ame [ M' andpasswordQ'M [ Login1.9assword [ M'M( con3> dt Q new DataTable03> adap.!ill0dt3>
if 0dt.ows.ount 3 ] $essionXMloginMY Q Login1.2ser,ame> esponse.edirect0MR/"dmin!orms/"dmin:ome.aspxM3> ^ else ] esponse.rite0Mtr againM3> ^ ^^
C
-
8/14/2019 Final Project on Doctor's Live
46/75
Doctor's Live
Chapter 9
Sapshot
E
-
8/14/2019 Final Project on Doctor's Live
47/75
Doctor's Live
9.1 sapshot
9.2'%$i Pae"#
Lo#i For$
This is the Login !orm in which the admin will login to access the site. This login form consists securit chec%
whether the logged user is admin or a user.
F
-
8/14/2019 Final Project on Doctor's Live
48/75
Doctor's Live
Lo#i For$ with 7a"i%atio
This form also consists of validations so that a correct email or password can be entered in order to login to
website. It also consist the validations li%e regular expression chec% which chec%s the format of the email that it
should be tped correctl. If the user username or password is incorrect then an error message will be displaed
i.e. Incorrect 2sername/9assword.
H
-
8/14/2019 Final Project on Doctor's Live
49/75
Doctor's Live
'%$i 3o$e Pa#e
This is the main home page of "dmin where admin can submit countr( state( cit( disease categor( disease sub
categor( disease prescription and also maintain Doctors account and feedbac%.
-
8/14/2019 Final Project on Doctor's Live
50/75
Doctor's Live
S&)$it State For$
In this first of all admin will select the countr from drop down list and then according to the countr selected
admin will submit state.
C
-
8/14/2019 Final Project on Doctor's Live
51/75
Doctor's Live
S&)$it Cit/ For$
ith the help of drop down list of countr and state admin can submit state.
C1
-
8/14/2019 Final Project on Doctor's Live
52/75
Doctor's Live
S&)$it Disease Cate#or/ For$
C-
-
8/14/2019 Final Project on Doctor's Live
53/75
Doctor's Live
S&)$it Disease S&)4Cate#or/ For$
C4
-
8/14/2019 Final Project on Doctor's Live
54/75
Doctor's Live
S&)$it Disease Prescriptio For$
C
-
8/14/2019 Final Project on Doctor's Live
55/75
Doctor's Live
'%% Doctor For$
"dmin will first of all verif the details of doctor b visiting the doctors who are interested to sing up in our
website and after that admin will add doctor and then send the email id and password to the doctor account so
that doctor will be able to log in with his Id and 9assword.
CC
-
8/14/2019 Final Project on Doctor's Live
56/75
Doctor's Live
9.( User Pae"
User Lo#i For$
This is as same described above in the admin panel. The user will login b providing his/her email
password in order to login to the website. If the user is new to the site he/she can create a new account b
clic%ing on the lin%.
CE
-
8/14/2019 Final Project on Doctor's Live
57/75
Doctor's Live
User Si#4&p For$
If the 2ser is new to the site then he/she can register in the site b clic%ing on the lin% $ign up at login form
"fter the user has filled all the data the user has to clic% on the submit button to register then the page will be
redirected to the :ome 9age of the website.
CF
-
8/14/2019 Final Project on Doctor's Live
58/75
Doctor's Live
User Si#4&p For$ with 7a"i%atios
This website also contains validations. 2ser must have to fulfill the all re=uirements of the website onl after
that he/she can log in otherwise a validation error will flash on the screen.
CH
-
8/14/2019 Final Project on Doctor's Live
59/75
Doctor's Live
User 3o$e Pa#e
"fter logged in user will redirect into his home page where he can add new patient( search doctor( update hisaccount( create account( see his account detail( chat with doctor.
C
-
8/14/2019 Final Project on Doctor's Live
60/75
Doctor's Live
'%% ew Patiet For$
E
-
8/14/2019 Final Project on Doctor's Live
61/75
Doctor's Live
'%% ew Patiet For$ with va"i%atio
E1
-
8/14/2019 Final Project on Doctor's Live
62/75
Doctor's Live
Search Doctor For$
!rom this page patient can search doctor according to his disease so that when patient will go in the onlinemode he/she would easil found the specific doctor.
E-
-
8/14/2019 Final Project on Doctor's Live
63/75
Doctor's Live
Pa/$et For$
"fter logged in first of all patient have to create his account i.e. if patient wants to chat with doctor then he has
to ma%e pament through demand draft.
E4
-
8/14/2019 Final Project on Doctor's Live
64/75
Doctor's Live
Up%ate User 'cco&t For$
E
-
8/14/2019 Final Project on Doctor's Live
65/75
Doctor's Live
User 'cco&t Detai" For$
EC
-
8/14/2019 Final Project on Doctor's Live
66/75
Doctor's Live
9. Doctor Pae"
Doctor Lo#i For$
"fter receiving an email Id and password doctor will be able to access his account and get logged In into this
website.
EE
-
8/14/2019 Final Project on Doctor's Live
67/75
Doctor's Live
3o$e Pa#e o! Doctor
EF
-
8/14/2019 Final Project on Doctor's Live
68/75
Doctor's Live
Up%ate acco&t For$
EH
-
8/14/2019 Final Project on Doctor's Live
69/75
Doctor's Live
Recor%s o! patiet For$
This form help doctor to maintain the record of the patient.
E
-
8/14/2019 Final Project on Doctor's Live
70/75
Doctor's Live
3o$e Pa#e For$
F
-
8/14/2019 Final Project on Doctor's Live
71/75
Doctor's Live
hapter E
Coc"&sios a% F&t&re
Scope Re!ereces
F1
-
8/14/2019 Final Project on Doctor's Live
72/75
Doctor's Live
CO,CLUSO,S
.1 Do$ai E5periece
8 Limited is wor%ing on various technologies. "lso the individual responsibilities are more. $o( I have
learnt a lot.
.2 E5pos&re to etire"/ %i!!eret techo"o#/
or%ing on "$9.,5T for the first time was a ver enriching experience. I had never wor%ed on this platform
earlier. $o it added to m list of %now how and the computer languages %nown to me.
.( Data)ase $p"e$etatio
I had earlier made database but wor%ed on $6L $erver for the first time. I learnt man new things about
database creation( concept of stored procedure etc. e learn man things theoreticall as part of our curriculum
but here I got a chance to appl m %nowledge practicall and enhance it also at the same time.
. $p"e$etatio o! 0&siess Lo#ic La/er >0LL?
I have implemented the classes for BLL( which provides the interface between 2I Laer and Data "ccess
Laer. This laer contains all the business logic( i.e. 9rogramming 8ethodolog to implement the functionalit
of the sstem. I had alwas read about ,;Tier architecture but this was again the first time I got to implement 4;
Tier logical architecture. $o it was a ver new and realistic experience.
.9 $p"e$etatio o! User ter!ace La/er >U La/er?
I have also designed the 2I laer that contains the web pages designed in Asp and Aava $cript. "lso it contains
the ode Behind pages to implement the programming logic.
:angout.com is ver hand tool for connectivit between people. $haring of %nowledge can be done
effectivel. ommunities regarding compan( institute( college( school( an product etc can be started and
information can be exchanged. It can be used as a picture sharing media too as user can upload pictures and
these pictures can be viewed b other friends or people who have permissions. !iles can be uploaded and hence
can be transferred easil within second.
F-
-
8/14/2019 Final Project on Doctor's Live
73/75
Doctor's Live"s this is $ocial ,etwor%ing site so its application is not ver specific. "pplications var with its tpe of use b
communit of people who are using it. $ince conclusions regarding the pro*ect are not so specific but onl the
main conclusion drawn from the pro*ect is that it can be a better social networ%ing site b the mar%eting
.considered as a next web application corresponding to another sites for social networ% among the societ
people.
. FUTURE SCOPE
ompletion of the development process will result in a software pac%age that will provide user;friendl
environment( which is ver eas to wor% with( even for people with ver little %nowledge of computer.
8anagement of various tas%s is incorporated in the pac%age and will deliver the re=uired information in a
ver eas to use and eas to access manner.
This pac%age will provide accurac( efficienc( speed and easiness to the end user. $ince the sstem is verified
with valid as well as invalid data and is run with an insight into the necessar modifications that ma re=uire in
the future( it can be maintained successfull without much.
F4
-
8/14/2019 Final Project on Doctor's Live
74/75
Doctor's Live
Chapter ;
00LO
-
8/14/2019 Final Project on Doctor's Live
75/75
Doctor's Live
;.1 00LO