CHAPTER 4 Final
CHAPTER 4 Final
4.0 Introduction:
Having successfully gone through the existing system, and fully understood how it operates. The
next step is to design the proposed system. Systems design is the process of defining the
architecture, components, modules, interfaces, and data for a system to satisfy specified
requirements. Systems design is the application of systems theory to product development. The
operating environment is established, major subsystems and their inputs and outputs are defined
and processes are allocated to resources. This entails how the proposed system is going to be
developed, coded and deployed.
Whitten, J. L. et al. (2001) says that a context diagram is an illustration that provides information
on the way a system works or the general operations that a system takes. The following diagram
is a context diagram of the current system.
28 | P a g e
(ADMIN)
A data flow diagram (DFD) illustrates how data are processed by the system in terms of inputs
and outputs. As its name indicates its focus is on the flow of information, where data comes
from, where it goes and how it gets stored.
29 | P a g e
FIG 4.2 Data
Flow Diagram
It shows a better understanding of proposed methods and procedures of the system. The
importance of the system flow chart is to represent a series of events diagrammatically as shown
in the fig overleaf.
30 | P a g e
REGISTERED USER NEW USER
LOG IN REGISTRATION
Incorrect
CONFIRM CONFIRM
VIEW PRODUCT
QUOTE PRODUCT
PURCHASE
RECEIVE
ACKNOWLEDGEMENT
RECEIVE DELIVERY
31 | P a g e
FIG 4.3 system flow chart of online sales
4.3 Use Case diagram
Customer
Admin
(Management)
Teller
FIG 4.4
Use case diagram of online sales
32 | P a g e
4.5 Class diagram
The diagram shows the classes of a sales system and how they are related. Whitten, J. L. et al.
(2001)
Customer Admin
▪ Name ▪ Name
▪ Password ▪ Password
Teller
▪ Town ▪ Email
▪ Name
▪ Email login()
▪ Password
login() add user()
▪ Email
register() remove user()
login()
change password() change password()
change password()
request quote() quote()
quote()
buy() invoicing()
invoicing()
submit() view payment()
view payment()
reset() add product()
add product()
view product()
view product()
edit product()
edit product()
FIG 4.5
Class diagram of the
online sales system
33 | P a g e
4.6 Database design
Dennis and Wixon (1997) are of the view that the success of the project in meeting the
information requirements is going to depend on the structure and functionality of the database.
The database should ensure data integrity, consistency and reduce data redundancy. It also has to
be efficient in processing.
A database is an overall collection of related data on a computer system in the bid to support
multi-users in different locations. Data storage depends on database containing tables of the
various attributes normalised in accordance to the various transactions.
The system is going to use a database management rather than a file based system because of the
following reasons;
This shows how data is organised in a database environment in the form of layers known as
schemas. The layers involved are Conceptual and Application. The diagram below shows the
database architecture of the proposed system. Figure 4.6 shows database architecture.
The Manager is the only one who will have access rights to the database. The users will have
right to post details to the database without right of modification.
34 | P a g e
Database Architecture design
The analyst is going to use Entity relationship diagrams to visualize objects, physical and logical
structure of the database. These are going also to show the relationship between the entities.
35 | P a g e
FIG 4.7
E R diagram
36 | P a g e
4.6.4 Database storage
37 | P a g e
TABLE 4.5 CUSTOMER REGISTRATION
38 | P a g e
TABLE 4.7 PARTS REGISTRATION
ID INT(20) UNQUE
39 | P a g e
TABLE 4.9 VIEW PARTS
ID INT(20) PARTS ID
CAR MODEL
VARCHAR(30) THE CAR’S MODEL TYPE
SPARE PART
VARCHAR(30) NAME OF PART
SIZE/TYPE
VARCHAR(20) SIZE OF PART
4.7.1 Layout
The forms and reports are going to have the following nature. A header section which identifies the
section the user is at that moment when that form is open, the details section which contains the data
the user will be working with and the footer which contains normally the controls of the form.
The interfaces are to be designed in such a way that the user will be aware where to find the different
controls on the form such that with much use he will get used to the form that he will be aware were
to find which control on each interface.
40 | P a g e
4.7.3 User experience
Simplicity in designing input, output forms and reports was my goal of interface design. Forms
which are difficult for the user to use will result in the project becoming a failure at implementation
as they will resort to old system which they are used to because they can’t use the new system. It
should be taken into account that the interfaces should be easy to get used to, even with people with
low computer skills.
4.7.4 Effort
Minimum effort is needed in using the system. Simple clicks of the mouse on icons and buttons is
used and entering data through the key board is minimised. Once data has been captured it is used
over and over again, there is no need to recapture the same data at different levels of processing. Also
the entering of data is controlled to ensure correct data is captured before it is updated to the
database.
The following diagram shows the home page of the online sales system. All the other forms have
links from this home page.
42 | P a g e
4.11 Update Sellers
43 | P a g e
4.13 Update Parts
44 | P a g e
FIG 4.11 BUY PARTS FORM
46 | P a g e
FIG 4.14
4.13 CUSTOMER
Output REGISTRATION FORM
forms.
Nat Full Cell Acc Item Item Item Item Qnty Date
transaction
47 | P a g e
Fig 4.15 Output form
4.13 Recommendations
The design phase has converted the logical design of the system into a physical design. With the
physical aspect of the system provided, the management had an appreciation of what the system
is and how it is going to work. Therefore, it had been recommended that the project must
continue
4.14 Conclusion
The design phase outlined how the system is going to work in an actual environment. This has
been achieved by listing all the processes, showing input and output forms and listing the
hardware and software requirements. Now there it is safe to implement and test the system, and
this will be discussed in the next chapter.
48 | P a g e