Académique Documents
Professionnel Documents
Culture Documents
Documentation
CT015-3.5-2
Design Methods
UC2F1410SE
Student Name
Student Id
: TP028536
Lecturer Name
Acknowledgement
I would like to say thank you to my lecturers, Mr. Lee Kim Keong and Ms. Salasiah Binti
Sulaiman. Without their guidance and assistance, this assignment would be impossible to
achieve. Also I would like to thank my friends who support me and spend some time helping
on this assignment.
Table of Contents
1.
Introduction..................................................................................................... 4
2.
Assumptions.................................................................................................... 5
3.
4.
Analysis Model................................................................................................. 7
5.
4.1.
4.2.
4.2.1.
Member Login......................................................................................... 8
4.2.2.
View Menu............................................................................................. 9
4.2.3.
Make Order.......................................................................................... 10
4.2.4.
4.2.5.
4.2.6.
Leave Feedback..................................................................................... 13
4.2.7.
Registration.......................................................................................... 14
4.2.8.
Update Menu........................................................................................ 15
4.2.9.
4.2.11.
4.2.12.
Manage Order....................................................................................... 18
4.3.
Class Diagram......................................................................................... 19
4.4.
Design Model................................................................................................. 21
5.1.
Activity Diagrams.................................................................................... 21
5.1.1.
Member Login...................................................................................21
5.1.2.
View Menu........................................................................................ 22
5.1.3.
Make Order....................................................................................... 23
5.1.4.
5.1.5.
5.1.6.
Leave Feedback................................................................................ 26
5.1.7.
Registration...................................................................................... 27
5.1.8.
5.1.9.
Update Menu.................................................................................... 29
Sequence Diagrams................................................................................33
5.2.1.
Member Login...................................................................................33
5.2.2.
View Menu........................................................................................ 33
5.2.3.
Make Order....................................................................................... 35
5.2.4.
5.2.5.
5.2.6.
Leave Feedback................................................................................ 38
5.2.7.
Registration...................................................................................... 39
5.2.8.
Update Menu.................................................................................... 40
5.2.9.
5.4.
Component Diagram............................................................................... 45
6.0.
Sample Code.............................................................................................. 46
7.0.
Conclusion.................................................................................................. 47
8.0.
Reference................................................................................................... 48
1. Introduction
In todays worlds, where technology is advancing than ever before, every businesses
should have some degree of existence online. According to adweek.com (2014), every 30
seconds, more than $1.2 million is being made in total by businesses around the world. At
this time, where technology can be accessed at any place around the world, and when they are
most affordable, there are still many business running offline.
With the ordering system running 24/7, the customers will be able to order food at any
time and from any place where ever they may be. On top of that, making an attractive and
creative own website provides a good opportunity to boost their businesss image online.
Customers no longer need to ask Whats New. An online menu gives the customers what is
available and they can pursue as long as they want on deciding what to order. An online
ordering system means less communication between people to people, hence it reduces some
instance of misunderstandings, such as various accents, which could lead to disputes and
customer dissatisfaction.
Many of the business are turning to ordering online as they are convenient to both
customers and themselves as well. The customers prefer to order online where things can be
rapidly and correctly dealt with than that of the traditional phone calls. Many of the
businesses are jumping on board, and it can be foreseen that there are more to come.
2. Assumptions
It is assumed that the system is working on 24/7 and will be working without any bugs or
glitches. Not all customers are needed to sign into the system to order food. There will be two
types of customers, guest and members. Guest have limited features compared to the
members. The features of each actors will be explained more in following chapter.
3. Features
The ordering system acts as a communication medium between two main actors,
customers and staffs. Customers can be divided into two users, guest and members. Guests
are customers who can log onto the system by entering their name, address and phone
number. Members need to sign in the system using their email address and password.
Both the customer will be able to view the menu and order as long as they log into the
system but special deals are only limited to members. Members can also leave a feedback,
and submit to the system. The system will then assign their number together with the
members ID and name, and send it to the staff. Payment can be made in either through credit
card, or PayPal, or by cash when the delivery arrives. If the user is paying through online, a
normal procedure of verification will occur.
The staff can sign into the system by using their ID and password. They can manage
orders, where they will be able to cancel orders or, sort the order and print out a list for
delivery. They can also update menu and view member information.
The requirements from the customers are gathered in workshops or focus groups
together. The customer involvement and feedback is high throughout this type of model,
especially during prototyping, so that all the requirements and deliveries are met in the
final version. RAD are flexible with having changes. There are specific tools in
developing web based application using RAD and Object oriented languages such as
OpenXava.
This is why RAD is believed to be an appropriate Software Development to be used
for this ordering system.
8
5. Analysis Model
5.1. Use Case Diagram
re-enter
The member is taken to the menu page.
10
None.
11
of Events:
Post Condition
4)
1.
2.
3.
12
13
None
14
15
5.2.7. Registration
Primary Actors
Guest
Priority
Medium
Preconditions
Working Internet Condition
Live Ordering System
No user logged onto the system
Basic Flow of Events:
1. The system asks the user to enter the email address and password, or to
register a new account.
2. The user chooses to register for a new account
3. The system asks the user to add in his email address, first and last name, a
password. Etc.
4. The user enters the information, and clicks next
5. The system prompts the user to enter their address and contact number.
6. The user enters the information, and clicks next.
7. A User Account Successfully created message is displayed on the screen.
Alternative Flow
1) The user can cancel the registration.
of Events:
Post Condition
16
Post Condition
17
members.
The user clicks on search member.
The systems prompts the user to input email address of the member.
The user inputs the information.
The system searches the databases.
The system displays the members information, together with the previous
(None)
18
the member.
5. The user enters the action taken and clicks on solved.
6. The current feedback is moved to the Solved section.
Alternative Flow
5. The user wants to see the Solved Section.
1. The user clicks on the Solved.
of Events:
2. The system displays a list of feedbacks together with the
name, phone number, and action taken.
Post Condition
(None)
19
20
21
22
5. Design Model
5.1. Activity Diagrams
23
24
25
26
27
28
29
5.1.7. Registration
30
31
32
5.1.10.
33
5.1.11.
Manage Order
34
35
36
37
38
39
40
5.2.7. Registration
41
42
43
5.2.10.
44
5.2.11.
Manage Order
45
46
47
48
Sample Code from
49
7.1. Conclusion
The usage of technology in business boosts its efectiveness, able to connect
to it at any given time and from anywhere. The system is designed to have all
the main features in an ordering system. It depends much on the development
and the design of the actual system. If the development went well, this system
would be suitable to integrate into the business.
50
8.0. Reference
Adweek.com, (2014). How Much Online Business Is Done Every 30 Seconds? Incredible ECommerce Statistics! [INFOGRAPHIC]. [online] Available at:
http://www.adweek.com/socialtimes/real-time-ecommerce/499958 [Accessed 25 Jun. 2015].
Agilemodeling.com, (2015). UML 2 Class Diagram Guidelines. [online] Available at:
http://agilemodeling.com/style/classDiagram.htm [Accessed 29 Jul. 2015].
Agilemodeling.com, (2015). UML 2 Class Diagram Guidelines. [online] Available at:
http://agilemodeling.com/style/classDiagram.htm [Accessed 1 Jul. 2015].
Agilemodeling.com, (2015). UML 2 Component Diagramming Guidelines. [online] Available
at: http://agilemodeling.com/style/componentDiagram.htm [Accessed 29 Jun. 2015].
Agilemodeling.com, (2015). UML 2 Component Diagrams: An Agile Introduction. [online]
Available at: http://agilemodeling.com/artifacts/componentDiagram.htm [Accessed 29 Jun.
2015].
Communications, E. (2013). Benefits of Online Ordering Go Beyond Increased Sales.
[online] Hospitalitytechnology.edgl.com. Available at:
http://hospitalitytechnology.edgl.com/news/Benefits-of-Online-Ordering-Go-BeyondIncreased-Sales84718 [Accessed 28 Jun. 2015].
Flow Chart Maker & Online Diagram Software, (2012). Activity Diagram - UML. [online]
Available at: https://www.lucidchart.com/pages/uml/activity-diagram [Accessed 29 Jun.
2015].
Ibm.com, (2015). Activity Diagrams: What They Are and How to Use Them. [online]
Available at: http://www.ibm.com/developerworks/rational/library/2802.html [Accessed 29
Jun. 2015].
Istqbexamcertification.com, (2015). What is RAD model- advantages, disadvantages and
when to use it?. [online] Available at: http://istqbexamcertification.com/what-is-rad-modeladvantages-disadvantages-and-when-to-use-it/ [Accessed 30 Jun. 2015].
51
McKay, V. (2015). Rapid Application Development (RAD) | Analysis and Design | Solutions.
[online] Selectbs.com. Available at: http://www.selectbs.com/analysis-and-design/rapidapplication-development-rad [Accessed 28 Jun. 2015].
Msdn.microsoft.com, (2015). UML Class Diagrams: Reference. [online] Available at:
https://msdn.microsoft.com/en-us/library/dd409437(VS.100).aspx [Accessed 30 Jun. 2015].
Msdn.microsoft.com, (2015). UML Class Diagrams: Reference. [online] Available at:
https://msdn.microsoft.com/en-us/library/dd409437.aspx [Accessed 31 Jun. 2015].
Msdn.microsoft.com, (2015). UML Class Diagrams: Reference. [online] Available at:
https://msdn.microsoft.com/en-us/library/dd409437.aspx [Accessed 1 Jul. 2015].
Msdn.microsoft.com, (2015). UML Class Diagrams: Reference. [online] Available at:
https://msdn.microsoft.com/en-us/library/dd409437(VS.100).aspx [Accessed 1 Jul. 2015].
Msdn.microsoft.com, (2015). UML Component Diagrams: Guidelines. [online] Available at:
https://msdn.microsoft.com/en-us/library/dd409393.aspx [Accessed 29 Jun. 2015].
Msdn.microsoft.com, (2015). UML Component Diagrams: Reference. [online] Available at:
https://msdn.microsoft.com/en-us/library/dd409390.aspx [Accessed 28 Jun. 2015].
My-project-management-expert.com, (2015). The Advantages and Disadvantages of RAD
Software Development, RAD Development, RAD Methodology from www.My-ProjectManagement-Expert.com. [online] Available at: http://www.my-project-managementexpert.com/the-advantages-and-disadvantages-of-rad-software-development.html [Accessed
30 Jun. 2015].
Openxava.org, (2015). AJAX Java Web Framework for Rapid Application Development of
Enterprise Applications - OpenXava. [online] Available at: http://www.openxava.org/
[Accessed 1 Jul. 2015].
SearchSoftwareQuality, (2015). What is rapid application development (RAD) ? - Definition
from WhatIs.com. [online] Available at:
http://searchsoftwarequality.techtarget.com/definition/rapid-application-development
[Accessed 1 Jul. 2015].
SearchSoftwareQuality, (2015). What is rapid application development (RAD) ? - Definition
from WhatIs.com. [online] Available at:
52
http://searchsoftwarequality.techtarget.com/definition/rapid-application-development
[Accessed 29 Jun. 2015].
Sparxsystems.com, (2015). Sparx Systems - UML 2 Tutorial - Component Diagram. [online]
Available at:
http://www.sparxsystems.com/resources/uml2_tutorial/uml2_componentdiagram.html
[Accessed 30 Jun. 2015].
Testingfreak, (2015). What is RAD Model in software testing and what are advantages and
disadvantages of RAD Model. [online] Available at: http://testingfreak.com/rad-modelsoftware-testing-advantages-disadvantages-rad-model/ [Accessed 1 Jul. 2015].
Tutorialspoint.com, (2015). SDLC - RAD Model. [online] Available at:
http://www.tutorialspoint.com/sdlc/sdlc_rad_model.htm [Accessed 29 Jun. 2015].
Tutorialspoint.com, (2015). UML - Activity Diagrams. [online] Available at:
http://www.tutorialspoint.com/uml/uml_activity_diagram.htm [Accessed 1 Jul. 2015].
Uml-diagrams.org, (2015). UML component diagram shows components, provided and
required interfaces, ports, and relationships between them.. [online] Available at:
http://www.uml-diagrams.org/component-diagrams.html [Accessed 29 Jun. 2015].
Webopedia.com, (2015). What is Rapid Application Development? Webopedia. [online]
Available at: http://www.webopedia.com/TERM/R/Rapid_Application_Development.html
[Accessed 1 Jul. 2015].
53