Académique Documents
Professionnel Documents
Culture Documents
System design is the solution for the creation of a new system. This phase focuses on the
detailed implementation of the feasible system. It emphasis on translating design.
Specifications to performance specification. System design has two phases of development
Logical design
Physical design
During logical design phase the analyst describes inputs (sources), output s(destinations),
databases (data sores) and procedures (dataflows) all in a format that meets the user
requirements. The analyst also specifies the needs of the user at a level that virtually
determines the information flow in and out of the system and the data resources. Here the
logical design is done through data flow diagrams and database design. The physical design is
followed by physical design or coding. Physical design produces the working system by
defining the design specifications, which specify exactly what the candidate system must do.
The programmers write the necessary programs that accept input from the user, perform
necessary processing on accepted data and produce the required report on a hard copy or
display it on the screen.
Computer output is the most important and direct source of information to the user. Output
design is a very important phase since the output needs to be in an efficient manner. Efficient
and intelligible output design improves the system relationship with the user and helps in
decision making. Allowing the user to view the sample screen is important because the user is
the ultimate judge of the quality of output. The output module of this system is the selected
notifications.
DATABASE
DATABASE DESIGN:
Databases are the storehouses of data used in the software systems. The data is stored in
tables inside the database. Several tables are created for the manipulation of the data for the
system. Two essential settings for a database are the field that is unique for all the record
occurrences. the field used to set relation between tables. Normalization is a technique to
avoid redundancy in the tables.
SYSTEM TOOLS
The various system tools that have been used in developing both the frontend and the back
end of the project are being discussed in this chapter.
FRONT END:
PHP, HTML, CSS, JAVA SCRIPT are utilized to implement the frontend.
PHP (Hypertext Preprocessor): PHP is a widely-used open source general-purpose
scripting language that is especially suited for web development and can be embedded into
HTML.
HTML (Hyper Text Mark-up Language): HTML is a syntax used to format a text
document on the web.
CSS (Cascading Style Sheets): CSS is a style sheet language used for describing the look
and formatting of a document written in a mark-up language.
Java Script: JS is a dynamic computer programming language. It is most commonly used as
part of web browsers, whose implementations allow client-side scripts to interact with the
user, control the browser, communicate asynchronously, and alter the document content that
is displayed. Java Script is used to create pop-up windows displaying different alerts in
BACK END
The back end is implemented using MySQL which is used to design the
databases.
MySQL: MySQL is the world's second most widely used open-source relational
database management system (RDBMS). The SQL phrase stands for Structured Query
Language.
TABLES:
Addcolor
Addcolorimage
Adddeliverytime
Addproductcolorimage
Bianshipping
Cms
Menusbcategory
Productcategory
Productuser
Shopcart
This chapter includes the detailed design used to build the application. The system's design is
used to create the functions and operations of the gathered requirements in detail, including
screen layouts, business rules, process diagrams, and other documentation. The output of this
chapter describes the new system which is defined as a collection of modules and
subsystems. This design stage takes the initial input requirements that were identified in the
approved requirements specification document. For each requirement, there is a set of one or
more design elements that are produced using the different prototypes. These design elements
describe the desired software features, in detail, including functional hierarchy diagrams,
screen layouts, activity diagrams, and class diagrams. The intention of these diagrams is to
describe the software in detail so that the system can develop the application with less
additional design input. The systems mock screen shots are shown later in this chapter.
Detailed Scope
This project is supposed to be delivered in three phases, with each phase being an add-on to
the project that makes it more usable and acceptable.
1.In the first delivery, the application must be able to add an item to the shopping cart and
case.
Browse categories on the home page
Select a category and browse through the items
View more information about an item.
Add an item to the shopping cart.
Continue shopping or go to checkout for the item.
2. The application must be able to check out the items in the cart.
Check out the items.
Continue shopping.
Delete the items to update the shopping cart.
4. The application must bring up the order form for the check out.
Complete the information on the order form.
Place the order.
Static Decomposition and Dependency Description
This section contains the system use-case diagram for the application and has a detailed
explanation for each use case in the system.
Figure--1
Use-Case Diagram: Admin
Figure 2 demonstrates the use case for users where they have access to the application.
They can access the home page, select a category, add/delete items to/from the cart, view
the shopping cart, and decide to either continue shopping or check out. They are required
to go through the user-authentication form (login) which would only allow them to place
an order for the items they selected.
Figure--2
Use-Case Diagram: User
Below are the different use cases in the system, the use case, and the actors associated with
each use case. The description is used for a novice user to better understand the workings of
the system and the pre-conditions that should be satisfied before invoking each use case.
Exceptional Flow:
Run the application
Go to the view-cart page
Click the checkout button
Enter an incorrect username and password.
Login/Register fails.
Use-Case Number: US-008
Application: Bian
Use-Case Name: Place order
Use-Case Description: This use case helps the User/Admin to check out items in the shopping
cart using the order form.
Primary Actor: User/Admin
Precondition: The user/administrator can login or register on the user-authentication form.
Post-condition: The user is successfully able to check out items using the order form.
Basic Flow:
Run the application
Go to the view-cart page
Click the checkout button
Enter the username and password.
Login/Register.
Enter the information in the Order Form
Place order is success.
Exceptional Flow:
Run the application
Go to the view-cart page
Click the checkout button
Enter the username and password.
Login/Register.
Enter the information on the order form
Invalid/Incomplete information
Place order is not allowed
EXTERNAL ENTITY
An external entity is a source or destination of a data flow. Only those entities which
originate or receive data are represented on a data flow diagram. The symbol used is a
rectangular box.
PROCESS
A process shows a transformation or manipulation of data flow within the system. The
symbol used is an oval shape.
DATAFLOW
The data flow shows the flow of information from a source to its destination. Data flow is
represented by a line, with arrowheads showing the direction of flow. Information always
flows to or from a process and may be written, verbal or electronic. Each data flow may be
referenced by the processes or data stores at its head and tail, or by a description of its
contents.
DATA STORE
A data store is a holding place for information within the system: It is represented by an open
ended narrow rectangle. Data stores may be long-term files such as sales ledgers, or may be
short-term accumulations: for example, batches of documents that are waiting to be
processed. Each data store should be given a reference followed by an arbitrary number.
LOGIN DFD:
REGISTRATION DFD
ADMIN DFD
MODERATOR DFD
Activity Diagram
This section lists the activity diagram and describes the flow of activities in the system. A
detailed description is then given after the figure for each activity. Figure 3 provides the
overview of the activity of application.
The figure below demonstrates the activity flow for this application. The flow of the
application is similar for both the user and administrator. The flow begins when the user first
runs the application home screen application that appears in the web browser. The user can
browse through the available list of categories and can choose either to select a category or to
directly view the cart. In the category, a user can select view more information for details
about an item before deciding to add it to the shopping cart by clicking on the cart icon next
to the item. The user can then decide to either continue shopping by clicking the continue
shopping button or can check out by clicking on the checkout option. If there are no items in
the cart, then the user does not have an option to click checkout. The user can check out after
doing the user authentication by logging in with the username and password. Once the user
successfully logins/registers, the order form, where the user can put the correct information to
place the order appears. If the user includes incorrect or incomplete information, then placing
the order is not allowed. After the user successfully inputs the correct information, placing
order is successful, and the user can see the success message. The additional flow step for the
administrators is that they can view the users information, the users checkout, and the
product details by using database after the user successfully places an order.
Figure--3
Activity Diagram