Sei sulla pagina 1di 109

ULTIMATE BOOK CHOICE

A Project Report
on

ASP.NET Project

Developed for

ULTIMATE BOOK CHOICE

Submitted to
Government Polytechnic, Gandhinagar
Affiliated to TEB
As a practical fulfillment of Diploma in

Information-Technology(IT)
Sem-V-June-2009

Developed by

ABHILASHA CHAURASIA [ S-222007303 ]

KRUPAN JULASANA [ S-222007026 ]

RAMIJ VAHORA [ S-222007033 ]

SHAILEE PATEL [ S-222007037 ]

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

Government Polytechnic
Gandhinagar.

Date:

This is to certify that Miss/Master .

Reg. No. ______________of Diploma I.T 5th Semester has

worked on project “ULTIMATE BOOK CHOICE (online book shopping)”

in the subject of Website Development as a part-of project during

academic year June - 2009.

He/She was regular and found sincere in his/her project work. He/She has

completed the project satisfactorily.

Internal Project Guide Head of Department

B.H.Kantewala R.M.Sheikh

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

ACKNOWLEDGEMENT

We would like to express our gratitude and sincere regards to the


following people to whom we are grateful for their support and help
without which we would not have been able to make this system.

We are very much thankful to Head of Department of Diploma


Information Technology Prof.R.M.Sheikh our project head, for being kind,
through the project and showing us the correct way. It was he who inspired
us to do this project and later urged us to finish the project on time.
Without them, we could not have done it at all.

We would like to thank our friends who have given good support right
from the first day of preparing this project.

Finally we are deeply thankful to all those people who gave us their
valuable comments and information on various aspects of the project.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

Sr. No. Topic Page No

1. Introduction to the Project 5


2. Objective of the Project 6
3. Proposed Website 8
4. Proposed Profile 10
5. Core Components 12
6. Context Level Diagram 13
7. Entity-Relationship Diagram 14
8. Data Flow Diagram 15
9. Data Dictionary 22
10. Table Description 27
11. Site Map 34
12. Screen Shots 35
13. Module Description 69
14. Basic Theory of Asp.net (2.0) and ADO.Net 79
15. Bibliography 106

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

INTRODUCTION TO THE PROJECT


Books are the legacies that a great genius leaves to mankind, which are
delivered down from generation to generation, as presents to the posterity of those who
are yet unborn. The world is experiencing rapid advancements in computers. But still
there is a great need and demand for books. Hence to be able to operate any computer
related software or hardware, its operating knowledge is needed which is obtained
through related books only. The need is to upgrade the books available. There is growing
competition between the authors to provide the best possible guidance to the reader and
the best data on approach. Our website ULTIMATE BOOK CHOICE is concerned
with this very demand experienced by the authors and the readers or customers alike.

Project Members

 Abhilasha Chaurasia
 Krupan Julasana
 Ramij Vahora
 Shailee Patel

Project Guide

 External Guide : Miss. Pratiksha Chaurasia

 Internal Guide : Prof. Reshma.R.Patel


Prof. Archit.N.Mehta

A lot of news relating to the need of books could be seen in the daily newspapers.
Many companies as well as individuals publish their need for the books that are required
by them. They also want to get the news regarding the latest books available in the
market. This project mainly deals with the very need experienced by the customers. We
want to give the customers the authority to buy as well as know about the latest books
released in the market.

Duration of the project:

 4 months

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

OBJECTIVE OF THE PROJECT


We have chosen this project in the 5th semester of IT. This year is a challenging
year, which could give new directions to our career.

Today the market is going towards latest books and books with proper and detailed
description of topics.

So our first objective to take this project is to understand the various requirements in the
online web application world.

It is, of course, not the momentary look and feel of a book which sustains a person's love
for it; but, rather, its contents.
A proper selection of books will yield a ready and useful source of knowledge, which will
assist in the daily bouts with life: books will become your allies, your friends, to whom
you may turn for assistance and solace.

Even a millionaire will ease his toils, lengthen his life, and add 100 per cent to his daily
pleasures, if he becomes a bibliophile; while to the man of business with a taste for
books, who through the day has struggled in the battle of life, with all its irritating rebuffs
and anxieties, what a blessed season of pleasurable repose opens upon him as he enters
his sanctum, where every article wafts him a welcome and every book is a personal
friend.

The best books are sprinkled in the same number over a given span of time: the longer
the span, the longer the list. Thus, while a list of the best books will contain ones written
from all ages, the majority, naturally enough, will come from that long span of time
which precedes the current age.

One definition of a classic book is that it is one that has survived the age in which it was
written; that its words of advice and direction are applicable to all ages; it is a book that
has surfaced from an older age to a newer age, kept afloat, so to speak, by the readers of
all ages.

It follows, then, that no book written in the current age can bear the badge, classic; it
must wait until a new age has arrived when likely its author has long been dead.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

Certainly, however, one will be able to spot, within the current age, leading candidates or
contenders.

Every book that we take up without a purpose is an opportunity lost of taking up a book
with a purpose. One should not be a desultory reader; one should be a purposeful and
organized reader. The world is much too full of books: "trivial, enervating, inane, and,
even noxious.
A book is a set or collection of written, printed, illustrated, or blank sheets, made of
paper, parchment, or other material, usually fastened together to hinge at one side. A
single sheet within a book is called a leaf, and each side of a leaf is called a page.
A book produced in electronic format is known as an e-book.

Hence the main objectives of our website are:

 to provide the customer details of the latest books available.


 to be able to provide all the books asked by the customer.
 to allow the customer to be benefited by some schemes and discounts on the price.

Our website also provides the images of the title page of the book, and some description
about the content of the book so that the customer feels comfortable in selecting the book.

Economic Purchase:

The customer through this Project can know the price of different types of books
and by comparing it can choose the book which he finds affordable in terms of
Price and Quality.

Time Saving:

Through this the Customers can know about the Book Description without visiting
the Company Personally.

24 * 7 Hours:

The Customer can be in Contact with the Company any Time.


To provides its Customers with the facilities Online Shopping.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

PROPOSED WEB SITE

The web site will be dealing mainly with purchasing of the books by
customers. People who visit the site could register as a new member and sign in .If the
user is already a member he could just sign in. The customer could view the particular
book, select it and add it to his cart. At a later stage after the customer has finished his
selecting, he could order for purchasing those books. After these procedures the customer
could log out of the website.

This Bookshop is a shop module with the following features:

 Create and administrate as many as needed categories of books.

 Preview pages with short descriptions and images of the title pages

 Detailed view of any book by click

 Easy designing and formatting short descriptions, detailed views and emails by using
templates

 Preselect the allowed payment methods (cash, debiting, account, visa, master card)

 Automatic calculate shipping and service

 Basket may be viewed and edited at any time

 Using customer address, delivery address and billing address for a flexible processing
of ordering

 Customer automatic receive a ordering confirmation by email

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

The future enhancements for this website are :

 automatic updates will be provided by the website to its clients.

 These clients will be those who have become a member with the website or are its
frequent users.

 provide a mechanism of selecting the desired book from the page having detailed
description of the books.

 provide the description of books with the author details and the future books of that
