Dot Net Project Document
Dot Net Project Document
Dot Net Project Document
Through the website group want to help their members collaborate, to plan,
assess
and
implement
different
activities
and
learn
with
others
1. INTRODUCTION
1.1
INTRODUCTION TO PROJECT
1.2
ORGANIZATION PROFILE
1.3
EXISTING PROJECT
1.4
2. SYSTEM ANALYSIS
2.1
INTRODUCTION
2.2
ANALYSIS MODEL
2.3
2.4
2.5
PROPOSED SYSTEM
2.6
2.7
3. FEASIBILITY REPORT
3.1
TECHNICAL FEASIBILITY
3.2
OPERATIONAL FEASIBILITY
3.3
ECONOMICAL FEASIBILTY
FUNCTIONAL REQUIREMENTS
4.2
PERFORMANCE REQUIREMENTS
5. SELECTED SOFTWARE
5.1
5.2
ASP.NET
5.3
C#.NET
5.4
SQL SERVER
6. SYSTEM DESIGN
6.1
INTRODUCTION
6.2
NORMALIZATION
6.3
E-R DIAGRAM
6.4
6.5
DATA DICTIONARY
6.6
UML DIAGRAMS
7. OUTPUT SCREENS
8. TESTING
8.1 TESTING CONCEPTS FOR WEB APPLICATIONS
8.2 THE TESTING PROCESS- OVERVIEW
8.3CONTENT TESTING
8.4USER INTERFACE TESTING
8.5COMPONENT-LEVEL TESTING
8.6NAVIGATION TESTING
8.7CONFIGURATION TESTING
8.8SECURITY TESTING
8.9PERFORMANCE TESTING
9. SYSTEM TESTING AND IMPLEMENTATION
9.1
INTRODUCTION
9.2
9.3
UNIT TESTING
10.SYSTEM SECURITY
10.1 INTRODUCTION
INTRODUCTION
1.1 INTRODUCTION TO PROJECT
The project is a charity group of professionals those want to act as a
volunteer and contribute in their village/town for development. Issues like Primary
education, peoples health, government policies awareness and availability of basic
facilities/infrastructure are on main focus among others.
Through the website group want to help their members collaborate, to plan,
assess
and
implement
different
activities
and
learn
with
others
2.SYSTEM ANALYSIS
2.1. INTRODUCTION
After analyzing the requirements of the task to be performed, the next step is to
analyze the problem and understand its context. The first activity in the phase is
studying the existing system and other is to understand the requirements and
domain of the new system. Both the activities are equally important, but the first
activity serves as a basis of giving the functional specifications and then successful
spiral model are also incorporated like after the people concerned with the project
review completion of each of the phase the work done.
WATER FALL MODEL was being chosen because all requirements were
known beforehand and the objective of our software development is the
computerization/automation of an already existing manual working system.
Changed
Requirements
Communicated
Requirements
Requirements
Engineering
Requirements
Specification
Design
Specification
Design
Programming
Executable
Software
Modules
Process
Integration
Product
Maintenance
Integrated
Software
Product
Product
Input
Output
Delivery
Delivered
Software
Product
Number of Modules
The system after careful analysis has been identified to be presented with the
following modules:
The modules involved are:
ADMIN MODULE
VOLUNTEER MODULE
DONAR MODULE
Module Description:
It has mainly divided into three modules
1. ADMIN MODULE:
Administrator is a super user treated as owner of this site.
He can have all the privileges. Administrator can register members directly, and
delete the information of a registered member.
He verifies the information uploads into the system by the members or
voluntaries. If any mismanagement done by the member immediately he can delete
the information uploaded earlier by the member.
Basic and advance admin facilities add, update members, backup, recovery
of data, generating various reports etc. The system provides an interface to the
admin to change static web contents. He can track the member activities and
progress.
2. VOLUNTEER MODULE:
Volunteer can be registered by the Admin; he assigns the
volunteers to villages. Then Volunteer can maintains the villages like maintaining
developing percentage of the village and funds by donors (Members). If Member
raises any queries then he can provide the answers. The system provides discussion
forum, chat, mail etc.
3. DONAR(MEMBER) MODULE:
.
Features:
The various features provided by the system are
Easier and faster data transfer through latest technology associated with
the computer and communication.
Data storage and retrieval will become faster and easier to maintain
because data is stored in a systematic manner and in a single database.
Member is provided the option of monitoring the records he entered
earlier. He can see the desired records with the variety of options
provided by him.
Analysis will be given according to the topic of the subject.
WINDOWS 2000/NT/XP
:
SQLSERVER 2000
:
C#.NET
TECHNOLOGY
HARDWARE REQUIREMENTS
PROCESSOR
RAM
:
HARD DISK
ASP.NET
:
P-III or Above
128MB
:
MINIMUM 20 GB
2.5PROPOSED SYSTEM
The development of this new system objective is to provide the solution to the
problems of existing system. By using this new system, we can fully automate the
entire process of the current system. The new system would like to make as webenabled so that the information can be shared between the members at any time
using the respective credentials. To track the status of an individual process, the
status update can be centralized using the new system. Being a web-enabled
system, the process can be accessed across the world over net.This system also
providing the features like Chatting, Mailing between the members; Images
Upload Download via the web site; updating the process status in centralized
location; generated reports can also be exporting to the applications like MS-Excel,
PDF format, etc. In this new system, the members like Donors can give their
valuable feedback to the Volunteers so that the Volunteers can check their progress
of the tasks. The entire process categorized as different modules like Admin
module, Volunteer module, etc. at where we can classify the functionality as an
individual process. Using the new system entering into Admin module we can
perform. In this new system using the Volunteer module we can do. In the Reports
module we can generate reports like Weekly Status Report.
2.6INPUT AND OUTPUT
The main inputs, outputs and major functions of the system are as follows
Inputs:
Admin receives Users details and allot the duty of the users.
Feasibility Report
Preliminary investigation examine project feasibility, the likelihood the system
will be useful to the organization. The main objective of the feasibility study is to
test the Technical, Operational and Economical feasibility for adding new modules
and debugging old running system. All system is feasible if they are unlimited
resources and infinite time. There are aspects in the feasibility study portion of the
preliminary investigation:
Technical Feasibility
Operational Feasibility
Economical Feasibility
3.1. TECHNICAL FEASIBILITY
The technical issue usually raised during the feasibility stage of the
investigation includes the following:
Does the necessary technology exist to do what is suggested?
Do the proposed equipments have the technical capacity to hold the data
required to use the new system?
Will the proposed system provide adequate response to inquiries, regardless of
the number or location of users?
Can the system be upgraded if developed?
Are there technical guarantees of accuracy, reliability, ease of access and data
security?
Earlier no system existed to cater to the needs of Secure Infrastructure
Implementation System. The current system developed is technically feasible. It is
a web based user interface for audit workflow at NIC-CSD. Thus it provides an
easy access to the users. The databases purpose is to create, establish and maintain
a workflow among various entities in order to facilitate all concerned users in their
various capacities or roles. Permission to the users would be granted based on the
roles specified.
reliability and security. The software and hard requirements for the development of
this project are not many and are already available in-house at NIC or are available
as free as open source. The work for the project is done with the current equipment
and existing software technology. Necessary bandwidth exists for providing a fast
feedback to the users irrespective of the number of users using the system.
development cost in creating the system is evaluated against the ultimate benefit
derived from the new systems. Financial benefits must equal or exceed the costs.
The system is economically feasible. It does not require any addition
hardware or software. Since the interface for this system is developed using the
existing resources and technologies available at NIC, There is nominal expenditure
and economical feasibility for certain.
INTRODUCTION
Purpose: The main purpose for preparing this document is to give a general insight
into the analysis and requirements of the existing system or situation and for
determining the operating characteristics of the system.
Scope: This Document plays a vital role in the development life cycle (SDLC)
As it describes the complete requirement of the system. It is meant for use by the
developers and will be the basic during testing phase. Any changes made to the
requirements in the future will have to go through formal change approval process.
1) Developing the system, which meets the SRS and solving all the requirements
of the system?
2) Demonstrating the system and installing the system at client's location after the
acceptance testing is successful.
3) Submitting the required user manual describing the system interfaces to work on
it and also the documents of the system.
4) Conducting any user training that might be needed for using the system.
5) Maintaining the system for a period of one year after installation.
OUTPUT DESIGN
Outputs
from
computer
systems
are
required
primarily
to
communicate the results of processing to users. They are also used to provides a
permanent copy of the results for later consultation. The various types of outputs in
general are:
. External Outputs, whose destination is outside the organisation.
. Internal Outputs whose destination is with in organisation and they are the
Output Media:
In the next stage it is to be decided that which medium is the most
appropriate for the output. The main considerations when decideing about the
output media are:
The suitability for the device to the particular application.
The need for a hard copy.
The response time required.
The location of the users
The software and hardware available.
Keeping in view the above description the project is to have outputs
mainly coming under the category of internal outputs. The main outputs desired
according to the requirement specification are:
The outputs were needed to be generated as a hot copy and as well as queries to be
viewed on the screen. Keeping in view these outputs, the format for the output
is taken from the outputs, which are currently being obtained after manual
processing. The standard printer is to be used as output media for hard copies.
INPUT DESIGN
Input design is a part of overall system design. The main objective during the
input design is as given below:
To produce a cost-effective method of input.
To achieve the highest possible level of accuracy.
To ensure that the input is acceptable and understood by the user.
INPUT STAGES:
The main input stages can be listed as below:
Data recording
Data transcription
Data conversion
Data verification
Data control
Data transmission
Data validation
Data correction
INPUT TYPES:
It is necessary to determine the various types of inputs. Inputs can be
categorized as follows:
External inputs, which are prime inputs for the system.
Internal inputs, which are user communications with the system.
At this stage care is to be taken to ensure that input data remains accurate
form the stage at which it is recorded upto the stage in which the data is accepted
by the system. This can be achieved only by means of careful control each time
the data is handled.
ERROR DETECTION
Even though every effort is make to avoids the occurrence of errors, still a
small proportion of errors is always likely to occur, these types of errors can be
discovered by using validations to check the input data.
DATA VALIDATION
Procedures are designed to detect errors in data at a lower level of detail.
Data validations have been included in the system in almost every area where there
is a possibility for the user to commit errors. The system will not accept invalid
data. Whenever an invalid data is keyed in, the system immediately propts the user
and the user has to again key in the data and the system will accept the data only if
the data is correct. Validations have been included where necessary.
The system is designed to be a user friendly one. In other words the system
has been designed to communicate effectively with the user. The system has been
designed with pop up menus.
USERINTERGFACE DESIGN
It is essential to consult the system users and discuss their needs while
designing the user interface:
USER INTERFACE SYSTEMS CAN BE BROADLY CLASIFIED AS:
In the computer initiated interfaces the computer guides the progress of the
user/computer dialogue. Information is displayed and the user response of
the computer takes action or displays further information.
USER_INITIATED INTERGFACES
User initiated interfaces fall into two approximate classes:
1. Command driven interfaces: In this type of interface the user
inputs commands or queries which are interpreted by the computer.
2. Forms oriented interface: The user calls up an image of the form to
his/her screen and fills in the form. The forms oriented interface is
chosen because it is the best choice.
COMPUTER-INITIATED INTERFACES
The following computer initiated interfaces were used:
1. The menu system for the user is presented with a list of alternatives
and the user chooses one; of alternatives.
2. Questions answer type dialog system where the computer asks
question and takes action based on the basis of the users reply.
Right from the start the system is going to be menu driven, the opening menu
displays the available options. Choosing one option gives another popup menu
with more options. In this way every option leads the users to data entry form
where the user can key in the data.
ERROR MESSAGE DESIGN:
The design of error messages is an important part of the user interface
design. As user is bound to commit some errors or other while designing a system
the system should be designed to be helpful by providing the user with information
regarding the error he/she has committed.
5. SELECTED SOFTWARE
5.1 INTRODUCTION TO .NET FRAMEWORK
The Microsoft .NET Framework is a software technology that is available
with several Microsoft Windows operating systems. It includes a large library of
pre-coded solutions to common programming problems and a virtual machine that
manages the execution of programs written specifically for the framework. The
.NET Framework is a key Microsoft offering and is intended to be used by most
new applications created for the Windows platform.
The pre-coded solutions that form the framework's Base Class Library cover a
large range of programming needs in a number of areas, including user interface,
data access, database connectivity, cryptography, web application development,
numeric algorithms, and network communications. The class library is used by
programmers, who combine it with their own code to produce applications.
Programs written for the .NET Framework execute in a software environment
that manages the program's runtime requirements. Also part of the .NET
Framework, this runtime environment is known as the Common Language
Runtime (CLR). The CLR provides the appearance of an application virtual
machine so that programmers need not consider the capabilities of the specific
CPU that will execute the program. The CLR also provides other important
services such as security, memory management, and exception handling. The class
library and the CLR together compose the .NET Framework.
Architecture
The core aspects of the .NET framework lie within the Common Language
Infrastructure, or CLI. The purpose of the CLI is to provide a language-neutral
platform for application development and execution, including functions for
exception handling, garbage collection, security, and interoperability. Microsoft's
implementation of the CLI is called the Common Language Runtime or CLR.
Assemblies
The intermediate CIL code is housed in .NET assemblies. As mandated by
specification, assemblies are stored in the Portable Executable (PE) format,
common on the Windows platform for all DLL and EXE files. The assembly
consists of one or more files, one of which must contain the manifest, which has
the metadata for the assembly. The complete name of an assembly (not to be
confused with the filename on disk) contains its simple text name, version number,
culture, and public key token. The public key token is a unique hash generated
when the assembly is compiled, thus two assemblies with the same public key
token are guaranteed to be identical from the point of view of the framework. A
private key can also be specified known only to the creator of the assembly and can
be used for strong naming and to guarantee that the assembly is from the same
author when a new version of the assembly is compiled (required to add an
assembly to the Global Assembly Cache).
Metadata
All CLI is self-describing through .NET metadata. The CLR checks the
metadata to ensure that the correct method is called. Metadata is usually generated
by language compilers but developers can create their own metadata through
custom attributes. Metadata contains information about the assembly, and is also
used to implement the reflective programming capabilities of .NET Framework.
Security
.NET has its own security mechanism with two general features: Code
Access Security (CAS), and validation and verification. Code Access Security is
based on evidence that is associated with a specific assembly. Typically the
evidence is the source of the assembly (whether it is installed on the local machine
or has been downloaded from the intranet or Internet). Code Access Security uses
evidence to determine the permissions granted to the code. Other code can demand
that calling code is granted a specified permission. The demand causes the CLR to
perform a call stack walk: every assembly of each method in the call stack is
checked for the required permission; if any assembly is not granted the permission
a security exception is thrown.
When an assembly is loaded the CLR performs various tests. Two such tests
are validation and verification. During validation the CLR checks that the
assembly contains valid metadata and CIL, and whether the internal tables are
correct. Verification is not so exact. The verification mechanism checks to see if
the code does anything that is 'unsafe'. The algorithm used is quite conservative;
hence occasionally code that is 'safe' does not pass. Unsafe code will only be
executed if the assembly has the 'skip verification' permission, which generally
means code that is installed on the local machine.
.NET Framework uses appdomains as a mechanism for isolating code
running in a process. Appdomains can be created and code loaded into or unloaded
from them independent of other appdomains. This helps increase the fault tolerance
of the application, as faults or crashes in one appdomain do not affect rest of the
application. Appdomains can also be configured independently with different
security privileges. This can help increase the security of the application by
isolating potentially unsafe code. The developer, however, has to split the
application into sub domains; it is not done by the CLR.
Class library
Namespaces in the BCL
System
System. CodeDom
System. Collections
System. Diagnostics
System. Globalization
System. IO
System. Resources
System. Text
System.Text.RegularExpressions
first
beta
versions
of
.NET
1.0
were
released.
5.2 ASP.NET
SERVER APPLICATION DEVELOPMENT
Server-side applications in the managed world are implemented through
runtime hosts. Unmanaged applications host the common language runtime, which
allows your custom managed code to control the behavior of the server. This model
provides you with all the features of the common language runtime and class
library while gaining the performance and scalability of the host server.
The following illustration shows a basic network schema with managed code
running in different server environments. Servers such as IIS and SQL Server can
perform standard operations while your application logic executes through the
managed code.
SERVER-SIDE MANAGED CODE
ASP.NET is the hosting environment that enables developers to use the
.NET Framework to target Web-based applications. However, ASP.NET is more
than just a runtime host; it is a complete architecture for developing Web sites and
Internet-distributed objects using managed code. Both Web Forms and XML Web
services use IIS and ASP.NET as the publishing mechanism for applications, and
both have a collection of supporting classes in the .NET Framework.
XML Web services, an important evolution in Web-based technology, are
distributed, server-side application components similar to common Web sites.
However, unlike Web-based applications, XML Web services components have no
UI and are not targeted for browsers such as Internet Explorer and Netscape
Navigator. Instead, XML Web services consist of reusable software components
designed to be consumed by other applications, such as traditional client
applications, Web-based applications, or even other XML Web services. As a
result, XML Web services technology is rapidly moving application development
and deployment into the highly distributed environment of the Internet.
If you have used earlier versions of ASP technology, you will immediately
notice the improvements that ASP.NET and Web Forms offers. For example, you
can develop Web Forms pages in any language that supports the .NET Framework.
In addition, your code no longer needs to share the same file with your HTTP text
(although it can continue to do so if you prefer). Web Forms pages execute in
native machine language because, like any other managed application, they take
full advantage of the runtime. In contrast, unmanaged ASP pages are always
scripted and interpreted. ASP.NET pages are faster, more functional, and easier 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 and consumption of XML Web services applications. XML Web
A DataAdapter is the object that connects to the database to fill the DataSet.
Then, it connects back to the database to update the data there, based on operations
performed while the DataSet held the data. In the past, data processing has been
primarily connection-based. Now, in an effort to make multi-tiered apps more
efficient, data processing is turning to a message-based approach that revolves
around chunks of information. At the center of this approach is the DataAdapter,
which provides a bridge to retrieve and save data between a DataSet and its source
data store. It accomplishes this by means of requests to the appropriate SQL
commands made against the data store.
The XML-based DataSet object provides a consistent programming model
that works with all models of data storage: flat, relational, and hierarchical. It does
this by having no 'knowledge' of the source of its data, and by representing the data
that it holds as collections and data types. No matter what the source of the data
within the DataSet is, it is manipulated through the same set of standard APIs
exposed through the DataSet and its subordinate objects.
While the DataSet has no knowledge of the source of its data, the managed
provider has detailed and specific information. The role of the managed provider is
to connect, fill, and persist the DataSet to and from data stores. The OLE DB and
SQL Server .NET Data Providers (System.Data.OleDb and System.Data.SqlClient)
that are part of the .Net Framework provide four basic objects: the Command,
Connection, DataReader and DataAdapter. In the remaining sections of this
document, we'll walk through each part of the DataSet and the OLE DB/SQL
Server .NET Data Providers explaining what they are, and how to program against
them.
The following sections will introduce you to some objects that have evolved, and
some that are new. These objects are:
DataAdapters. For pushing data into a DataSet, and reconciling data against
a database.
you would use the OleDbDataAdapter object and its associated OleDbCommand
and OleDbConnection objects.
The DataAdapter object uses commands to update the data source after changes
have been made to the DataSet. Using the Fill method of the DataAdapter calls the
SELECT command; using the Update method calls the INSERT, UPDATE or
DELETE command for each changed row. You can explicitly set these commands
in order to control the statements used at runtime to resolve changes, including the
use of stored procedures. For ad-hoc scenarios, a CommandBuilder object can
generate these at run-time based upon a select statement. However, this run-time
generation requires an extra round-trip to the server in order to gather required
metadata, so explicitly providing the INSERT, UPDATE, and DELETE commands
at design time will result in better run-time performance.
1.
2.
ADO.NET was created with n-Tier, statelessness and XML in the forefront.
Two new objects, the DataSet and DataAdapter, are provided for these
scenarios.
3.
ADO.NET can be used to get data from a stream, or to store data in a cache
for updates.
4.
5.
Also, you can use a DataSet to bind to the data, move through the data, and
navigate data relationships
5.4 SQL SERVER -2005
A database management, or DBMS, gives the user access to their data and
helps them transform the data into information. Such database management
systems include dBase, paradox, IMS, SQL Server and SQL Server. These systems
allow users to create, update and extract information from their database.
A database is a structured collection of data.
characteristics of people, things and events. SQL Server stores each data item in
its own fields. In SQL Server, the fields relating to a particular person, thing or
event are bundled together to form a single complete unit of data, called a record
(it can also be referred to as raw or an occurrence). Each record is made up of a
number of fields. No two fields in a record can have the same field name.
During an SQL Server Database design project, the analysis of your business
needs identifies all the fields or attributes of interest. If your business needs
change over time, you define any additional fields or change the definition of
existing fields.
SQL SERVER TABLES
SQL Server stores records relating to each other in a table. Different tables
are created for the various groups of information. Related tables are grouped
together to form a database.
PRIMARY KEY
Every table in SQL Server has a field or a combination of fields that
uniquely identifies each record in the table. The Unique identifier is called the
Primary Key, or simply the Key.
distinguish one record from all other in a table. It allows the user and the database
system to identify, locate and refer to one particular record in the database.
RELATIONAL DATABASE
Sometimes all the information of interest to a business operation can be
stored in one table. SQL Server makes it very easy to link the data in multiple
tables. Matching an employee to the department in which they work is one
example.
system, or RDBMS. It stores data in two or more tables and enables you to define
relationships between the table and enables you to define relationships between the
tables.
FOREIGN KEY
When a field is one table matches the primary key of another field is referred
to as a foreign key. A foreign key is a field or a group of fields in one table whose
values match those of the primary key of another table.
REFERENTIAL INTEGRITY
Not only does SQL Server allow you to link multiple tables, it also maintains
consistency between them. Ensuring that the data among related tables is correctly
matched is referred to as maintaining referential integrity.
DATA ABSTRACTION
A major purpose of a database system is to provide users with an abstract
view of the data. This system hides certain details of how the data is stored and
maintained. Data abstraction is divided into three levels.
Physical level: This is the lowest level of abstraction at which one describes how
the data are actually stored.
Conceptual Level: At this level of database abstraction all the attributed and what
data are actually stored is described and entries and relationship among them.
View level: This is the highest level of abstraction at which one describes only
part of the database.
ADVANTAGES OF RDBMS
Redundancy can be avoided
Inconsistency can be eliminated
Data can be Shared
Standards can be enforced
Security restrictions ca be applied
choose the database server platform that meets the system requirements.
OPEN SYSTEMS
SQL SERVER offers a leading implementation of industry standard SQL.
SQL Servers open architecture integrates SQL SERVER and non SQL SERVER
DBMS with industrys most comprehensive collection of tools, application, and
third party software products SQL Servers Open architecture provides transparent
access to data from other relational database and even non-relational database.
DISTRIBUTED DATA SHARING
SQL Servers networking and distributed database capabilities to access data
stored on remote server with the same ease as if the information was stored on a
single local computer. A single SQL statement can access data at multiple sites.
You can store data where system requirements such as performance, security or
availability dictate.
UNMATCHED PERFORMANCE
The most advanced architecture in the industry allows the SQL SERVER
DBMS to deliver unmatched performance.
SOPHISTICATED CONCURRENCY CONTROL
Real World applications demand access to critical data. With most database
Systems application becomes contention bound which performance is limited
not by the CPU power or by disk I/O, but user waiting on one another for data
access. SQL Server employs full, unrestricted row-level locking and contention
free queries to minimize and in many cases entirely eliminates contention wait
times.
NO I/O BOTTLENECKS
SQL Servers fast commit groups commit and deferred write technologies
dramatically reduce disk I/O bottlenecks. While some database write whole data
block to disk at commit time, SQL Server commits transactions with at most
sequential log file on disk at commit time, On high throughput systems, one
sequential writes typically group commit multiple transactions. Data read by the
transaction remains as shared memory so that other transactions may access that
data without reading it again from disk.
necessary to the recovery to the log file, modified blocks are written back to the
database independently of the transaction commit, when written from memory to
disk.
SYSTEM DESIGN
6.1. INTRODUCTION
Software design sits at the technical kernel of the software engineering
process and is applied regardless of the development paradigm and area of
application. Design is the first step in the development phase for any engineered
product or system. The designers goal is to produce a model or representation of
an entity that will later be built. Beginning, once system requirement have been
specified and analyzed, system design is the first of the three technical activities
-design, code and test that is required to build and verify software.
The importance can be stated with a single word Quality. Design is the
place where quality is fostered in software development. Design provides us with
representations of software that can assess for quality. Design is the only way that
we can accurately translate a customers view into a finished software product or
system. Software design serves as a foundation for all the software engineering
steps that follow. Without a strong design we risk building an unstable system
one that will be difficult to test, one whose quality cannot be assessed until the last
stage.
During design, progressive refinement of data structure, program structure,
and procedural details are developed reviewed and documented. System design can
be viewed from either technical or project management perspective. From the
technical point of view, design is comprised of four activities architectural
design, data structure design, interface design and procedural design.
6.2. NORMALIZATION
It is a process of converting a relation to a standard form. The process is
used to handle the problems that can arise due to data redundancy i.e. repetition of
data in the database, maintain data integrity as well as handling problems that can
arise due to insertion, updation, deletion anomalies.
Decomposing is the process of splitting relations into multiple relations to
eliminate anomalies and maintain anomalies and maintain data integrity. To do
this we use normal forms or rules for structuring relation.
Insertion anomaly: Inability to add data to the database due to absence of other
data.
Deletion anomaly: Unintended loss of data due to deletion of other data.
Update anomaly: Data inconsistency resulting from data redundancy and partial
update
Normal Forms:
anomalies.
6.3. E R DIAGRAMS
The relation upon the system is structure through a conceptual ERDiagram, 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
The primary purpose of the ERD is to represent data objects and their
relationships.
E-R Diagram:
level of detail. A DFD consists of a series of bubbles joined by data flows in the
system.
DFD SYMBOLS:
In the DFD, there are four symbols
1. A square defines a source(originator) or destination of system data
2. An arrow identifies data flow. It is the pipeline through which the information
flows
3. A circle or a bubble represents a process that transforms incoming data flow
into outgoing data flows.
4. An open rectangle is a data store, data at rest or a temporary repository of data
CONSTRUCTING A DFD:
Several rules of thumb are used in drawing DFDS:
1. Process should be named and numbered for an easy reference. Each name
should be representative of the process.
2. The direction of flow is from top to bottom and from left to right. Data
traditionally flow from source to the destination although they may flow back to
the source. One way to indicate this is to draw long flow line back to a source.
An alternative way is to repeat the source symbol as a destination. Since it is
used more than once in the DFD it is marked with a short diagonal.
3. When a process is exploded into lower level details, they are numbered.
4. The names of data stores and destinations are written in capital letters. Process
and dataflow names have the first letter of each work capitalized
A DFD typically shows the minimum contents of data store. Each data store
should contain all the data elements that flow in and out.
Questionnaires should contain all the data elements that flow in and out.
Missing interfaces redundancies and like is then accounted for often through
interviews.
SAILENT FEATURES OF DFDS
1. The DFD shows flow of data, not of control loops and decision are controlled
considerations do not appear on a DFD.
2. The DFD does not indicate the time factor involved in any process whether the
dataflow take place daily, weekly, monthly or yearly.
3. The sequence of events is not brought out on the DFD.
TYPES OF DATA FLOW DIAGRAMS
1. Current Physical
2. Current Logical
3. New Logical
4. New Physical
CURRENT PHYSICAL:
In Current Physical DFD process label include the name of people or their
positions or the names of computer systems that might provide some of the overall
system-processing label includes an identification of the technology used to
process the data. Similarly data flows and data stores are often labels with the
names of the actual physical media on which data are stored such as file folders,
computer files, business forms or computer tapes.
CURRENT LOGICAL:
The physical aspects at the system are removed as much as possible so that
the current system is reduced to its essence to the data and the processors that
transform them regardless of actual physical form.
NEW LOGICAL:
This is exactly like a current logical model if the user were completely
happy with he user were completely happy with the functionality of the current
system but had problems with how it was implemented typically through the new
logical model will differ from current logical model while having additional
functions, absolute function removal and inefficient flows recognized.
NEW PHYSICAL:
The new physical represents only the physical implementation of the new
system.
RULES GOVERNING THE DFDS
PROCESS
1) No process can have only outputs.
2) No process can have only inputs. If an object has only inputs than it must be a
sink.
3) A process has a verb phrase label.
DATA STORE
1) Data cannot move directly from one data store to another data store, a process
must move data.
2) Data cannot move directly from an outside source to a data store, a process,
which receives, must move data from the source and place the data into data
store
3) A data store has a noun phrase label.
SOURCE OR SINK
The origin and /or destination of data.
1) Data cannot move direly from a source to sink it must be moved by a process
2) A source and /or sink has a noun phrase land
DATA FLOW
1) A Data Flow has only one direction of flow between symbols. It may flow in
both directions between a process and a data store to show a read before an
update. The later is usually indicated however by two separate arrows since
these happen at different type.
2) A join in DFD means that exactly the same data comes from any of two or more
different processes data store or sink to a common location.
3) A data flow cannot go directly back to the same process it leads. There must be
atleast one other process that handles the data flow produce some other data
flow returns the original data into the beginning process.
DFD Diagrams:
A use case is a set of scenarios that describing an interaction between a user and a
system. A use case diagram displays the relationship among actors and use cases.
The two main components of a use case diagram are use cases and actors.
Class Diagram:
Class diagrams are widely used to describe the types of objects in a system and
their relationships. Class diagrams model class structure and contents using design
elements such as classes, packages and objects. Class diagrams describe three
different perspectives when designing a system, conceptual, specification, and
implementation. These perspectives become evident as the diagram is created and
help solidify the design. This example is only meant as an introduction to the
UML and class diagrams.
Sequence diagrams:
Sequence diagrams demonstrate the behavior of objects in a use case by describing
the objects and the messages they pass. The diagrams are read left to right and
descending. The example below shows an object of class 1 start the behavior by
sending a message to an object of class 2. Messages pass between the different
objects until the object of class 1 receives the final message.
Collaboration diagrams:
Collaboration diagrams are also relatively easy to draw. They show the
relationship between objects and the order of messages passed between them. The
objects are listed as icons and arrows indicate the messages being passed between
them. The numbers next to the messages are called sequence numbers. As the
name suggests, they show the sequence of the messages as they are passed between
the objects. There are many acceptable sequence numbering schemes in UML. A
simple 1, 2, 3... format can be used.
State Diagrams:
State diagrams are used to describe the behavior of a system. State diagrams
describe all of the possible states of an object as events occur. Each diagram
usually represents objects of a single class and tracks the different states of its
objects through the system.
Activity Diagrams:
Activity diagrams describe the workflow behavior of a system. Activity diagrams
are similar to state diagrams because activities are the state of doing something.
The diagrams describe the state of activities by showing the sequence of activities
performed. Activity diagrams can show activities that are conditional or parallel.
Use Case Diagram:
System
Activity
village
volunteer
donations
Administration
Report
donors
mails
LoginPage
Manage Volunteers
Manage Villages
Manage Donors
Admin
Manage Activities
Manage Donations
Manage Mails
Logout
System
<<include>>
System
Registration
Login
Inbox
<<include>>
Manage Activity
Outbox
Manage Mail
<<include>>
<<include>> Compose
Volunteers
<<include>>
Village
Group Chat
Volunteers
<<include>>
Queries
<<include>>
Logout
Login
Donors
<<include>>
SignUp
Signin
<<include>> inbox
<<include>>
Mail
Donor
<<include>>
outbox
Payment
compose
Activitiy
Account info
<<include>>
volunteers
<<include>>
GroupChat
donor
<<include>>
signout
signin
Class diagram:
AddVillage
BL : cls_Villages
DAL : SqlHelper
Databse
1 : AddPage()
2 : InsertVillage()
3 : ExecuteNonnQuery()
4 : ExecuteNonnQuery()
5 : return Response()
6 : Show Result()
Admin
AddActivity
BAL : cls_Activity
DAl : SqlHelper
Database
1 : addActivity()
2 : InsertActivityData()
3 : ExecuteNonQuery()
4 : EexcuteNonquery()
5 : returnResponse()
6 : Show Result()
AddDonations
BAl : cls_Payments
DAL : SqlHelper
Database
1 : donateamt()
2 : inserPaymentData()
3 : ExecuteNonQuery()
4 : ExecuteNonQuery()
5 : return response()
6 : Show Result()
Questionnaires
Volunteer
AnstoQueries
Bal : clsQuestions
DAl : clsSqlHelper
Database
1 : Get Questions()
2 : GetAllQuestionsByDonars()
3 : ExecuteDataset()
4 : ExecuteDataset()
5 : return Dataset()
6 : Show All Questions()
7 : Insert Answer()
8 : ExecuteNonQuery()
9 : ExecuteNonQuery()
10 : Return Response()
11 : Show Message()
ComposeMail
BAL : clsmails
DAL : clsSqlHelper
Database
1 : ComposeMail()
2 : GetMailIDs()
3 : ExecuteDataset()
4 : ExecuteDataset()
5 : return Response()
6 : Show MailIds()
7 : InserMailInfo()
8 : ExecuteNonQuery()
9 : ExecuteNonQuery()
10 : Return Response()
11 : Show Message()
Activity Diagrams:
Registration Diagram:
8. TESTING
Content testing
Interface testing
Navigation testing
User
Interface
design
Component testing
Aesthetic design
Content design
Navigation design
Configuration
testing
Architecture design
Component design
Performance
testing
Security
testing
Technology
Does the aesthetic style of the content conflict with the aesthetic style of the
interface?
In our system:
It presents a variety of information about the various groups. Content objects
provide descriptive information, photographic representations and related
information. We provide different ads in the websites.
8.3.2 Database Testing:
Modern web applications do much more than present static content objects. In
many application domains, WebApps interface with sophisticated database
management systems and build dynamic content objects that are created in realtime using the data acquired from a database.
In our system also, the user can view all the information containing in any
group which is retrieved from the database, if the user wants to download then only
he can download the files, photos, videos, etc. which is also accessed from the
database and present those details in the content object.
Database Testing for WebApps is complicated by a variety of factors:
The original client-side request for information is rarely presented in the
form that can be input to a database management system. Therefore, tests
should be designed to uncover errors made by these DBMS.
The database may be remote to the server that houses the WebApp.
Therefore, tests that uncover errors in communication between the WebApp
and the remote database should be developed.
Raw data acquired from the database must be transmitted to the WebApp
server and properly formatted for subsequent transmittal to the client.
Therefore, tests that demonstrate the validity of the raw data received by the
Expected Results
A message Invalid userid/password
will be displayed and allows the
user to reenter the information.
Correct Login
Pass: Yes
PrP Problems or issues: Nil
Table 8.1 Test Case 1
Fail:
Test Case# : 2
Priority(H,L): High
Test Objective: For registration; to let the user enter all the required fields
Test Description: All the necessary fields are checked
Requirements Verified: All the necessary fields should be entered
Test Environment: Internet Explorer
Test setup or Pre-conditions: User initiates any control mechanism like
Submit or Go buttons
Actions
Incomplete Necessary fields
Expected Results
Red colored * symbols will come
against the incomplete fields and
the user is allowed to complete
those fields and form will not be
submitted until that has been done.
Conditional Pass:
Fail:
PrP Problems or issues: Nil
Table 8.2 Test Case 2
8.6 NAVIGATION TESTING:
The job of navigation Testing is
To ensure that the mechanisms that allow the WebApp user to travel through
the WebApp are all functional and
To validate that each navigation semantic unit can be achieved by the
appropriate user category.
8.6.1 Testing Navigation Syntax:
Navigation links: Internal links within the WebApp, external links to other
WebApps and anchors within a specific Web page should be tested to ensure that
proper content or functionality is reached when the link is chosen.
Redirects: these links come into play when a user requests a nonexistent URL or
selects a link whose destination has been changed. We have tested this by
accessing the incorrect internal links and the test is completed successfully.
8.7 CONFIGURATION TESTING:
This attempt to uncover errors that are specific to a particular client or server
environment. A cross-reference matrix that defines all probable operating systems,
browsers, hardware platforms, and communication protocols is created. Tests are
then conducted to uncover errors associated with each possible configuration.
8.8 SECURITY TESTING:
It incorporates a series of tests designed to exploit vulnerabilities in the
WebApp and its environment. The intent is to demonstrate that a security breach is
possible.
8.9 PERFORMANCE TESTING:
It encompasses a series of tests that are designed to assess
(1) How the WebApp response time and reliability are affected by increased user
traffic,
(2)Which WebApp components are responsible for performance degradation and
what usage characteristics cause degradation to occur, and
(3) How performance degradation impacts overall WebApp objectives and
requirements.
UNIT TESTING
MODULE
TESTING
Component Testing
SUB-SYSTEM
TESING
SYSTEM
TESTING
Integration Testing
ACCEPTANCE
TESTING
Unit testing focuses verification effort on the smallest unit of software design, the
module. The unit testing we have is white box oriented and some modules the steps
are conducted in parallel.
1. WHITE BOX TESTING
This type of testing ensures that
All independent paths have been exercised at least once
All logical decisions have been exercised on their true and false sides
All loops are executed at their boundaries and within their operational bounds
All internal data structures have been exercised to assure their validity.
To follow the concept of white box testing we have tested each form .we have
created independently to verify that Data flow is correct, All conditions are
exercised to check their validity, All loops are executed on their boundaries.
2. BASIC PATH TESTING
Established technique of flow graph with Cyclomatic complexity was used to
derive test cases for all the functions. The main steps in deriving test cases were:
Use the design of the code and draw correspondent flow graph.
Determine the Cyclomatic complexity of resultant flow graph, using formula:
V(G)=E-N+2 or
V(G)=P+1 or
V(G)=Number Of Regions
Where V(G) is Cyclomatic complexity,
E is the number of edges,
N is the number of flow graph nodes,
P is the number of predicate nodes.
Determine the basis of set of linearly independent paths.
3. CONDITIONAL TESTING
In this part of the testing each of the conditions were tested to both true and false
aspects. And all the resulting paths were tested. So that each path that may be
generate on particular condition is traced to uncover any possible errors.
4. DATA FLOW TESTING
This type of testing selects the path of the program according to the location of
definition and use of variables. This kind of testing was used only when some local
variable were declared. The definition-use chain method was used in this type of
testing. These were particularly useful in nested statements.
5. LOOP TESTING
In this type of testing all the loops are tested to all the limits possible. The
following exercise was adopted for all loops:
All the loops were tested at their limits, just above them and just below them.
All the loops were skipped at least once.
For nested loops test the inner most loop first and then work outwards.
For concatenated loops the values of dependent loops were set with the help of
connected loop.
Unstructured loops were resolved into nested loops or concatenated loops and
tested as above.
Each unit has been separately tested by the development team itself and all the
input have been validated.
SYSTEM SECURITY
10.1 INTRODUCTION
The protection of computer based resources that includes hardware,
software, data, procedures and people against unauthorized use or natural
Disaster is known as System Security.
System Security can be divided into four related issues:
Security
Integrity
Privacy
Confidentiality
SYSTEM SECURITY refers to the technical innovations and procedures applied
to the hardware and operation systems to protect against deliberate or accidental
damage from a defined threat.
DATA SECURITY is the protection of data from loss, disclosure, modification and
destruction.
SYSTEM INTEGRITY refers to the power functioning of hardware and programs,
appropriate physical security and safety against external threats such as
eavesdropping and wiretapping.
PRIVACY defines the rights of the user or organizations to determine what
information they are willing to share with or accept from others and how the
organization can be protected against unwelcome, unfair or excessive
dissemination of information about it.
CONFIDENTIALITY is a special status given to sensitive information in a
database to minimize the possible invasion of privacy. It is an attribute of
information that characterizes its need for protection.
10.2 SECURITY IN SOFTWARE
System security refers to various validations on data in form of checks and controls
to avoid the system from failing. It is always important to ensure that only valid
data is entered and only valid operations are performed on the system. The system
employees two types of checks and controls:
technology that will be great demand in future. This will provide better
opportunities and guidance in future in developing projects independently.
The project is identified by the merits of the system offered to the user. The
merits of this project are as follows: Its a web-enabled project.
This project offers user to enter the data through simple and interactive forms.
This is very helpful for the client to enter the desired information through so
much simplicity.
The user is mainly more concerned about the validity of the data, whatever he is
entering. There are checks on every stages of any new creation, data entry or
updation so that the user cannot enter the invalid data, which can create
problems at later date.
Sometimes the user finds in the later stages of using project that he needs to
update some of the information that he entered earlier. There are options for him
by which he can update the records. Moreover there is restriction for his that he
cannot change the primary data field. This keeps the validity of the data to
longer extent.
User is provided the option of monitoring the records he entered earlier. He can
see the desired records with the variety of options provided by him.
From every part of the project the user is provided with the links through
framing so that he can go from one option of the project to other as per the
requirement. This is bound to be simple and very friendly as per the user is
concerned. That is, we can say that the project is user friendly which is one of
the primary concerns of any good project.
Data storage and retrieval will become faster and easier to maintain because
data is stored in a systematic manner and in a single database.
Decision making process would be greatly enhanced because of faster
processing of information since data collection from information available on
computer takes much less time then manual system.
Allocating of sample results becomes much faster because at a time the user can
see the records of last years.
Easier and faster data transfer through latest technology associated with the
computer and communication.
Through these features it will increase the efficiency, accuracy and transparency
12. FUTURE ENHANCEMENT
The size of the database increases day-by-day, increasing the load on the
database back up and data maintenance activity.
Training for simple computer operations is necessary for the users working on
the system.
We have to improve its GUI part to provide more attractive features to the user.
13. BIBLIOGRAPHY
FOR .NET INSTALLATION
www.support.mircosoft.com
FOR DEPLOYMENT AND PACKING ON SERVER
www.developer.com
www.15seconds.com
FOR SQL
www.msdn.microsoft.com
FOR ASP.NET
Asp.Net 3.5 Unleashed
www.msdn.microsoft.com/net/quickstart/aspplus/default.com
www.asp.net
www.fmexpense.com/quickstart/aspplus/default.com
www.asptoday.com
www.aspfree.com
www.4guysfromrolla.com/index.aspx
Software Engineering (Rogers Pressman)