04-10-2014, 02:19 PM
ONLINE SHOPPING CART APPLICATION
ONLINE SHOPPING.pdf (Size: 1.79 MB / Downloads: 306)
ABSTRACT
Electronic commerce, also known as ecommerce is a type of industry where buying and
selling of a product is conducted over electronic systems such as the internet.
The purpose of this application is to bring knowledge to students about ecommerce and
how an interactive ecommerce application can be designed from scratch using client-side
languages, such as JavaScript and HTML, combined with the server-side Java language through
Java Server Faces. The server side, mostly Java, contains all the implementation related to
setting up the database, creating session models for joining different user-interface (UI) pages,
calculating the shipping costs and sales tax, etc. It is responsible for taking information from the
database and making it available to the UI by mapping the category or item ID to the respective
IDs stored in the database. The client side is responsible for showing the entire user interface,
containing the CSS, HTML, and JavaScript.
Motivation
The motivation for designing this shopping-cart application came because I love online
shopping rather than spending lot of time at physical markets. Further, using the available stores
to sell the products, there is also the possibility of designing one’s own customized shopping-cart
application from scratch because custom-designed platforms are expensive. Moreover, I value
recent learning about the Java and JavaScript programming languages as well as seeing how
powerful and dynamic they are when it comes to web designing and applications. Apart from
helping computer science students understand the concepts of web-application designing, it
would be very easy to incorporate the idea of using programming techniques from the available
visuals to understand how a piece of code appears on a user interface. The languages used to
build this application are JavaScript, HTML, and Java because I found them to be extremely
useful while working on the technologies at my workplace, Thomson Reuters.
Paper Organization
The rest of the document is divided into three parts: Objectives, Implementation, and
Testing. The Objectives chapter lists the need for building the system. It provides use cases to
help the business and technical users with their understanding. It also gives a detailed
explanation for each use case to help with design and implementation, and outlines the
constraints regarding the software. The Implementation chapter contains the detailed design of
the system, including the Class Diagram, Activity Diagram, and Component Diagram. This
chapter also includes a detailed explanation for each component as well as the interaction of the
class and its components with each other when carrying out certain tasks, besides software’s
mock screen shots.
CONCLUSION/FUTURE WORK
This chapter includes the Conclusion reached after creating the current version of the
software to meet the system objectives. The comparison is done between the system that was
built and original requirements that were designed at the beginning of the project. It also
describes the Future Work that is intended to be accomplished with later versions of the
software.
. Conclusion
The main objective of the application is to help computer science students understand the
basics of Java, JavaScript, and HTML. By browsing through the application and looking at the
code for each graphical interpretation, students should be able to easily understand the
implementation. The following results have been achieved after the completing the system and
relate back to the system’s objective.