author.

 to provide various schemes and discounts so that the customer gets benefited.

 also provide the names of the other book shops where the desired books might be
available.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

PROJECT PROFILE

Brief description of the project….

This project will help the administrator as well as the user to manage data in an
easy manner. People could share their ideas about the website, its shortcomings, its
positive points thus giving the administrator positive feedbacks about how he could make
his site more productive and easy to use.

The following things could be done by the user who uses this website. As the user
enters the website either he could become a new member or if he is already a member
then he could just log in.
The user could view the books on the books page of the website. By clicking on
the desired book, he would be given various options regarding the available items. The
user could select those books that he wants to buy. If he feels he does not need a book
after choosing it then he could simply deselect it.

The items, which the user purchases, would be added to his shopping cart. At the
same time the items that the user purchases would also be added to the user database.
Such an entry would be done for future reference. In future the user and the administrator
could check out the items that he or she had purchased and thus avoid an argument.

After the items for purchasing have been selected and added to the shopping cart
an invoice showing the purchase would be given to the customer through mail. The site
would take details about the address of the customer. This information would be taken for
the sending of the purchased items to the customers.

The customers could also give feedback to the administrator by writing in the
column specified for the feedback. Thus the administrator could get an idea regarding
how he could make the website look better and server better.

In addition to these there will also be a method applied on the site, which would
count the users who view the site. The view count of the people who visit the site would
be carried out to see the site’s popularity.

The customers can choose any book from the various categories such as :
 agriculture
 astrology
 astronomy

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

 communication
 economics
 education
 general
 general knowledge
 geography
 history
 home science
 library science
 literature
 palmistry
 performing arts
 political science
 reference
 religion
 research methodology
 science
 sociology
 sports
 yoga
 famous books
 latest books
 e-books

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

CORE COMPONENTS

The project will be using the following hardware and software components. They are
listed as below.

Project Title: ASP.NET Website

Objective: Online Shopping, Administrative Control

Organization: Ultimate Book Choice

Project Duration: 2 Months

Project Internal:
Guide:
External: Miss Pratiksha Chaurasia

Project Members: CHAURASIA ABHILASHA


VAHORA RAMIJ
PATEL SHAILEE
JULASANA KRUPAN
Hardware Processor: Intel Pentium 3 Processor Speed: 850 MHz
Configuration: Memory: 128 MB
Hard disk: 40 MB
Front End: ASP. NET

Back End: MS Access 2000

Language: VB

Operating System : XP IIS 2

Browser : Internet Explorer 6.0

Reporting Tools : Crystal Report

Documentation Tools : Word

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

CONTEXT LEVEL DIAGRAM

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

ENTITY RELATIONSHIP DIAGRAM

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

ZERO LEVEL DIAGRAM

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

FIRST LEVEL DIAGRAMS

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

DATA DICTIONARY
Table Name: Category_Master Table

Field Name Data Type Constraint Description/Default


value
CategoryId Number PK Primary Key
Category_Name Text Book Category Name
Description Text Book Category
Description

Table Name: Login_Master Table

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

Field Name Data Type Constraint Description/Default


value
UserId Text PK Primary Key
Password Text Password of user and
administrator

Table Name: Customer_Master Table

Field Name Data Type Constraint Description/Default


value

UserId Text FK Unique id of


customer
Password Text Password of
customer
CustomerId Number PK Primary Key
Customer_Name Text Name of customer
Customer_Address Text Address of customer
Customer_City Text City of customer
Customer_State Text State of customer
Customer_Country Text Country of customer
Customer_Areacode Number Area of customer
Customer_Phone Number Phone number of
customer
Customer_Mobile Number Mobile number of
customer
Customer_Email Text E-mail of customer
Customer_Fax Number Fax number of
customer

Table Name: Book_Master Table

Field Name Data Type Constraint Description/Default


value

BookId Number PK Unique id of book

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

Book_Name Text Name of book


CategoryId Number FK Foreign key
Book_Image Text Image url of books
Book_Price Number Price of book
Book_Description Text Book details

Table Name: Inquiry_Master Table

Field Name Data Type Constraint Description/Default


value

InquiryId Number PK Unique id of inquiry


Inquiry_Name Text Name of inquiry
Company Text Company name
Address Text Address of inquirer
City Text City of inquirer
State Text State of inquirer
Country Text Country of inquirer
Email_Id Text Email id of inquirer
Area_Code Number Areacode of inquirer
Phone_No Number Phone no. of
inquirer
Mobile_No Number Mobile no. of
inquirer
Fax_No Number Fax no. of inquirer
Inquiry_Msg Text Inquiry message
Inquiry_Date Date/Time Date of inquiry
Reference Text Reference of
inquirer

Table Name: Order_Master Table

Field Name Data Type Constraint Description/Default


value
Order_No Number PK Order number

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

Order_Date Date/Time Date of order


CustomerId Number FK Unique id of
customer
Order_Quantity Number Quantity placed in
order

Table Name: Order_Transaction Table

Field Name Data Type Constraint Description/Default


value
Order_No Number FK Order number

BookId Number FK Unique id of book

Order_Date Date/Time Date of transaction

Table Name: Billing_Master Table

Field Name Data Type Constraint Description/Default


value

InvoiceId Number PK Unique id of invoice


Invoice_Date Date/Time Date of invoice
CustomerId Number FK Unique id of
customer
BookId Number FK Unique id of book
Order_No Number FK Order number
Payment Currency Amount paid by
customer

Table Name: Shipping_Master Table

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

Field Name Data Type Constraint Description/Default


value

Shipping Id Number PK Unique id of


Shipping
Shipping _Date Date/Time Date of Shipping
CustomerId Number FK Unique id of
customer
BookId Number FK Unique id of book
InvoiceId Number FK Unique id of invoice

Table Name: Temp Table

Field Name Data Type Constraint Description/Default


value

Order_No Number FK Order number


UserId Text FK Unique id of user
Book_Name Text Name of the book
CategoryId Number FK Unique id of
category
Quantity Number Quantity of book

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

TABLE DESCRIPTION
1) Table Name: Category_Master Table

Field Name Data Type Constraint Description/Default


value
CategoryId Number PK Primary Key

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

Category_Name Text Book Category Name


Description Text Book Category
Description
 This table describes the book category details.
 It has primary key: CategoryId.
 It has no foreign key.
 It contains the names of all the book categories and their description.

2) Table Name: Login_Master Table

Field Name Data Type Constraint Description/Default


value
UserId Text PK Primary Key
Password Text Password of user and
administrator

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

 This table describes the login details.


 It has primary key: UserId.
 It has no foreign key.
 It contains the username and password of all the customers.
 It also contains the username and password of the administrator.

3) Table Name: Customer_Master Table

Field Name Data Type Constraint Description/Default


value

UserId Text FK Unique id of user


Password Text Password of
customer
CustomerId Number PK Primary Key
Customer_Name Text Name of customer
Customer_Address Text Address of customer
Customer_City Text City of customer
Customer_State Text State of customer
Customer_Country Text Country of customer
Customer_Areacode Number Area of customer
Customer_Phone Number Phone number of
customer
Customer_Mobile Number Mobile number of
customer
Customer_Email Text E-mail of customer
Customer_Fax Number Fax number of
customer

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

 This table describes the customer details.


 It has primary key: CustomerId.
 It has foreign key: UserId
 It contains the username and password of all customers.
 It contains the customer details such as: Name, Address, City, State, Country,
