Professional Documents
Culture Documents
Project Synopsis
On
SUBMITTED FOR THE PARTIAL FULFILMENT OF THE
REQUIREMENT FOR THE DEGREE OF
Submitted by:
Online Shoppe
Chapt
er 1
Abstr
act
R-World will start its operations in Mangalore city. It will commission 8 retail
outlets in the important residential localities of the city.
2 stock depots-East and West, will service r-World stock distribution. Each
stock depot will service 4 locations each. Inter depot stock transfers will also
happen to facilitate a balanced stock position.
Within each outlet, there are two kinds of stores that are maintained. Main
stores and Shelf inventory. Main stores reflect the outlets stores from where
items are moved to the shelf. Shelf inventory reflects items in stock on
various shelves in the outlet. Therefore, total stock of item is the main stores
stock added with the shelf inventory stock.
Minimum total stock(MTS) positions are defined for each item. Re-order
levels (ROL) are also defined for each item. Whenever stock falls to the Reorder level, stock indents are placed to the nearest stock depot. Stock depots
reach items twice everyday morning and afternoon.
Minimum Shelf quantities (MSQ) are maintained for each item within the
outlet. Whenever stock level in the shelf of a specific item falls to MSQ, the
outlet manager instructs replenishment of stock to the shelf.
The Dispatch Manager compiles door delivery orders three times during the
day. The cut-off time for packing for the 1.00 pm delivery is 10.30 am. At
10.30.a Customer-wise packing list is generated. Together with that, a Itemwise total quantity list is also generated. Packers assemble items in bags and
make a ticked off and the packer presents the list and the consignment to
the Dispatch clerk for billing. Two copies of the bill and consignment list are
stapled along with each consignment box. Boxes are loaded into the delivery
trucks
after
the
driver
verifies
the
Consignment
List
with
delivery
Delivery trucks are loaded with standard sized consignment boxes, which
come in three sizes-small, medium and Big. The total space of a Delivery
truck is fixed and therefore, it should be possible to calculate space
availability in a truck based on pending Door Delivery order volumes. Unless
specified, customer orders are loaded on first-come-first-served basis on the
delivery truck. Currently, there is only one truck. This will be increased as
order volumes increase.
Customers
Customers are divided into two categories. Walk-in customers and Account
Customers. Account customers are provided with the R-World card and they
may use that card while billing at the counter or alternatively, quote the Card
Number while ordering stocks over the Net.
Account customers can order for stocks over the Web. The minimum value
for door delivery orders is Rs.250.This amount may be revised later.
Customers need to be given a choice of item categories to choose from, item
lists with prices and status of item availability in stock.
Based on the delivery schedule and the status of space availability with in
each delivery, earliest delivery date/time will be intimated to the customer.
Account customers may also walk-in to the store, buy items and ask for door
delivery.
Customers may return items to the store and based on the situation, the
store may accept items back. Either money will be returned or customers
may buy another item and settle the difference (either way).
Volume discounts are defined for each item. Discount rates are defined for
quantity slabs. There may be any number of quantity slabs for individual
item. Some may have two and others may have up to 5 quantity slabs. This
can change in the future.
The project has been planned to be having the view of distributed architecture, with
centralized storage of the database. The application for the storage of the data has
been planned. Using the constructs of MS-SQLServer2000 and all the user
interfaces have been designed using the ASP.Net technologies. The database
connectivity is planned using the SQL Connection methodology. The standards of
security and data protective mechanism have been given a big choice for proper
usage. The application takes care of different modules and their associated reports
which are produced as per the applicable strategies and standards that are put
forwarded by the administrative staff.
Chapt
er 2
Project
Synopsis
The entire project has been developed keeping in view of the distributed client
server computing technology, in mind. The specification have been normalized up to
3NF to eliminate all the anomalies that may arise due to the database transaction
that are executed by the general users and the organizational administration. The
user interfaces are browser specific to give distributed accessibility for the overall
system. The internal database has been selected as MS-SQL server 200.The basic
constructs of tablespaces, clusters and indexes have been exploited to provide
higher consistency and reliability for the data storage. The MS-SQL server 200 was
a choice as it provides the constructs of high-level reliability and security. The total
front end was dominated using the ASP.Net technologies. At all proper levels high
care was taken to check that the system manages the data consistency with proper
business rules or validations. The database connectivity was planned using the
latest SQL Connection technology provided by Microsoft Corporation. The
authentication and authorization was crosschecked at all the relevant stages. The
user
level
accessibility
has
been
restricted
into
two
zones
namely.
The
Manual Process
States a glance
of the products
and selects the
required
products
Customer
physically visits
the Retail outlet
of his choice
Customers
leaves without
reference
Cross-verifies
the items from
bill
Bill clerk
raises the
Bill
The sales
person
precedes the
products as
per demand
The system at any point of time can provide the information related
to all the existing retail outlets and their operations.
The system at any point of time can provide the list of items and
their availability stock.
The system at any point of time can help the customers in raising
their orders.
Chapt
er 3
Fe a s i b i l
ity
Report
Technical Descriptions
Databases: The total number of databases has been identified as 21
entities. The major part of the databases is categorized as administrative
components
and
the
general
user
components.
The
administrative
components are useful in managing the actual master data that is very much
necessary to maintain the consistency upon the system. The administrative
databases are purely used for the internal organizational needs and
necessities only at the upper and middle management areas.
The user components are designed to handle the transactional states that
arise
upon
the
system
whenever
the
general
employee
within
the
organization visits the user interface for mock enquiry for the required data.
The normal user interfaces get associated to the environment mostly for the
sake of report standardization. The user components are scheduled to accept
parametrical information from the users as per the system necessity.
GUIs
In the flexibility of the uses the interface has been developed a graphics
concept in mind, associated through a browses interface. The GUIS at the
top level have been categorized as
1. Administrative user interface
2. The operational or generic user interface
The administrative user interface concentrates on the consistent information
that is practically, part of the organizational activities and which needs
proper authentication for the data collection. The interfaces help the
administrations with all the transactional states like Data insertion, Data
deletion and Date updation along with the extensive data search capabilities.
The operational or generic user interface helps the users upon the system in
transactions through the existing data and required services. The operational
user interface also helps the ordinary users in managing their own
information helps the ordinary users in managing their own information in a
customized manner as per the assisted flexibilities.
Number of Modules
The system after careful analysis has been identified to be presented with
the following modules:
1. Retail outlet operations Module: This module maintains the
information
to
the
existing
retail
outlets,
and
their
subjective
Chapt
er 4
Analysis
Report
SRS
Document:
The overall documents for this project use the recognized modeling
standards at the software industries level.
The Physical dispense, which state the overall data search for
the relational key whereas a transactions is implemented on
the wear entities.
The standards of flow charts at the required states that are the
functionality of the operations need more concentration.
Feature
Reliability
C o n c u r r e n c y, s c a l a b i l i t y, a n d r e l i a b i l i t y a r e i m p r o v e d
with simplified data structures and algorithms. Runtime checks of critical data structures make the
database much more robust, minimizing the need for
consistency checks.
Scalability
Ease of Use
Feature
D a t a Typ e
Sizes
Databases
and Files
Dynamic
Memory
Evolution
T h e n e w a r c h i t e c t u r e i s d e s i g n e d f o r e x t e n s i b i l i t y,
with a foundation for object-relational features.
original
code
was
inherited
from
Sybase
and
designed
for
low-end
to
high-end
systems,
improving
performance
and
m a n a g e a b i l i t y.
Benefits
There are many benefits of the new on-disk layout, including:
Description
Primary
data file
Secondary
data files
These files are optional and can hold all data and
objects that are not on the primary data file. Some
databases may not have any secondary data files,
while others have multiple secondary data files.
Log files
File groups
A database now consists of one or more data files and one or more
log files. The data files can be grouped together into user-defined
f i l e g r o u p s . Tab l e s a n d i n d e x e s c a n t h e n b e m a p p e d t o d i f f e r e n t
filegroups to control data placement on physical disks. Filegroups
are a convenient unit of administration, greatly improving
f l e x i b i l i t y. S Q L S e r v e r 7 . 0 w i l l a l l o w y o u t o b a c k u p a d i f f e r e n t
portion of the database each night on a rotating schedule by
choosing which filegroups to back up. Filegroups work well for
sophisticated users who know where they want to place indexes
and tables. SQL Server 7.0 can work quite effectively without
filegroups.
Log files are never a part of a file group. Log space is managed
separately from data space.
Using Files and File groups
Using files and file groups improves database performance by
allowing a database to be created across multiple disks, multiple
disk controllers, or redundant array of inexpensive disks (RAID)
systems. For example, if your computer has four disks, you can
create a database that comprises three data files and one log file,
with one file on each disk. As data is accessed, four read/write
heads can simultaneously access the data in parallel, which speeds
u p d a t a b a s e o p e r a t i o n s . A d d i t i o n a l l y, f i l e s a n d f i l e g r o u p s a l l o w
better data placement because a table can be created in a specific
file group. This improves performance because all I/O for a specific
table can be directed at a specific disk. For example, a heavily
used table can be placed on one file in one file group and located
on one disk. The other less heavily accessed tables in the database
can be placed on other files in another file group, located on a
second disk.
Space Management
There are many improvements in the allocations of space and the
management of space within files. The data structures that keep
track of page-to-object relationships were redesigned. Instead of
linked lists of pages, bitmaps are used because they are cleaner
and simpler and facilitate parallel scans. Now each file is more
a u t o n o m o u s ; i t h a s m o r e d a t a a b o u t i t s e l f, w i t h i n i t s e l f. T h i s w o r k s
well for copying or mailing database files.
SQL Server now has a much more efficient system for tracking
table space. The changes enable
a u t o m a t i c a l l y, b u t o n l y t o a p r e d e f i n e d m a x i m u m
prevents disk drives from running out of space.
Allowing files to grow automatically can
those files if a large number of files
Therefore, it is recommended that files or
as many different local physical disks as
that compete heavily for space in different
size.
This
cause fragmentation of
share the same disk.
filegroups be created on
available. Place objects
filegroups.
Contains
Data
Index
Index entries
Log
Tex t / I m a g e
Tex t , n t e x t , a n d i m a g e d a t a
Information
pages
about
free
space
available
on
for
Locking Enhancements
Row-Level Locking
SQL Server 6.5 introduced a limited version of row locking on
inserts. SQL Server 7.0 now supports full row-level locking for both
d a t a r o w s a n d i n d e x e n t r i e s . Tra n s a c t i o n s c a n u p d a t e i n d i v i d u a l
r e c o r d s w i t h o u t l o c k i n g e n t i r e p a g e s . M a n y O LTP a p p l i c a t i o n s c a n
e x p e r i e n c e i n c r e a s e d c o n c u r r e n c y, e s p e c i a l l y w h e n a p p l i c a t i o n s
append rows to tables and indexes.
Dynamic Locking
SQL Server 7.0 has a superior locking mechanism that
t h e d a t a b a s e i n d u s t r y. A t r u n t i m e , t h e s t o r a g e e n g i n e
cooperates with the query processor to choose the
l o c k i n g s t r a t e g y, b a s e d o n t h e c h a r a c t e r i s t i c s o f t h e
q u e r y.
is unique in
dynamically
lowest-cost
schema and
Simplified
database
administration,
because
database
administrators no longer need to be concerned with adjusting
lock escalation thresholds.
Lock Modes
SQL Server locks resources using different lock modes that
determine how the resources can be accessed by concurrent
transactions.
SQL Server uses several resource lock modes:
Lock mode
Description
Shared
Update
Exclusive
Intent
U s e d t o e s t a b l i s h a l o c k h i e r a r c h y.
Schema
Table Indexes
A SQL Server index is a structure associated with a table that
speeds retrieval of the rows in the table. An index contains keys
built from one or more columns in the table. These keys are stored
in a structure that allows SQL Server to quickly and efficiently find
the row or rows associated with the key values. This structure is
called a heap. The two types of SQL Server indexes are clustered
and nonclustered indexes
Clustered Indexes
A clustered index is one in which the order of the values in the
index is the same as the order of the data stored in the table.
The clustered index contains a hierarchical tree. When searching
for data based on a clustered index value, SQL Server quickly
isolates the page with the specified value and then searches the
page for the record or records with the specified value. The lowest
level, or leaf node, of the index tree is the page that contains the
data.
Nonclustered Indexes
A nonclustered index is analogous to an index in a textbook. The
d a t a i s s t o r e d i n o n e p l a c e ; t h e i n d e x i s s t o r e d i n a n o t h e r, w i t h
pointers to the storage location of the indexed items in the data.
The lowest level, or leaf node, of a nonclustered index is the Row
I d e n t i f i e r o f t h e i n d e x e n t r y, w h i c h g i v e s S Q L S e r v e r t h e l o c a t i o n
of the actual data row. The Row Identifier can have one of two
forms. If the table has a clustered index, the identifier of the row
i s t h e c l u s t e r e d i n d e x k e y. I f t h e t a b l e i s a h e a p , t h e R o w I d e n t i f i e r
is the actual location of the data row, indicated with a page
number and offset on the page. Therefore, a nonclustered index, in
comparison with a clustered index, has an extra level between the
index structure and the data itself.
When SQL Server searches for data based on a nonclustered index,
it searches the index for the specified value to obtain the location
of the rows of data and then retrieves the data from their storage
locations. This makes nonclustered indexes the optimal choice for
exact-match queries.
Some books contain multiple indexes. Since nonclustered indexes
frequently store clustered index keys as their pointers to data
rows, it is important to keep clustered index keys as small as
possible.
SQL Server supports up to 249 nonclustered indexes on each table.
The nonclustered indexes have a b-tree index structure similar to
the one in clustered indexes. The difference is that nonclustered
indexes have no effect on the order of the data rows. The
collection of data pages for a heap is not affected if nonclustered
indexes are defined for the table.
Second
normal
form:
Involves
taking
out
data
that
is
only
d e p e n d e n t o n p a r t o f k e y.
Third
normal
form:
Involves
removing
the
transitive
doesnt
depend
Solely
on
the
primary
k e y. T h u s ,
through
ANSI
(American
national
standard
institute)
and
the
ISO
Data
can
Language
be
manipulated
upon
by
using
the
Data
Manipulation
update, and delete. SQL *plus 3.3 can be accessed only by giving
the
valid
username
and
password.
This
is
one
of
the
security
MS.NET
Overview of the .NET Framework
The .NET Framework is a new computing platform that simplifies
application development in the highly distributed environment of
the
Internet.
The
.NET
Framework
is
designed
to
fulfill
the
following objectives:
To
provide
consistent
object-oriented
programming
executed
locally
but
Internet-distributed,
or
e x e c u t e d r e m o t e l y.
To p r o v i d e a c o d e - e x e c u t i o n e n v i r o n m e n t t h a t m i n i m i z e s
software deployment and versioning conflicts.
To
provide
guarantees
a
safe
code-execution
execution
of
environment
code,
that
including
code
c r e a t e d b y a n u n k n o w n o r s e m i - t r u s t e d t h i r d p a r t y.
To p r o v i d e a c o d e - e x e c u t i o n e n v i r o n m e n t t h a t e l i m i n a t e s
the
performance
problems
of
scripted
or
interpreted
environments.
To
make
the
developer
experience
consistent
across
To
build
ensure
all
that
communication
code
based
on
on
the
industry
.NET
standards
Framework
to
can
The
.NET
Framework
language
runtime
common
language
has
and
two
the
main
.NET
runtime
is
components:
Framework
the
the
class
foundation
common
l i b r a r y.
of
the
The
.NET
F r a m e w o r k . You c a n t h i n k o f t h e r u n t i m e a s a n a g e n t t h a t m a n a g e s
code at execution time, providing core services such as memory
management,
thread
management,
and
remoting,
while
also
enforcing strict type safety and other forms of code accuracy that
ensure
security
and
robustness.
In
fact,
the
concept
of
code
can
use
to
develop
command-line
or
graphical
applications
user
ranging
interface
from
(GUI)
traditional
applications
to
a p p l i c a t i o n s b a s e d o n t h e l a t e s t i n n o v a t i o n s p r o v i d e d b y A S P.N E T,
s u c h a s W eb F o r m s a n d X M L W eb s e r v i c e s .
The .NET Framework can be hosted by unmanaged components
that load the common language runtime into their processes and
initiate
software
the
execution
environment
unmanaged
features.
of
that
The
managed
can
.NET
code,
exploit
Framework
thereby
both
not
creating
managed
only
and
provides
several runtime hosts, but also supports the development of thirdparty runtime hosts.
For
e x a m p l e , A S P.N E T h o s t s t h e r u n t i m e t o p r o v i d e a s c a l a b l e ,
s e r v e r - s i d e e n v i r o n m e n t f o r m a n a g e d c o d e . A S P.N E T w o r k s d i r e c t l y
w i t h t h e r u n t i m e t o e n a b l e W eb F o r m s a p p l i c a t i o n s a n d X M L W eb
services, both of which are discussed later in this topic.
Internet Explorer is an example of an unmanaged application that
hosts the runtime (in the form of a MIME type extension). Using
Internet
managed
Explorer
to
host
components
or
the
runtime
Windows
enables
Forms
you
controls
to
embed
in
HTML
common
language
runtime
manages
m e m o r y,
thread
operations,
or
other
sensitive
functions,
even
if
it
is
type-
and
code-verification
infrastructure
called
the
common type system (CTS). The CTS ensures that all managed
code is self-describing. The various Microsoft and third-party
language compilers generate managed code that conforms to the
CTS. This means that managed code can consume other managed
types and instances, while strictly enforcing type fidelity and
t y p e s a f e t y.
In
addition,
eliminates
runtime
the
many
managed
common
automatically
environment
software
handles
issues.
object
of
For
layout
the
runtime
example,
and
the
manages
runtime
example,
also
accelerates
programmers
can
developer
write
p r o d u c t i v i t y.
applications
in
For
their
the
languages
by
class
l i b r a r y,
other
and
components
developers.
Any
written
compiler
in
vendor
other
who
also
supports
software
of
today
and
y e s t e r d a y.
native
machine
language
of
the
system
on
which
it
is
executing.
Meanwhile,
possibilities
of
the
memory
manager
fragmented
memory
and
removes
increases
the
memory
the
runtime
can
be
hosted
by
high-performance,
the
superior
performance
of
the
industry's
best
runtime's
support
for
cross-language
integration.
The
framework
that
enables
cross-language
i n t e g r a t i o n , t y p e s a f e t y, a n d h i g h p e r f o r m a n c e c o d e e x e c u t i o n .
Provides an object-oriented model that supports the complete
implementation of many programming languages.
Defines rules that languages must follow, which helps ensure
that objects written in different languages can interact with each
o t h e r.
I n T h i s S e c t i o n C o m m o n Typ e S y s t e m O v e r v i e w
Describes concepts and defines terms relating to the common
type system.
Type Definitions
Describes user-defined types.
Type Members
Describes events, fields, nested types, methods, and properties,
and
concepts
such
as
member
overloading,
overriding,
and
inheritance.
Value Types
Describes built-in and user-defined value types.
Classes
Describes the characteristics of common language runtime classes.
Delegates
Describes the delegate object, which is the managed alternative to
unmanaged function pointers.
Arrays
Describes common language runtime array types.
Interfaces
Describes
characteristics
of
interfaces
and
the
restrictions
on
Related Sections
. NET Framework Class Library
Provides a reference to the classes, interfaces, and value types
included in the Microsoft .NET Framework SDK.
Common Language Runtime
Describes the run-time environment that manages the execution of
code and provides application development services.
Cross-Language Interoperability
The
common
language
runtime
language
i n t e r o p e r a b i l i t y.
guarantee
that
developers
provides
H o w e v e r,
using
built-in
this
another
support
support
does
programming
for
not
language
c a n u s e c o d e y o u w r i t e . To e n s u r e t h a t y o u c a n d e v e l o p m a n a g e d
code that can be fully used by developers using any programming
language, a set of language features and rules for using them
called the Common Language Specification (CLS) has been defined.
Components that follow these rules and expose only CLS features
are considered CLS-compliant.
This
section
describes
the
common
language
runtime's
built-in
support for language interoperability and explains the role that the
C L S p l a y s i n e n a b l i n g g u a r a n t e e d c r o s s - l a n g u a g e i n t e r o p e r a b i l i t y.
CLS
features
and
rules
are
identified
and
CLS
compliance
is
discussed.
In This Section
Language Interoperability
Describes built-in support for cross-language interoperability and
introduces the Common Language Specification.
the
meaning
of
CLS
compliance
for
components
and
how
types
are
declared,
used,
and
managed
by
the
Framework
types
easy
to
use,
but
also
reduces
the
time
addition,
third-party
components
can
integrate
seamlessly
with
You r
collection
classes
will
blend
seamlessly
with
the
these
support
common
a
variety
tasks,
of
the
class
specialized
library
includes
development
types
scenarios.
that
For
example, you can use the .NET Framework to develop the following
types of applications and services:
Console applications.
ASP.NET applications.
Windows services.
applications
are
the
closest
to
traditional
style
of
that
user
display
to
windows
perform
or
task.
forms
Client
on
the
desktop,
applications
include
and
so
on.
Client
applications
usually
employ
windows,
menus, buttons, and other GUI elements, and they likely access
local resources such as the file system and peripherals such as
printers.
Another kind of client application is the traditional ActiveX control
(now replaced by the managed Windows Forms control) deployed
o v e r t h e I n t e r n e t a s a We b p a g e . T h i s a p p l i c a t i o n i s m u c h l i k e
o t h e r c l i e n t a p p l i c a t i o n s : i t i s e x e c u t e d n a t i v e l y, h a s a c c e s s t o
local resources, and includes graphical elements.
In the past, developers created such applications using C/C++ in
conjunction with the Microsoft Foundation Classes (MFC) or with a
rapid
application
development
Microsoft
Visual
Basic.
aspects
these
existing
of
development
environment
The
(RAD)
.NET
products
that
environment
Framework
into
drastically
such
as
incorporates
single,
consistent
simplifies
the
windows,
buttons,
menus,
toolbars,
and
other
screen
operating
attributes
d i r e c t l y,
system
and
in
does
these
not
support
cases
the
changing
.NET
these
Framework
the
.NET
Framework
integrates
the
developer
interface,
must
use
one
or more
language
compilers
that
target
the
runtime.
Compiling
your
code
to
Microsoft
Intermediate
Language
(MSIL)
Compiling translates your source code into MSIL and generates the
required metadata.
native
code.
During
this
compilation,
code
must
pass
common
language
runtime
provides
the
infrastructure
that
contains
Microsoft
code
that
intermediate
the
common
language
language
(MSIL)
runtime
code
in
executes.
portable
boundaries
as
they
apply
to
assemblies,
see
Assembly
Security Considerations
I t f o r m s a t y p e b o u n d a r y. E v e r y t y p e ' s i d e n t i t y i n c l u d e s t h e n a m e
o f t h e a s s e m b l y i n w h i c h i t r e s i d e s . A t y p e c a l l e d M y Typ e l o a d e d i n
t h e s c o p e o f o n e a s s e m b l y i s n o t t h e s a m e a s a t y p e c a l l e d M y Typ e
l o a d e d i n t h e s c o p e o f a n o t h e r a s s e m b l y.
It
forms
reference
scope
b o u n d a r y.
The
assembly's
manifest
are
exposed
outside
the
a s s e m b l y.
The
manifest
also
forms
version
b o u n d a r y.
The
assembly
is
the
smallest
in
assembly's
the
same
manifest
assembly
describes
are
the
versioned
version
as
unit.
The
dependencies
you
that
the
assemblies,
application
such
as
initially
localization
calls
must
resources
be
or
present.
assemblies
information
about
deploying
assemblies,
see
Deploying
Applications
It is the unit at which side-by-side execution is supported. For
more
information
about
running
multiple
versions
of
the
same
a s s e m b l y, s e e S i d e - b y - S i d e E x e c u t i o n
Assemblies
can
be
static
or
dynamic.
Static
assemblies
can
There
are
several
ways
to
create
assemblies.
You
can
use
d e v e l o p m e n t t o o l s , s u c h a s V i s u a l S t u d i o . N E T, t h a t y o u h a v e u s e d
i n t h e p a s t t o c r e a t e . d l l o r . e x e f i l e s . You c a n u s e t o o l s p r o v i d e d
in the .NET Framework SDK to create assemblies with modules
created
in
other
development
environments.
You
can
also
use
runtime,
which
allows
your
custom
managed
code
to
c o n t r o l t h e b e h a v i o r o f t h e s e r v e r. T h i s m o d e l p r o v i d e s y o u w i t h a l l
the features of the common language runtime and class library
w h i l e g a i n i n g t h e p e r f o r m a n c e a n d s c a l a b i l i t y o f t h e h o s t s e r v e r.
The
following
illustration
shows
basic
network
schema
with
is
architecture
objects
more
for
using
than
just
developing
managed
runtime
W eb
code.
A S P.N E T
sites
Both
as the
host;
and
W eb
it
is
complete
Internet-distributed
Forms
publishing
and
XML
W eb
mechanism for
XML
Web
services,
t e c h n o l o g y,
are
similar
common
to
an
important
distributed,
W eb
evolution
server-side
sites.
in
Web-based
application
components
H o w e v e r,
unlike
We b - b a s e d
for
browsers
such
as
Internet
Explorer
and
Netscape
N a v i g a t o r. I n s t e a d , X M L W e b s e r v i c e s c o n s i s t o f r e u s a b l e s o f t w a r e
components designed to be consumed by other applications, such
as traditional client applications, Web-based applications, or even
o t h e r X M L W eb s e r v i c e s . A s a r e s u l t , X M L W e b s e r v i c e s t e c h n o l o g y
is rapidly moving application development and deployment into the
highly distributed environment of the Internet.
If
you
have
used
earlier
versions
of
ASP
t e c h n o l o g y,
you
will
i m m e d i a t e l y n o t i c e t h e i m p r o v e m e n t s t h a t A S P.N E T a n d W eb F o r m s
offers. For
e x a m p l e , y o u c a n d e v e l o p W eb F o r m s p a g e s i n a n y
longer
needs
to
share
the
same
file
with
your
HTTP
text
( a l t h o u g h i t c a n c o n t i n u e t o d o s o i f y o u p r e f e r ) . W eb F o r m s p a g e s
execute
in
native
machine
language
because,
like
any
other
unmanaged
ASP
pages
are
always
scripted
and
i n t e r p r e t e d . A S P.N E T p a g e s a r e f a s t e r, m o r e f u n c t i o n a l , a n d e a s i e r
to develop than unmanaged ASP pages because they interact with
the runtime like any managed application.
The .NET Framework also provides a collection of classes and tools
to
aid
in
development
applications.
XML
Web
and
consumption
services
are
built
of
XML
W eb
on
standards
services
such
as
.NET
and
WSDL
Framework
(the
is
W eb
built
Services
on
these
Description
standards
Language).
to
promote
F o r e x a m p l e , t h e W eb S e r v i c e s D e s c r i p t i o n L a n g u a g e t o o l i n c l u d e d
with
the
.NET
Framework
SDK
can
query
an
XML
W eb
service
Visual
Basic
source
code
that
your
application
can
use
to
become a client of the XML Web service. The source code can
create classes derived from classes in the class library that handle
all the underlying communication
Although
library
you
can
use
the
class
to
consume
XML
W eb
s e r v i c e s d i r e c t l y, t h e W eb S e r v i c e s D e s c r i p t i o n L a n g u a g e t o o l a n d
the other tools contained in the SDK facilitate your development
efforts with the .NET Framework.
I f you develop and publish your own XML Web service, the .NET
Framework
provides
set
underlying
communication
of
classes
standards,
that
such
conform
as
to
all
the
S O A P, W S D L , a n d
XML. Using those classes enables you to focus on the logic of your
service,
without
concerning
yourself
with
the
communications
Web
service
will
run
with
the
speed
of
native
machine
section
describes
the
programming
essentials
you
need
to
concepts,
as
well
explanations.
Accessing Data with ADO.NET
as
code
samples
and
detailed
Objects
in
Other
Application
Domains
using
.NET
Remoting
Describes
the
various
communications
methods
available
in
the
the
set
of
managed
types
in
the
the
various
collection
types
available
in
the
.NET
process,
creates
the
application
domain
within
the
asynchronous
programming
features
in
the
.NET
Framework.
Interoperating with Unmanaged Code
Describes
interoperability
services
provided
by
the
common
language runtime.
Managing Applications Using WMI
Explains how to create applications using Windows Management
Instrumentation
management
(WMI),
services
which
built
in
provides
to
the
rich
set
Microsoft
of
system
Windows
operating systems.
Creating Messaging Components
Discusses
how
applications.
to
build
complex
messaging
into
your
Processing Transactions
Discusses the .NET Framework support for transactions.
Programming Essentials for Garbage Collection
Discusses how the garbage collector manages memory and how
y o u c a n p r o g r a m t o u s e m e m o r y m o r e e f f i c i e n t l y.
Describes
how
to
create
and
work
with
assemblies
and
application domains.
Securing Applications
Describes
.NET
Framework
code
access
s e c u r i t y,
role-based
s e c u r i t y, s e c u r i t y p o l i c y, a n d s e c u r i t y t o o l s .
Serializing Objects
Discusses XML serialization.
Creating System Monitoring Components
Discusses how to use performance counters and event logs with
your application.
Threading
Explains the runtime support for threading and how to program
using various synchronization techniques.
Working With Base Types
Discusses
formatting
and
parsing
base
data
types
and
using
A S P,
it
also
provides
new
programming
model
and
easily
include
the
access
the
managed
benefits
common
of
these
language
technologies,
runtime
which
environment,
t y p e s a f e t y, i n h e r i t a n c e , a n d s o o n .
A S P.N E T h a s b e e n d e s i g n e d t o w o r k s e a m l e s s l y w i t h W Y S I W Y G
HTML editors and other programming tools, including Microsoft
V i s u a l S t u d i o . N E T. N o t o n l y d o e s t h i s m a k e W eb d e v e l o p m e n t
e a s i e r, b u t i t a l s o p r o v i d e s a l l t h e b e n e f i t s t h a t t h e s e t o o l s h a v e
t o o f f e r, i n c l u d i n g a G U I t h a t d e v e l o p e r s c a n u s e t o d r o p s e r v e r
controls
support.
onto
We b
page
and
fully
integrated
debugging
cache
frequently
used
data,
or
customize
your
on
how
to
develop
A S P.N E T
server
controls,
see
D e v e l o p i n g A S P.N E T S e r v e r C o n t r o l s
An
XML
W eb
functionality
service
provides
r e m o t e l y.
Using
the
Web
means
to
services,
access
server
businesses
can
system
can
access
XML
Web
services.
For
more
i n f o r m a t i o n , s e e X M L We b S e r v i c e s a n d X M L W e b S e r v i c e C l i e n t s
C r e a t e d U s i n g A S P.N E T
E a c h o f t h e s e m o d e l s c a n t a k e f u l l a d v a n t a g e o f a l l A S P.N E T
features, as well as the power of the .NET Framework and .NET
you
have
ASP
development
skills,
the
new
A S P.N E T
p r o g r a m m i n g m o d e l w i l l s e e m v e r y f a m i l i a r t o y o u . H o w e v e r, t h e
A S P.N E T
making
this
object
it
more
means
model
has
structured
that
A S P.N E T
changed
and
is
significantly
from
A S P,
object-oriented. Unfortunately
not
fully
backward
compatible;
most
involve
a few lines
only
cases,
though,
of
code.
the
For
necessary
more
changes
will
information, see
M i g r a t i n g f r o m A S P t o A S P.N E T
A c c e s s i n g d a t a b a s e s f r o m A S P.N E T a p p l i c a t i o n s i s a n o f t e n - u s e d
technique
for
displaying
data
to
W eb
site
visitors.
A S P.N E T
of
their
W eb
application.
For
more
information,
see
A S P.N E T A p p l i c a t i o n s
A S P.N E T
provides
easy-to-use
application
and
session-state
compatible
with
all
other
.NET
Framework
APIs.
For
more
i n f o r m a t i o n , s e e A S P.N E T S t a t e M a n a g e m e n t
For advanced developers who want to use APIs as powerful as
the
ISAPI
programming
interfaces
that
were
included
with
p r e v i o u s v e r s i o n s o f A S P, A S P.N E T o f f e r s t h e I H t t p H a n d l e r a n d
IHttpModule interfaces. Implementing the IHttpHandler interface
gives you a means of interacting with the low-level request and
response
services
functionality
much
programming
of
like
model.
the
ISAPI
IIS
W eb
server
extensions,
Implementing
the
but
and
with
IHttpModule
provides
a
simpler
interface
has
been
designed
to
offer
significant
performance
early
binding,
strong
typing,
and
just-in-time
(JIT)
significant
effort.
A S P.N E T
offers
the
Tra c e
Context
are
human
readable
and
writable.
Each
of
your
.NET
Framework
applications
and
enables
services,
powerful
including
new
A S P.N E T
Web-based
applications,
instructive
overviews
and
detailed,
step-by-step
This
section
Framework
also
includes
design-time
information
architecture
to
on
using
support
the
visual
.NET
design
Shows
how
language
to
use
runtime
the
to
.NET
create
Framework
and
the
self-described,
common
self-contained
applications.
Configuring Applications
Explains how developers and administrators can apply settings
to various types of configuration files.
Debugging and Profiling Applications
To
debug
.NET
Framework
application,
the
compiler
and
if
Microsoft
possible,
for
the
Intermediate
application
Language
and
(MSIL).
its
corresponding
Once
managed
.NET
Visual
Framework
Studio
applications
. N E T, w h i c h
handles
are
easily
many
of
debugged
the
using
configuration
Debugger
(Cordbg.exe),
which
is
command-line
Debugger
(DbgCLR.exe),
d e b u g g e r.
Microsoft
common
language
w h i c h i s a W i n d o w s d e b u g g e r.
runtime
Event
Log,
and
Performance
Counter
classes
for
debugging
managed
code.
It
is
located
in
the
M i c r o s o f t . N E T / F r a m e w o r k S D K / G u i D e b u g f o l d e r.
Enabling JIT-attach Debugging
Shows
how
to
configure
the
registry
to
J I T-a t t a c h
debug
H T M L s e r v e r c o n t r o l s . W eb s e r v e r c o n t r o l s i n c l u d e n o t o n l y f o r m type controls such as buttons and text boxes, but also specialp u r p o s e c o n t r o l s s u c h a s a c a l e n d a r. We b s e r v e r c o n t r o l s a r e
more abstract than HTML server controls in that their object
model does not necessarily reflect HTML syntax.
Val i d a t i o n c o n t r o l s
t o t e s t a u s e r ' s i n p u t . You a t t a c h a v a l i d a t i o n c o n t r o l t o a n i n p u t
control
to
test
what
the
user
enters
for
that
input
control.
Val i d a t i o n c o n t r o l s a r e p r o v i d e d t o a l l o w y o u t o c h e c k f o r a
required field, to test against a specific value or pattern of
characters, to verify that a value lies within a range, and so on.
User controls
C o n t r o l s t h a t y o u c r e a t e a s W eb F o r m s p a g e s .
You c a n e m b e d W eb F o r m s u s e r c o n t r o l s i n o t h e r W e b F o r m s
pages, which is an easy way to create menus, toolbars, and
other reusable elements.
You
can
following
use
all
types
sections
controls. For
more
of
provide
controls
more
information
on
detail
the
same
about
page.
A S P.N E T
The
server
W e b F o r m s Val i d a t i o n f o r i n f o r m a t i o n a b o u t u s e r c o n t r o l s ; s e e
I n t r o d u c t i o n t o W eb U s e r C o n t r o l s
HTML Server Controls
HTML server controls are HTML elements containing attributes
t h a t m a k e t h e m v i s i b l e t o a n d p r o g r a m m a b l e o n t h e s e r v e r.
By
default,
HTML
elements
on
Web
Forms
page
are
not
element on
a page
can
be converted
to
an
HTML
the
control
familiar
exposes
object-oriented
properties
that
techniques.
allow
you
to
Each
server
manipulate
the
server
controls
are
automatically
maintained
when
the
p a g e i s s e n t b a c k t o t h e b r o w s e r.
Interaction with validation controls you can easily verify that a
user has entered appropriate information into a control.
Data binding to one or more properties of the control.
Support for HTML 4.0 styles if the Web Forms page is displayed
in a browser that supports cascading style sheets. Pass-through
o f c u s t o m a t t r i b u t e s . You c a n a d d a n y a t t r i b u t e s y o u n e e d t o a n
HTML server control and the page framework will read them and
r e n d e r t h e m w i t h o u t a n y c h a n g e i n f u n c t i o n a l i t y. T h i s a l l o w s y o u
to add browser-specific attributes to your controls. For details
about
how
to
convert
an
HTML
element
to
an
HTML
server
c o n t r o l , s e e A d d i n g H T M L S e r v e r C o n t r o l s t o a W eb F o r m s P a g e
Web Server Controls
Web server controls are a second set of controls designed with a
different emphasis. They do not map one-to-one to HTML server
controls. Instead, they are defined as abstract controls in which
the actual HTML rendered by the control can be quite different
from
the
model
that
you
program
against.
For
example,
R a d i o B u t t o n L i s t W eb s e r v e r c o n t r o l m i g h t b e r e n d e r e d i n a t a b l e
or as inline text with other HTML.
Web server controls include traditional form controls such as
buttons and text boxes as well as complex controls such as
tables. They also include controls that provide commonly used
form functionality such as displaying data in a grid, choosing
dates, and so on.
Web server controls offer all of the features described above for
HTML
server
controls
(except
one-to-one
mapping
to
HTML
rich
object
model
that
provides
type-safe
programming
capabilities.
Automatic browser detection. The controls can detect browser
capabilities and create appropriate output for both basic and
rich (HTML 4.0) browsers.
For some controls, the ability to define your own look for the
control using templates
For
event
causes
immediate
posting
to
the
server
or
is
instead
the
rendered
Web
on
Forms
the
page
page
using
runs,
the
W eb
appropriate
server
HTML,
control
which
is
often
depends not only on the browser type but also on settings that
y o u h a v e m a d e f o r t h e c o n t r o l . F o r e x a m p l e , a Tex t b o x c o n t r o l
might
render
as
an
<INPUT>
tag
or
< T E X T AR E A >
tag,
Chapt
er 5
Design
Docume
nt
Design Document
ER-Diagrams
Data object
Relationships
Attributes
view
represents
the
system
from
the
users
perspective.
ii. The analysis representation describes a usage scenario
from the end-users perspective.
Customers
Sales staff
Internal Administrator
Customers: They are the actors who manage themselves onto the system
to execute the standard of material purchase,they prescriptionally log onto
the system and they have the privilege of placing the orders and checking
the status of inventory.
Login
Information
Customer
Registration
Query for
existing
items
Administrator
Raising
order
High-level Diagram
Sales staff
These are the internal actor within the systems; they execute the sales
process, with specific to the orders that are raised by the customers.
Login
Information
Sales Staff
Query for
customers
orders
Query for
items
inventory
Generate
Bill
Internal Administrators: These are the actors who have the overall
control and construct upon the data maintenance of the system. He is in
charge of any consistent data transactions that may execute upon the
system.
Login
Information
Register
outlets
Register stock
depots
Internal
Administrator
Register
Items
Maintain
stores
inventory
<<Uses>>
Customer
Request for
raising order
<<Uses>>
<<Uses>>
Authenticate login
name
<<Uses>>
<<Uses>>
<<Uses>>
Authenticate
password
Generate
customer account
number
<<Uses>>
<<Uses>>
Validate data
fields
Store
<<Uses>>
<<Uses>>
Enter the
item
information
screen
<<Uses>>
Generate Order
No
Accessibility
associated through
privilege
Display
<<Uses>>
Order the
Retail outlet Id
Validate data
fields
<<Uses>>
Display
<<Uses>>
Store
Login
<<Uses>>
Authenticate login
name
<<Uses>>
Query for customer
orders
Sales Staff
<<Uses>>
Privileged
activities
Authenticate
password
<<Uses>>
<<Uses>>
Enter the order
No
Validate the
fields
<<Uses>>
Display
Display
<<Uses>>
<<Uses>>
Query for
Inventory Items
Bill Generation
<<Uses>>
<<Uses>>
Select the
Customer order
Number
Validate the
fields
Display
<<Uses>>
<<Uses>>
Generate Bill No
Generate the
bill
Login
<<Uses>>
<<Uses>>
Authenticate
password
Generate outlet
ID
Accessibility
associated through
privilege
<<Uses>>
Validate
fields
Enter required
data
<<Uses>>
<<Uses>>
Internal
Administrator
<<Uses>>
<<Uses>>
Authenticate login
name
<<Uses>>
Enter required
Data
Generate stock
depot Id
Validate
fields
<<Uses>>
<<Uses>>
Request for item
registration
<<Uses>>
Generate
Item ID
Validate
fields
Store
<<Uses>>
Store
<<Uses>>
Stores
inventory
<<Uses>>
<<Uses>>
Enter the
Inventory ID
<<Uses>>
Validate the
field
Display
Item master
Item -ID: number
Item -name: Varchar2
Item-desc: varchar2
Item-stock-on-hand:
varchar2
Item-reorder-level: varchar2
Item-unit-price: varchar2
Item-category-ID: number
Item-packing-typ-id: number
Item-min-stock: varchar2
Insert ()
Delete ()
Update ()
Search ()
Validate-category-id ()
Validate-packing-typeid ()
Category master
Item-category-id: number
Item-category-name:
varchar2
Employee
master
Item-category-description: varchar2
Employee-number:number
Insert (), Delete ()
Employee-Name:varchar2
Update (), Search ()
Employee-address:varchar2
Employee-DOB:Date
Employee-DOJ:Date
Insert ()
Delete ()
Update ()
Search ()
Login
screen
Enter
Enter
Login
name ()
Login
master
Login
screen
Login
screen
Login
master
Validate
Log name ()
Enter
Password () Validate
Password () Display
Customer
account
registration form
Request for
customer
account
registration
Insert ()
Generate
Cust-AccNO ()
Account
registration
form
Accept
Fields ()
Validate
Data fields
()
Commit
Customer
account
registration form
Customer
account
Master
Request for
customer
account
registration Insert ()
Generate
item order
NO ()
Retail outlet
Master
Item order
screen
Validate
retail outlet Accept
ID ()
Validate
Fields ()
Data fields
Commit
()
Bill master
Screen
Request for
customer
account
registration Insert ()
Customer Bill
master
Generate
Bill No ()
Customer
Item order
master
Employee
master
Discount
master
Validate
custord No() Validate
sales person
Validate
id()
Accept
data
Discount
fields ()
ID ()
Commit
Chapt
er 6
Coding
the
narrative
text
embedded
directly
within
PDL
statements.
processing
interrupt
handling,
interposes
Chapt
er 7
Te s t i n g
&
Debuggi
ng
Strategi
es
Testing
Testing is the process of detecting errors. Testing performs a very critical role for
quality assurance and for ensuring the reliability of software. The results of testing
are used later on during maintenance also.
Psychology of Testing
The aim of testing is often to demonstrate that a program works by showing that it
has no errors. The basic purpose of testing phase is to detect the errors that may
be present in the program. Hence one should not start testing with the intent of
showing that a program works, but the intent should be to show that a program
doesnt work. Testing is the process of executing a program with the intent of
finding errors.
Testing Objectives
The main objective of testing is to uncover a host of errors, systematically
and with minimum effort and time. Stating formally, we can say,
Testing is a process of executing a program with the intent of
finding an error.
A successful test is one that uncovers an as yet undiscovered error.
A good test case is one that has a high probability of finding error, if
it exists.
The tests are inadequate to detect possibly present errors.
The software more or less confirms to the quality and reliable
standards.
Levels of Testing
In order to uncover the errors present in different phases we have the
concept of levels of testing. The basic levels of testing are as shown below
Client Needs
Requirements
Acceptance
Testing
System Testing
Design
Integration Testing
Code
Unit Testing
System Testing
The philosophy behind testing is to find errors. Test cases are devised with this in
mind. A strategy employed for system testing is code testing.
Code Testing:
This strategy examines the logic of the program. To follow this method we
developed some test data that resulted in executing every instruction in the
program and module i.e. every path is tested. Systems are not designed as entire
nor are they tested as single systems. To ensure that the coding is perfect two
types of testing is performed or for that matter is performed or that matter is
performed or for that matter is performed on all systems.
Types Of Testing
Unit Testing
Link Testing
Unit Testing
Unit testing focuses verification effort on the smallest unit of software i.e. the
module. Using the detailed design and the process specifications testing is done to
uncover errors within the boundary of the module. All modules must be successful
in the unit test before the start of the integration testing begins.
In this project each service can be thought of a module. There are so many
modules like Login, HWAdmin, MasterAdmin, Normal User, and PManager. Giving
different sets of inputs has tested each module. When developing the module as
well as finishing the development so that each module works without any error. The
inputs are validated when accepting from the user.
In this application developer tests the programs up as system. Software units in a
system are the modules and routines that are assembled and integrated to form a
specific function. Unit testing is first done on modules, independent of one another
to locate errors. This enables to detect errors. Through this errors resulting from
interaction between modules initially avoided.
Link Testing
Link testing does not test software but rather the integration of each module in
system. The primary concern is the compatibility of each module. The Programmer
tests where modules are designed with different parameters, length, type etc.
Integration Testing
After the unit testing we have to perform integration testing. The goal here is to see
if modules can be integrated proprerly, the emphasis being on testing interfaces
between modules. This testing activity can be considered as testing the design and
hence the emphasis on testing module interactions.
In this project integrating all the modules forms the main system. When integrating
all the modules I have checked whether the integration effects working of any of
the services by giving different combinations of inputs with which the two services
run perfectly before Integration.
System Testing
Here the entire software system is tested. The reference document for this process
is the requirements document, and the goal os to see if software meets its
requirements.
Here entire ATM has been tested against requirements of project and it is checked
whether all requirements of project have been satisfied or not.
Acceptance Testing
Acceptance Test is performed with realistic data of the client to demonstrate that
the software is working satisfactorily. Testing here is focused on external behavior
of the system; the internal logic of program is not emphasized.
In this project Network Management Of Database System I have collected some
data and tested whether project is working correctly or not.
Test cases should be selected so that the largest number of attributes of an
equivalence class is exercised at once. The testing phase is an important part of
software development. It is the process of finding errors and missing operations
and also a complete verification to determine whether the objectives are met and
the user requirements are satisfied.
used to
check
possible combinations of execution paths through the code at every module level.
all