Professional Documents
Culture Documents
3
Designing the Project
CHAPTER 3
Designing the Project
37
Chapter No. 3
Designing the Project
3.1 Introduction
In order to design a web site, the relational database must be designed first.
Conceptual design can be divided into two parts: The data model and the process
model. The data model focuses on what data should be stored in the database while
the process model deals with how the data is processed. To put this in the context of
the relational database, the data model is used to design the relational tables. The
process model is used to design the queries that will access and perform operations
on those tables.
3.2 Purpose
Purpose is to:
Understand a system.
3.3 Scope
My focus is to develop and design the complete online website according to
requirements. In designing phase I develop complete user side and as well as admin
site for users and administrator simultaneously. In designing phase back end coding
is most important by which we develop our graphical site. So, my scope is to design
and develop my website completely.
38
Chapter No. 3
Designing the Project
3.4 Activity Diagrams
System Flow for Admin
Here is the flow of login into system for administrator.
S SYS
Sys
39
Chapter No. 3
Designing the Project
40
Chapter No. 3
Designing the Project
41
Chapter No. 3
Designing the Project
Fig 3.2 System Flow for Customer
3.5 Architectural Representation (Architecture Diagram)
3.5.1 Data Flow Diagram
First Level DFD for Admin
42
Chapter No. 3
Designing the Project
43
Chapter No. 3
Designing the Project
44
Chapter No. 3
Designing the Project
Chapter No. 3
Designing the Project
Chapter No. 3
Designing the Project
47
Chapter No. 3
Designing the Project
Chapter No. 3
Designing the Project
Administrator diagram for Add, Delete and View user and Customer.
Fig 3.7 Sequence Diagram for Administrator to Add, Delete and View user and
Customer
Chapter No. 3
Designing the Project
Fig 3.8 Sequence Diagram for Administrator to Add, Delete and View Products
Chapter No. 3
Designing the Project
Rapid application development is a software development methodology, which involves
iterative development and the construction of prototypes. It is a merger of various
structured techniques, especially the data driven Information Engineering with
prototyping techniques to accelerate software systems development. We use RAD Model
when Requirements are clear.
51
Chapter No. 3
Designing the Project
A system
52
Chapter No. 3
Designing the Project
Primary Key
Every table in SQL Server has a field or combination of fields that uniquely identifies
each record in the table. The unique identifier is called the Primary Key. or simple the
Key. The primary key provides the means to 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 a 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.
Foreign Key
When a field in the one table matches the primary key of another field is referred to as a
foreign key. A foreign is a field or group of fields in one table whose values match those
of the primary key of another table.
Referential Integrity
Note only those 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.
53
Chapter No. 3
Designing the Project
Tables
There are following tables that are designed for this online application:
3.9.1 Admin Login.
Table 3.1
3.9.2 Customer.
Table 3.2
54
Chapter No. 3
Designing the Project
3.9.3 Product.
Table 3.3
3.9.4 Product Category.
55
Chapter No. 3
Designing the Project
Table 3.4
3.9.5 Product Groups
.
Table 3.5
3.7.6 Post a job.
Table 3.6
56
Chapter No. 3
Designing the Project
Table 3.7
3.9.8 Job Group.
Table 3.8
3.9.9 Comments.
Table 3.9
57
Chapter No. 3
Designing the Project
58
Chapter No. 3
Designing the Project
Admin Area
In this area admin can perform all the actions that are suitable.
59
Chapter No. 3
Designing the Project
Home Page
Home page displays Ads to the guest user and link for registration and also area for user
login.
60
Chapter No. 3
Designing the Project
Products Detail page
This page displays the whole detail of ads and also the comments.
61
Chapter No. 3
Designing the Project
Customer Area
Here the registered users (customers) can post, update and delete their own Ads.
62
Chapter No. 3
Designing the Project
63
Chapter No. 3
Designing the Project
64
Chapter No. 3
Designing the Project
65
Chapter No. 3
Designing the Project
About US Page
This page describes the vision and mission of the application.
66
Chapter No. 3
Designing the Project
Contact Us Page
This page provides the contact information for the users to administrator.
67