Areacode, Phone number, Mobile number, E-mail id, Fax number.

4) Table Name: Book_Master Table

Field Name Data Type Constraint Description/Default


value

BookId Number PK Unique id of book

Book_Name Text Name of book

CategoryId Number FK Foreign key

Book_Image Text Image url of books

Book_Price Number Price of book

Book_Description Text Book details

 This table describes the book details.


 It has primary key: BookId.
 It has foreign key: CategoryId
 It contains the books details such as: Name, Image, Price, Description

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

5) Table Name: Inquiry_Master Table

Field Name Data Type Constraint Description/Default


value

InquiryId Number PK Unique id of inquiry


Inquiry_Name Text Name of inquiry
Company Text Company name
Address Text Address of inquirer
City Text City of inquirer
State Text State of inquirer
Country Text Country of inquirer
Email_Id Text Email id of inquirer
Area_Code Number Areacode of inquirer
Phone_No Number Phone no. of
inquirer
Mobile_No Number Mobile no. of
inquirer
Fax_No Number Fax no. of inquirer
Inquiry_Msg Text Inquiry message
Inquiry_Date Date/Time Date of inquiry

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

Reference Text Reference of


inquirer

 This table describes the inquiry details.


 It has primary key: InquiryId.
 It has no foreign key.
 It contains the inquiry details such as: Name, Company name, Address, City, State,
Country, Areacode, Phone number, Mobile number, E-mail id, Fax number, Inquiry
message, Inquiry date and reference.

6) Table Name: Order_Master Table

Field Name Data Type Constraint Description/Default


value
Order_No Number PK Order number
Order_Date Date/Time Date of order
CustomerId Number FK Unique id of
customer
Order_Quantity Number Quantity placed in
order

 This table describes the order details.


 It has primary key: Order_No.
 It has foreign key: CustomerId
 It contains the order details such as: Date, Quantity.

7) Table Name: Order_Transaction Table

Field Name Data Type Constraint Description/Default


value
Order_No Number FK Order number

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

BookId Number FK Unique id of book

Order_Date Date/Time Date of transaction

 This table describes the order transaction details.


 It has no primary key.
 It has foreign key: Order_No, BookId.
 It contains the order transaction details such as: Date.

8) Table Name: Billing_Master Table

Field Name Data Type Constraint Description/Default


value

InvoiceId Number PK Unique id of invoice


Invoice_Date Date/Time Date of invoice
CustomerId Number FK Unique id of
customer
BookId Number FK Unique id of book
Order_No Number FK Order number
Payment Currency Amount paid by
customer

 This table describes the billing details.


 It has primary key: InvoiceId.
 It has foreign key: CustomerId, BookId, Order_No.
 It contains the billing details such as: Date, Payment.

9) Table Name: Shipping_Master Table

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

Field Name Data Type Constraint Description/Default


value

Shipping Id Number PK Unique id of


Shipping
Shipping _Date Date/Time Date of Shipping

CustomerId Number FK Unique id of


customer
BookId Number FK Unique id of book
InvoiceId Number FK Unique id of invoice

 This table describes the shipping details.


 It has primary key: ShippingId.
 It has foreign key: CustomerId, BookId, InvoiceId.
 It contains the inquiry details such as: Date.

10) Table Name: Temp Table

Field Name Data Type Constraint Description/Default


value

Order_No Number FK Order number


UserId Text FK Unique id of user
Book_Name Text Name of the book
CategoryId Number FK Unique id of
category
Quantity Number Quantity of book

 This table stores the temporary details.


 It has no primary key.
 It has foreign key: CategoryId, UserId, Order_No.
 It contains the temporary data such as: Book name, Quantity needed by various
other forms.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

SITE MAP

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

SCREEN SHOTS
HOME PAGE

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

 This is the home page of the website.


 It has the logo of the company.
 It also contains the link for various images of books.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

 This page contains the details of the website.


 It has the logo and all the features of the website.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

 This page contains the names of all categories of books.


 It has the logo and links for the books images as per each category.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

 This page contains the images of all books for a particular category example
AGRICULTURE
 It has link for each book image.
 It also has the link for the home page and the next page of the same category.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

 This page contains the image of the book for a particular category example
AGRICULTURE
 It has details of the book image displayed.
 It also has the link for the back page of the same category.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

 This page is displayed when the books link is linked with the click action.
 It asks for username and password.
 If the user has successfully logged in then he will be able to view and perform all
the functions related to the books purchase and transaction.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

 This page is displayed when the user successfully logs in.


 He can view the book categories.
 The user can perform all the functions related to the books purchase and
transaction.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

 This page is displayed when a particular book category is clicked


 It contains all the names of all the books in a particular category.
 The user can perform all the functions related to the books purchase and
transaction.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

 This page is displayed when a particular book name is clicked.


 It contains the book image and all its details that will be stored in the database.
 The user can perform all the functions related to the books purchase and
transaction.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

 This page is displayed when a particular book order is placed.


 It contains the book purchased book s details.
 It also contains the facility to update the order and also to cancel it.
 The user can perform all the functions related to the books purchase and
transaction.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

 This page is displayed when a particular book order is placed.


 It contains the book purchased books details.
 It also contains the order number and the quantity of the books purchased.
 The user can perform all the functions related to the books purchase and
transaction.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

 This page is displayed when a particular book order is placed.


 It also contains the order number and the quantity of the books purchased.
 This page also contains the customer data who have purchased the books.
 The user can perform all the functions related to the books purchase and transaction
 There is a conform order button that confirms the order placed by the customer.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

 This page is displayed when a particular book order is placed.


 It contains the confirmation data for the customer.
 The box placed has the details that the ordered books will be shipped to the
customer on time and at the right place.
 Also the accurate bill will be sent.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

 This page is displayed when the user clicks on the inquiry link
 It contains the form for the details of the inquirer to be filled.
 All the inquiries are stored in the database and fulfilled as requested.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

 This page is displayed when the user clicks on the contact us link.
 It contains the details of all the team members of the developing team.
 All the details and the contact numbers of the developers are displayed.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

 This page is displayed when the user clicks on the contact us link.
 It contains the details of all the team members of the developing team.
 All the details and the contact numbers of the developers are displayed.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

 This page is displayed when the user clicks on the sitemap link.
 It contains the details of all the flows in the developed website.
 All the details of the working of the website are displayed.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

 This page is displayed when the login link is linked with the click action.
 It asks for username and password.
 If the user has successfully logged in then he will be able to view and perform all
the functions related to the books purchase and transaction.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

 This page is displayed when the login link is linked with the click action.
 It asks for username and password.
 If the user is a new customer then he will have to fill the registration form and then
only he will be allowed access to the website.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

 This page is displayed when the login link is linked with the click action.
 It asks for username and password.
 If the user is administrator then he will be allowed to access all the particular flows
of the website.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

 This page is displayed when the administrator logins .


 He can perform the following entries:
1) BOOK
2) CATEGORY
3) LOGIN

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

 This page is displayed the entry of new books

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

 This page is displayed the entry of new categories

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

 This page is displayed the entry of new changes in administrator login.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

 This page is displayed when the administrator logins .


 He can perform the following transactions:
1) BOOK
2) INQUIRY
3) NEW_CUSTOMER
4) ORDER
5) CATEGORY

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

 This page is displayed when the administrator wants to edit or remove the books
data.
 He can perform the following actions
selection
deletion

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

 This page displays the inquiry report

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

 This page displays the customer report.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

 This page displays the category report.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

 This page is displayed when the administrator logins .


 He can perform the following transactions:
1) CATEGORY
2) BOOK
3) INQUIRY
4) CUSTOMER

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

 This page displays the category based report.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

 This page displays the book based report.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

 This page displays the inquiry based report.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

 This page displays the customer based report.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

MODULE DESCRIPTION

Program Specification
There are several types of modules, which are listed as follows:
 Book
Admin can add a book in following step.
 Admin add a book and its general information, like name, books, category, brand,
application related to book, description, keyword, weight, size, stock, features etc.
 Each book has price. Admin can add book price. Admin is deciding a rental price
and buy price for a particular book.
 A book has image, which can update. Image of book is displayed in front side of
this application. Last updated image is display in front side.
 A book attribute is added in different language. Admin also upload a video file,
manual file, sheet file and animation file related to book.
 Admin can add related book and recommended book.
 Admin can add and update book service in different language. Admin is deciding
its price and time period of particular services.

Admin can add a member.


 Admin can add member base on member type, like Admin, Super admin, Key
Member, General Member.
 Admin can add member type also.
 Admin give rights to member base on member type.

 Member
 Member depends on member type.
 Simple Member can purchase a book.

 News Letter
 Tasks are a part of modules, which are under a given project. User can view his
own tasks and tasks assigned by admin or project manager.
 Tasks are divided into following parts:

o Incomplete Tasks

 Those Tasks which are not completed on given date will be listed
in completed tasks with a red border

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

 These tasks are to be completed first .as the user logins he will see
his incomplete tasks first, that means that these are the pending
tasks that should be completed first.

o Ongoing Tasks

 Those tasks that are to be completed daily are listed in ongoing


tasks with a blue border. it means that these tasks are to be
completed on that along with pending tasks

o Future Tasks

 Those tasks whose completion date is in future are listed in future


tasks with green border. These tasks are list in priorities.

 Errors
o There can be errors in project, modules and tasks. Either admin or project
manager or client can give errors in related modules, so the flow of errors
will be in to and fro form.

Security Features
 There are four groups of users, each user is allowed to login in his system if he
has a correct username and password.

 Users with invalid username and password will not be allowed to login, he can
login in the system if he registers himself, but still he will not be able to see his
project s, modules and task, until and unless admin or project manager assignees
him.

 Moreover he will not be able to see other users project, modules and tasks. This
kind of security feature is there in this system

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

Modules are the basic need for any system or software development. On the basis of the
modules only the basic requirements of the system is known. So modules serve as the
backbone of any developing system.

The main modules of the system are:

 Registration

 Login

 Sales

 Billing

 Shipping

 Inquiry

The main entities of the system are:

 Administrator

 Customer or user

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

MODULES OF THE SYSTEM

1) Registration

The registration module is said to be the main module of the system.

Every new user who visits the website has to register in.

There is a registration form provided by the website which demands


personal details of the user like name, address, phone no, city, country,
login Id, password etc.

There are some validations also kept on the certain fields and there are
certain fields, which are to be filled by the user compulsorily. If the user
does not fill up the compulsory fields than the registration form would not
be accepted.

By pressing the submit button the data filled in the form is submitted and
it is saved in the database.

After the data is accepted the user is being given the login Id by that he
can access the website very easily and buys as many items as he wants to.

So the registration process is very important for the website and the user
both.

 New User Registration


 Provides all user registration procedures- normal, revisits.

 User Identification number.

 User Demographic details.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

2) Login

The login module serves as a basic module of the system

The login of the user is valid only if the user is a registered user and has
filled up the registration form.

There is a login form provided by the website.

The form demands basic information such as login Id, password.

By pressing the submit button the information is submitted to the website.

After than the data is checked in the database that the entered information
is valid or not.

If the information is valid than the user is logged in automatically.

There are certain validations kept on the login form such as if the user has
entered the wrong information that he will not be able to login in the
website.

Once the user has logged in than he can access the website very easily and
buy as many items he want to.

So for purchasing of the items the user has to compulsory login in the
system.

 User Login
 Provides all user login details.
 User Identification name i.e Username.
 User Password details.

 Administrator Login
 Provides all administrator's login details.
 Administrator's Identification name i.e Username.
 Administrator's Password details.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

3) Sales

The sales module is the most important module of the website.

Mostly the e-commerce is based on the sales module only.

Sales mainly mean that any thing or product is to be sold.

The entire online shopping websites are based on the sales module only.

Sales module and product module are interrelated.

On the online shopping websites different products are displayed for sale
only.

For buying any product the customer visits the website selects the product
he wants to buy and places an order.

So without sales module the growth of the e-commerce is not possible.

Sales module includes the following functions:

 Display, Insert, Update, Delete, Search Customer Information


 Sales (Search Invoice)
 Automatic Generate Invoice (Weekly, Monthly, Yearly)
 Insert Order details
 Insert Delivery Information

 Customer Order Analysis


 Customer details are analyzed.
 Customer order is stored and analyzed.

 Product Sale
 Customer details are analyzed.
 Product is sold as per the order of the customer.

4) Billing

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

The billing module serves as the basic necessity of the system.

Billing means the calculation of price of various items purchased by the


customer.

Today's online banks give customers a way to pay their bills electronically
but the customers receive most of the bills in the mail.

The bills that they can access on the web are at sites with bill presentment
features.

This module includes the following activities:

 Product Charge Analysis


 Customer orders are analyzed.

 Products charges are analyzed.

 Proper calculation of all the quantity charges is done.

 Bill Generation
 Customer orders are analyzed.

 Products charges are analyzed.

 Proper and accurate bills are generated according to the quantity of


products purchased.

5) Shipping

The shipping module serves as the basic necessity of the system.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

It is another key factor that can make an item well suited to electronic
commerce is the product's shipping profile.

A product's shipping profile is the collection of attributes that affect how


easily that product can be packaged and delivered.

This module includes the following activities:

 Bill Analysis
 Customer orders are analyzed.

 Generated Bills are analyzed.

 Proper data storage is done.

 Ship Product
 Products are shipped at the customer place stored.

 Proper products are shipped at the right place at the right time.

 The quality of the products supplied is the best and as per the customer
requirements.

6) Inquiry

Another important module of the website is inquiry/feedback.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

The interactive cycle between a user and a web site is not complete until
the web site responds to a command entered by the user.

Inquiry/Feedback--sending back to the user information about what action


has actually been done, what result has been accomplished--is a well-
known concept in the science of control and information theory.

Web site inquiry/feedback often consists of a change in the visual or


verbal information presented to the user.

By pressing the submit button the entered inquiry/feedback is submitted to


the website and appropriate actions are being taken to improve the
relationship between the website and the customers.

Finally, inquiry/feedback should not distract the user.

Actions and reactions made by the web site should be meaningful.

Inquiry/Feedback should not draw the user's attention away from the
important tasks of gathering information, selecting products, and placing
orders.

Analyze Inquiry
 Customer requests or inquiries are analyzed.

 Desired product details are sent to the customer.

ENTITIES OF THE SYSTEM

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

ADMINISTRATOR

Display, Insert, Update, Delete, and search customer Information

Generate and Update New shopping products

Display, Insert, Update, Delete feed back Information

Display, Insert, Update, Delete shopping cart Information

Display, Insert, Update, Delete login Information

Display, Insert, Update, Delete registration Information

Display, Insert, Update, Delete frequently asked questions Information

Display, Insert, Update, Delete User Information

Apply Rights to User

CUSTOMER

The main user of the system

Can visit the website as many times as he wants

Can register into the website

After registration can login in the website

Can view the displayed products for sale

For buying the products he can also place an order in as much quantity

Can also give the feedback to the website

Can also use help for using the website

BASIC THEORY OF ASP.NET(2.0) AND ADO.NET


About ASP. NET

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

ASP.NET:

ASP.NET, the next version of ASP, is a programming framework used to


create enterprise-class Web Applications. These applications are accessible on a global
basis leading to efficient information management.

Why ASP.NET?

Since 1995, Microsoft has been constantly working to shift its focus from
Windows-based platforms to the Internet. As a result, Microsoft introduced ASP (Active
Server Pages) in November 1996. ASP offered the efficiency of ISAPI applications along
with a new level of simplicity that made it easy to understand and use. However, ASP
script was an interpreted script and consisted unstructured code and was difficult to debug
and maintain. As the web consists of many different technologies, software integration
for Web development was complicated and required to understand many different
technologies. Also, as applications grew bigger in size and became more complex, the
number of lines of source code in ASP applications increased dramatically and was hard
to maintain. Therefore, an architecture was needed that would allow development of Web
applications in a structured and consistent way.

The .NET Framework was introduced with a vision to create globally


distributed software with Internet functionality and interoperability. The .NET
Framework consists of many class libraries, includes multiple language support and a
common execution platform. It's a very flexible foundation on which many different
types of top class applications can be developed that do different things. Developing

Internet applications with the .NET Framework is very easy. ASP.NET is built
into this framework; we can create ASP.NET applications using any of the built-in
languages.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

Differences between ASP.NET and Client-Side Technologies

Client-side refers to the browser and the machine running the browser.
Server-side on the other hand refers to a Web server.

Client-Side Scripting

JavaScript and VBScript and generally used for Client-side scripting.


Client-side scripting executes in the browser after the page is loaded. Using client-side
scripting you can add some cool features to your page. Both, HTML and the script
are together in the same file and the script is downloading as part of the page which
anyone can view. A client-side script runs only on a browser that supports scripting and
specifically the scripting language that is used. Since the script is in the same file as the
HTML and as it executes on the machine you use, the page may take longer time to
download.

Server-Side Scripting

ASP.NET is purely server-side technology. ASP.NET code executes on the


server before it is sent to the browser. The code that is sent back to the browser is pure
HTML and not ASP.NET code. Like client-side scripting, ASP.NET code is similar in a
way that it allows you to write your code alongside HTML. Unlike client-side scripting,
ASP.NET code is executed on the server and not in the browser. The script that you write
alongside your HTML is not sent back to the browser and that prevents others
from stealing the code you developed.

UI LAYER BUSINESS OBJECTS Data Layer

Government
Asp.Net PolytechnicBusiness
pages User ,Gandhinagar
rules/logic Databases Stored
Controls etc Helper functionality etc Stored procedures etc
ULTIMATE BOOK CHOICE

THE THREE-TIER MODEL CONSISTS OF UI, BUSINESS LOGIC, DATA LAYERS

CLIENT SERVER

Request First Time? Yes Compile

No

Handles events

Execute Code

Translate (into HTML)

Display

THE ASP.NET WORKFLOW, FROM REQUEST TO DISPLAY

The .NET Framework: -

The .NET Framework is the plumbing of .NET. The framework provides


the services necessary to develop and deploy applications for the loosely coupled,
disconnected Internet environment. The .NET Framework is a new computing platform

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

that simplifies application development in the highly distributed environment of the


Internet.

VB C# C++ Other

Base Class Library

Common Language Specification Visual


Studio
. NET
Web Services User Interface

Data and XML

Common Language Runtime

NET Framework Advantages

The .NET Framework offers a number of advantages to developers. The


following paragraphs describe them in detail.

Consistent Programming Model

Different programming languages have different approaches for doing a


task. For example, accessing data with a VB 6.0 application and a VC++ application is
totally different. When using different programming languages to do a task, a disparity
exists among the approach developers use to perform the task.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

The difference in techniques comes from how different languages interact with
the underlying system that applications rely on.

With .NET, for example, accessing data with a VB .NET and a C# .NET
looks very similar apart from slight syntactical differences. Both the programs need to
import the System. Data namespace, both the programs establish a connection with the
database and both the programs run a query and display the data on a data grid. The VB
6.0 and VC++ example mentioned in the first paragraph explains that there is more than
one way to do a particular task within the same language. The .NET example explains
that there's a unified means of accomplishing the same task by using the .NET Class
Library, a key component of the .NET Framework.

The functionality that the .NET Class Library provides is available to all
.NET languages resulting in a consistent object model regardless of the programming
language the developer uses.

Direct Support for Security

Developing an application that resides on a local machine and uses local


resources is easy. In this scenario, security isn't an issue as all the resources are available
and accessed locally. Consider an application that accesses data on a remote machine or
has to perform a privileged task on behalf of a no privileged user. In this scenario security
is much more important as the application is accessing data from a remote machine.

With .NET, the Framework enables the developer and the system
administrator to specify method level security. It uses industry-standard protocols such as
TCP/IP, XML, SOAP and HTTP to facilitate distributed application communications.
This makes distributed computing more secure because .NET developers cooperate with
network security devices instead of working around their security limitations.

Simplified Development Efforts

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

Let's take a look at this with Web applications. With classic ASP, when a
developer needs to present data from a database in a Web page, he is required to write the
application logic (code) and presentation logic (design) in the same file. He was required
to mix the ASP code with the HTML code to get the desired result.

ASP.NET and the .NET Framework simplify development by separating


the application logic and presentation logic making it easier to maintain the code. You
write the design code (presentation logic) and the actual code (application logic)
separately eliminating the need to mix HTML code with ASP code. ASP.NET can also
handle the details of maintaining the state of the controls, such as contents in a textbox,
between calls to the same ASP.NET page.

Another advantage of creating applications is debugging. Visual Studio


.NET and other third party providers provide several debugging tools that simplify
application development.

The .NET Framework simplifies debugging with support for Runtime diagnostics.
Runtime diagnostics helps you to track down bugs and also helps you to determine how
well an application performs. The .NET Framework provides three types of Runtime
diagnostics: Event Logging, Performance Counters and Tracing.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

COMMON LANGUAGE RUNTIME (CLR):-

The CLR is at the heart of the .Net platform. The CLR is a run-time
engine that compiles IL code into native machine-language code when a Web page or
middle-tier method is invoked. It catches system exceptions, manages memory, and
loads and unloads application code.

Visual C# .Net Source Visual Basic.Net Source


Code Code

Visual C#.Net Compiler Visual Basic .Net Compiler


(CSC.exe, Visual (VBC.exe, Visual Studio .Net)
Studio.Net)

Platform Independent IL code


Assembly (DLL)

Deploymen
t

Production Server

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

The CLR features automatic memory management, called Garbage Collection.


The .NET runtime decides when to release object references based on usage patterns. No
longer are developers explicitly required to release object references or free memory. This
should mean improved application reliability because fewer memory leaks can occur.
Tracking down memory leaks can be a long and having CLR automatically manage this
marks a big improvement in application reliability.

Advantages Using ASP.NET

 ASP.NET drastically reduces the amount of code required to build large applications

 ASP.NET makes development simpler and easier to maintain with an event-driven,


server-side programming model.

 ASP.NET pages are easy to write and maintain because the source code and HTML
are together

 The source code is executed on the server. The pages have lots of power and
flexibility by this approach.

 The source code is compiled the first time the page is requested. Execution is fast as
the Web Server compiles the page the first time it is requested. The server saves the
compiled version of the page for use next time the page is requested.

 The HTML produced by the ASP.NET page is sent back to the browser. The
application source code you write is not sent and is not easily stolen.

 ASP.NET makes for easy deployment. There is no need to register components


because the configuration information is built-in.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

Stages in Web Forms Processing

Page The page's Page_Init During this event, the ASP.NET page
Initialization event is raised, and the framework restores the control properties and
page and control view postback data.
state are restored.
User Code The page's Page_Load Read and restore values stored previously,
Initialization event is raised. Using the Page.IsPostBack property, check
whether this is the first time the page is being
processed. If this is the first time the page is
being processed then perform initial data
binding. Otherwise, restore control values.
Read and update control properties.
Validation The Validate method of Test the outcome of validation in an event
any validation Web handler
server controls is
invoked to perform the
control's specified
validation.
Event If the page was called in Perform application-specific processing and
Handling response to a form handle the specific event raised.
event, the corresponding
event handler in the page
is called during this
stage
Cleanup The Page_Unload event Perform final cleanup work. Close files,
is called because the closing database connections and discard
page has finished objects.
rendering and is ready to
be discarded.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

So Why VB.NET ?

Visual Studio .NET is a complete set of development tools for building ASP Web
applications, XML Web services, desktop applications, and mobile applications. Visual
Basic .NET, Visual C++ .NET, and Visual C# .NET all use the same integrated
development environment (IDE), which allows them to share tools and facilitates in the
creation of mixed-language solutions. In addition, these languages leverage the
functionality of the .NET Framework, which provides access to key technologies that
simplify the development of ASP Web applications and XML Web services.

Visual Studio .NET is Microsoft’s Integrated Development Environment (IDE)


for creating, running and debugging programs (also called applications ) written in a
variety of .NET programming languages. This IDE is a powerful and sophisticated tool
for creating business-critical and mission-critical applications.

Visual Basic .NET is a pillar of the .NET Framework, and yet another step
forward in evolution of the language. It is a high-level programming language for the
.NET Framework, and provides the easiest point of entry to the Microsoft .NET platform.

Visual Basic .NET reflects the following design principles:

 It is recognizably the descendant of Visual Basic. An existing Visual Basic


programmer will feel immediately familiar with the language.
 Its syntax and semantics are simple, straightforward, and easy to understand.
The language avoids unintuitive features.
 It gives developers the major features of the .NET Framework and is
consistent with the framework's conventions.
 Because the .NET Framework explicitly supports multiple computer
languages, it works well in a Multilanguage environment.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

It is as compatible with previous versions of Visual Basic as possible.


Whenever practical, Visual Basic .NET has the same syntax, the same
semantics, and the same run-time behavior as its predecessors.

These principles complement the original design principles of Visual Basic:

 It is as safe a language to write in as possible. In general, Visual Basic tries to


balance reliability, ease of use, and efficiency in the definition of the language.
 It is an extremely approachable language.
 It enables rapid program development, while not compromising reliability.
 It produces predictable and efficient code.
 It works as a strongly type language, as well as a loosely typed one, for more
correct user code in the former case, and for faster development in the latter.

Visual Basic .NET supports many new or improved object-oriented language


features such as inheritance, overloading, the Overrides keyword, interfaces, shared
members, and constructors.

Also includes structured exception handling, delegates, and several new data types.

 Inheritance
Visual Basic .NET supports inheritance by allowing you to define classes
that serve as the basis for derived classes. Derived classes inherit and can extend
the properties and methods of the base class. They can also override inherited
methods with new implementations. All classes created with Visual Basic .NET
are inheritable by default. Because the forms you design are really classes, you
can use inheritance to define new forms based on existing ones.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

 Exception Handling
Visual Basic .NET supports structured exception handling, using an
enhanced version of the Try...Catch...Finally syntax supported by other
languages such as C++. Structured exception handling combines a modern control
structure (similar to Select Case or While) with exceptions, protected blocks of
code, and filters. Structured exception handling makes it easy to create and
maintain programs with robust, comprehensive error handlers.

 Overloading
Overloading is the ability to define properties, methods, or procedures that
have the same name but use different data types. Overloaded procedures allow
you to provide as many implementations as necessary to handle different kinds of
data, while giving the appearance of a single, versatile procedure.

 Overriding Properties and Methods


The Overrides keyword allows derived objects to override characteristics
inherited from parent objects. Overridden members have the same arguments as
the members inherited from the base class, but different implementations. A
member's new implementation can call the original implementation in the parent
class by preceding the member name with MyBase.

 Constructors and Destructors


Constructors are procedures that control initialization of new instances of
a class. Conversely, destructors are methods that free system resources when a
class leaves scope or is set to Nothing. Visual Basic .NET supports constructors
and destructors using the Sub New and Sub Finalize procedures.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

 Data Types
Visual Basic .NET introduces three new data types. The Char data type is
an unsigned 16-bit quantity used to store Unicode characters. It is equivalent to
the .NET Framework System.Char data type. The Short data type, a signed 16-
bit integer, was named Integer in earlier versions of Visual Basic. The Decimal
data type is a 96-bit signed integer scaled by a variable power of 10. In earlier
versions of Visual Basic, it was available only within a Variant.

 Shared Members
Shared members are properties, procedures, and fields that are shared by
all instances of a class. Shared data members are useful when multiple objects
need to use information that is common to all. Shared class methods can be used
without first creating an object from a class.

 References
References allow you to use objects defined in other assemblies. In Visual
Basic .NET, references point to assemblies instead of type libraries.

 Namespaces
Namespaces prevent naming conflicts by organizing classes, interfaces,
and methods into hierarchies.

 Assemblies
Assemblies replace and extend the capabilities of type libraries by,
describing all the required files for a particular component or application. An
assembly can contain one or more namespaces.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

ADO .NET

Most applications need data access at one point of time making it a crucial
component when working with applications. Data access is making the application
interact with a database, where all the data is stored. Different applications have different
requirements for database access. VB .NET uses ADO .NET (Active X Data Object) as
its data access and manipulation protocol, which also enables us to work with data on the
Internet. Let's take a look why ADO .NET came into picture replacing ADO.

Evolution of ADO.NET

The first data access model, DAO (data access model) was created for
local databases with the built-in Jet engine that had performance and functionality issues.
Next came RDO (Remote Data Object) and ADO (Active Data Object), which were
designed for Client Server architectures, but soon ADO took over RDO. ADO was a good
architecture but as the language changes so is the technology. With ADO, all the data is
contained in a recordset object, which had problems when implemented on the network
and penetrating, firewalls. ADO was a connected data access, which means that when a
connection to the database is established the connection remains open until the
application is closed. Leaving the connection open for the lifetime of the
application raises concerns about database security and network traffic. Also, as
databases are becoming increasingly important and as they are serving more people, a
connected data access model makes us think about its productivity. For example, an
application with connected data access may do well when connected to two clients, the
same may do poorly when connected to 10 and might be unusable when connected to 100
or more. Also, open database connections use system resources to a maximum extent
making the system performance less effective.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

Why ADO.NET?

To cope up with some of the problems mentioned above, ADO .NET came
into existence. ADO .NET addresses the above-mentioned problems by maintaining a
disconnected database access model, which means, when an application interacts with the
database, the connection is opened to serve the request of the application and is closed as
soon as the request is completed. Likewise, if a database is updated, the connection is
opened long enough to complete the Update operation and is closed. By keeping
connections open for only a minimum period of time, ADO .NET conserves system
resources and provides maximum security for databases and also has less impact on
system performance. Also, ADO .NET when interacting with the database uses XML and
converts all the data into XML format for database related operations making them more
efficient.

The ADO.NET Data Architecture

Data Access in ADO.NET relies on two components: DataSet and Data


Provider.

DataSet

The dataset is a disconnected, in-memory representation of data. It can be


considered as a local copy of the relevant portions of the database. The DataSet is
persisted in memory and the data in it can be manipulated and updated independent of the
database. When the use of this DataSet is finished, changes can be made back to the
central database for updating. The data in DataSet can be loaded from any valid data
source like Microsoft SQL server database, an Oracle database or from a Microsoft
Access database.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

Data Provider

The Data Provider is responsible for providing and maintaining the


connection to the database. A DataProvider is a set of related components that work
together to provide data in an efficient and performance driven manner. The .NET
Framework currently comes with two DataProviders: the SQL Data Provider which is
designed only to work with Microsoft's SQL Server 7.0 or later and the OleDb
DataProvider which allows us to connect to other types of databases like Access and
Oracle. Each DataProvider consists of the following component classes:

 The Connection object, which provides a connection to the database.


 The Command object, which is used to execute a command.

 The Data Reader object, which provides a forward-only, read-only, connected


recordset.

 The Data Adapter object, which populates a disconnected Data set with data and
performs update.

 Data access with ADO.NET can be summarized as follows:

 A connection object establishes the connection for the application with the database.
The command object provides direct execution of the command to the database. If the
command returns more than a single value, the command object returns a DataReader
to provide the data. Alternatively, the DataAdapter can be used to fill the Dataset
object. The database can be updated using the command object or the Data Providers.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

Component classes that make up the Data Providers

The Connection Object

The Connection object creates the connection to the database. Microsoft


Visual Studio .NET provides two types of Connection classes: the SqlConnection object,
which is designed specifically to connect to Microsoft SQL Server 7.0 or later, and the
OleDbConnection object, which can provide connections to a wide range of database
types like Microsoft Access and Oracle. The Connection object contains all of the
information required to open a connection to the database.

The Command Object

The Command object is represented by two corresponding classes:


SqlCommand and OleDbCommand. Command objects are used to execute commands
to a database across a data connection. The Command objects can be used to execute
stored procedures on the database, SQL commands, or return complete tables directly.
Command objects provide three methods that are used to execute commands on the
database:

 ExecuteNonQuery: Executes commands that have no return values such as


INSERT, UPDATE or DELETE
 ExecuteScalar: Returns a single value from a database query.

 ExecuteReader: Returns a result set by way of DataReader object.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

The DataReader Object

The DataReader object provides a forward-only, read-only, connected


stream recordset from a database. Unlike other components of the Data Provider,
DataReader objects cannot be directly instantiated. Rather, the DataReader is returned as
the result of the Command object's ExecuteReader method. The
SqlCommand.ExecuteReader method returns a SqlDataReader object, and the
OleDbCommand.ExecuteReader method returns an OleDbDataReader object. The
DataReader can provide rows of data directly to application logic when you do not need
to keep the data cached in memory. Because only one row is in memory at a time, the
DataReader provides the lowest overhead in terms of system performance but requires
the exclusive use of an open Connection object for the lifetime of the DataReader.

The DataAdapter Object

The DataAdapter is the class at the core of ADO. NET's disconnected data
access. It is essentially the middleman facilitating all communication between the
database and a DataSet. The DataAdapter is used either to fill a DataTable or DataSet
with data from the database with it's Fill method. After the memory-resident data has
been manipulated, the DataAdapter can commit the changes to the database by calling the
Update method. The DataAdapter provides four properties that represent database
commands:

 SelectCommand
 InsertCommand

 DeleteCommand

 UpdateCommand

When the Update method is called, changes in the DataSet are copied back
to the database and the appropriate InsertCommand, DeleteCommand, or
UpdateCommand is executed.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

Internet Information System

Client

Typical Web Server Web


Server
Mac OS

INTERNET

Linux

Windo ws 98
Internet Information Services 5.0 (IIS) is the Windows 2000 Web service that
makes it easy to publish information on your intranet Internet Information Services (IIS)
for Microsoft Windows 2000 brings the power of Web computing to Windows. With IIS,
you can easily share files and printers and create applications to securely publish
information to improve the way your organization works. IIS is a secure platform for
building and deploying eCommerce solutions. IIS also makes it easy to bring mission-
critical business applications to the Web. IIS integrates proven Internet standards with
Windows, so that using the Web does not mean having to start over and learn new ways
to publish, manage, or develop.
Windows 2000 with Internet Information Services is the easiest way to share
information and run powerful applications on the Web. The award-winning IIS online

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

documentation includes an index, full-text search, and printing by node or by individual


topic.
2.5.1 Features of IIS
Internet Information Services 5.0 has many new features to help Web
administrators to create scalable, flexible Web applications.
 Security.
 Administration Programmability.

Application Architecture

Basically our system works on 3-tier architecture shown as below:

 Presentation tier — handles external interaction with the user.


 Business logic tier — manipulates the information required by the user.
 Database tier — stores all the data handled by the system.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

Client-tier

Is responsible for the presentation of data, receiving user events and controlling
the user interface. The actual business logic (e.g. calculating added value tax) has been
moved to an application-server. Today, Java-applets offer an alternative to traditionally
written PC-applications. See our Internet-page for further information.

Application-server-tier

This tier is new, i.e. it isn’t present in 2-tier architecture in this explicit form.
Business-objects that implement the business rules "live" here, and are available to the
client-tier. This level now forms the central key to solving 2-tier problems. This tier
protects the data from direct access by the clients.

Furthermore, the term "component" is also to be found here. Today the term pre-
dominantly describes visual components on the client-side. In the non-visual area of the
system, components on the server-side can be defined as configurable objects, which can
be put together to form new application processes.

Data-server-tier

This tier is responsible for data storage. Besides the widespread relational
database systems, existing legacy systems databases are often reused here.

It is important to note that boundaries between tiers are logical. It is quite easily
possible to run all three tiers on one and the same (physical) machine. The main
importance is that the system is neatly structured, and that there is a well planned
definition of the software boundaries between the different tiers.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

The advantages of 3-tier architecture:


 Clear separation of user-interface-control and data presentation from application-
logic. Through this separation more clients are able to have access to a wide
variety of server applications. The two main advantages for client-applications are
clear: quicker development through the reuse of pre-built business-logic
components and a shorter test phase, because the server-components have already
been tested.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

 Re-definition of the storage strategy won’t influence the clients. RDBMS’ offer a
certain independence from storage details for the clients. However, cases like
changing table attributes make it necessary to adapt the client’s application. In the
future, even radical changes, like let’s say switching form an RDBMS to an
OODBS, won’t influence the client. In well designed systems, the client still
accesses data over a stable and well designed interface which encapsulates all the
storage details.
 Business-objects and data storage should be brought as close together as possible,
ideally they should be together physically on the same server. This way -
especially with complex accesses - network load is eliminated. The client only
receives the results of a calculation - through the business-object, of course.
 In contrast to the 2-tier model, where only data is accessible to the public,
business-objects can place applications-logic or "services" on the net. As an
example, an inventory number has a "test-digit", and the calculation of that digit
can be made available on the server.
 As a rule servers are "trusted" systems. Their authorization is simpler than that of
thousands of "entrusted" client-PCs. Data protection and security is simpler to
obtain. Therefore it makes sense to run critical business processes, that work with
security sensitive data, on the server.
 Dynamic load balancing: if bottlenecks in terms of performance occur, the server
process can be moved to other servers at runtime.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

Incremental Process Model

For the development of project there are many approaches such as – The software
Development Life Cycle like Linear Sequential Model or Waterfall Model. The
prototyping Model, the RAD Model, Evolutionary software process models like the
Incremental Model or The Spiral Model or The Win Spiral Model or the Concurrent
development model etc… But we have used the evolutionary software process model
called –The Incremental Model.

For our project we have used the Evolutionary software process model the
incremental model. Incremental model combines elements if the Linear Sequential Model
(applied respectively) with the philosophy of prototyping. The incremental model applies
linear sequences in a staggered fashion as calendar time progress; each linear sequence
produces a deliverable “increments” of the software. Moreover like prototyping it is
iterative in nature.

System Engineering Increment 1

Test Delivery of
Analysis Design Code 1stIncrement

2nd
Incr 2 Analysis Design Code Test Increment

3rd
Incr 3 Analysis Design Code Test
Inc

Incr 4 Analysis Design Code Test

Delivery
Of 4th
There are mainly 4 steps, which are repeated iteratively.
Increment

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

Analysis
Design
Code
Testing and Debugging

The software Process Model that we have used for our project is evolutionary
Incremental model because we the complete functionality of the system i.e. UPS is not
known so it is developed as an incremental whose complete requirements is not known
and in every increment the more functionality is provided to the user. Moreover it may
also be possible that few more functionalities which are not known right now are needed
to be as our project leader itself is not aware of the complete requirements and after
giving the first model we will again give the revised system by doing incremental in the
functionality and then again if needed the other i.e. The third increment will be given.
After the delivery of initial product we will make the decision about the modification
from the feedbacks of the users and according to that we will make the modifications on
this project and try to provide more functionalities in the revised version.

As basically we need to provide the various functionalities in the different


increments we feel that the software development process we use will be an Evolutionary
Development model called as the incremental model.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

Types of Information System

The purposes of information systems, like any other system in the organization,
are to process input, maintain files of data about the organization, and produce
information, reports, and other output.

In order to meet a variety of business needs, systems analyst develops different


types of information system. Any Computer Based information system that is working
in any institution can be of specific type. There are three types in which a information
system can be classified. They are listed as follows: -

 Transaction Processing System (TPS):-

The most fundamental computer based system in an organization pertains to the


processing of business transactions. Transaction Processing Systems (TPS) are aimed at
improving the routine business activities on which all organizations depend. A
transaction is any event or activity that affects the organization. Common transactions
include placing orders, billing customers, hiring employees and depositing checks.
The types of transaction that occur vary from organization to organization,
however virtually all firm process transactions as a major part of their daily business
activities.

 Management Information System (MIS):-

The management level of the organization, providing the managers with reports
and in some cases access to the organization’s current performance and historical
records. Typically, they are oriented almost exclusively to internal not environment or
external events. The MIS primarily serves the function of planning, controlling and
decision making at the management level.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

Generally, they are dependent on underlying transaction processing systems for


their data. The term computer-based information system (CBIS) as the umbrella term for
all information systems and to consider the management information systems as those
that are specifically dedicated to management-level functions.

 Decision Support System (DSS): -

Like MIS, DSS serve the management level of the organization, in vastly
different ways. DSS are a class of systems that supports decisions in a unique way (at
least when compared to past). DSS help managers to make decisions that are semi-
structured, unique or rapidly changing, and easily specified in advance. DSS have to be
responsive enough to run several times a day in order to correspond to changing
conditions. While DSS use internal information from TPS to MIS, they often bring in
information from external sources.
We have analyzed our system well and on analyzing we found that our system
support two different types of information system. Thus, having studies the proposed
system is considered as mix of two systems - They are
 Transaction Processing System (TPS)
 Management Information System (MIS)
Our system supports the information system of the above listed two categories due to
following characteristics: -
Transaction Processing System: -
HRMS (Human Resource Management System) pertains to the Transaction
Processing System as it serves a supplement for the various computations like Project
Summarization and calculation of total Billed Worked Hours of the employees.

Government Polytechnic ,Gandhinagar


ULTIMATE BOOK CHOICE

BIBLIOGRAPHY

Books Referred

 Asp.Net Unleashed
 Asp.Net Professional
 Asp.Net for Beginners
 Master in ASP.NET
 Beginning ASP.NET 1.1 with VB.NET 2003
 Developing Web-Based applications in ASP.NET
 Software Engineering by Roger A. Pressman

Websites Visited

 www.dotnetspider.com
 www.Aspnetworld.com
 www.Asp.net
 www.a1vbcode.com
 www.dotnetjhon.com
 www.superdotnet.com
 www.dotnetforce.com
 www.knowdotnet.com.
 www.thecodebehind.com
 www.15seconds.com
 www.datagridgirl.com

Government Polytechnic ,Gandhinagar

Potrebbero piacerti anche