Professional Documents
Culture Documents
Jan 2018
Today is the generation of technology. The Internet is becoming more and more popular, followed by
those that are made available through the internet. The popular services can be referred to as online
shopping, fast delivery service, order or proxy products online and so on.
Understanding user psychology, this project focuses on building a website that sells and leases related
cameras and accessories. The purpose is to make it easy for users to make purchases. Users can order
directly on the website or rent the product if desired. Customers can also book a product later to pick
up.
All website operations are done through Web Service, client side, database. Website details,
algorithms, tasks will be covered in the following sections.
ii
Contents
Abstract ..................................................................................................................................................ii
Contents ................................................................................................ Error! Bookmark not defined.
1 Project Proposal.............................................................................................................................. 1
1.1 Overview ................................................................................................................................ 2
1.2 Aim ......................................................................................................................................... 2
1.3 Objectives ............................................................................................................................... 2
1.4 Legal, Social, Ethical and Professional ................................................................................... 5
1.5 Planning (See Appendix A in the end of this report) .............................................................. 5
1.6 Initial References .................................................................................................................... 5
2 Literature Review ........................................................................................................................... 6
2.1 Introduction ............................................................................................................................ 6
2.2 Similar Product Research. ...................................................................................................... 6
2.3 What learn?............................................................................................................................. 6
2.4 The technologies will use for project development ................................................................. 7
3 Requirement specification .............................................................................................................. 9
3.1 Introduction ............................................................................................................................ 9
3.2 Project aim .............................................................................................................................. 9
3.3 Use roles ................................................................................................................................. 9
3.4 Functional Requirements ........................................................................................................ 9
3.5 Success criteria ..................................................................................................................... 10
3.6 Conclusions .......................................................................................................................... 10
4 Conclusion.................................................................................................................................... 11
APPENDIX A - Project Proposal .................................................................................................... 12
iii
iv
1 PROJECT PROPOSAL
An investigation about Web service and its application in developing Online Shopping Cart.
GC00853
1
1.1 Overview
To implement this system, after reviewing I decided to choose the technology to develop the system.
The system will use the Web service to retrieve data from the database and send it to the client side.
Specifically, to implement Web service, this application will use the RESTful API, which is developed
based on the PHP language and MySQL.
On the client side PHP will be using, JavaScript, HTML and CSS to read JSON information from the
server side.
By using Web service, the system becomes more apparent. The database, the Web service, and the
client side are clearly separated. This makes the application more maintainability and extensibility. It
also makes modifying the system easier.
1.2 Aim
This project is to investigate about the Web service and its applications in developing Online
Shopping Cart.
1.3 Objectives
2
1. A report about Web service technology (1000 noun)
2. A report about vendors to develop Web services. (400 noun)
3. A report about the choice provider to develop Web services (noun)
3
Deliverables:
1. Report about the selected programming language
2. Report about the selected DBMS
3. Report about the IDE.
4. The software.
4
1. Write the conclusion
2. Write the future work
Deliverables:
1. Report about the conclusion
2. Report about the future work
I plan to finish the project within almost a month. Include all such things as: designing, taking requests
from customers, coding, testing, evaluating, and writing reports. Estimated time to complete work in
almost a month including risk.
5
2 LITERATURE REVIEW
2.1 Introduction
In this part. We will review all requirements from users, learn some similar products with the project.
Get ideas for building up a website.
We will also review the technologies that will be used in the project. This is very important, the
technology used must be appropriate for the project (in terms of time, budget, etc.).
These websites are full of the main functions such as: cart module, access user hire camera, checkout,
detail view of products. In addition, the interface of these websites is also very easy to use for
customers. The main purpose of the website is always shown off the homepage. This is extremely
important.
6
2.4 The technologies will use for project development
On Server:
This website is based on web service.
A Web service is a set of methods that allow remote access via an HTTP URL or other connection
method. The result that it returns is usually in XML or JSON format. Since it is remotely remote it
should be used to build distributed systems and applications.
REST (Representational State Transfer) is an architectural style that provides APIs over the internet
to handle CRUD operations on data.
SOAP (Simple Object Access Protocol) is a protocol that uses XML to define plain text data via
HTTP. SOAP is the way Web Service uses to transmit data. Because it is XML-based, SOAP is a
platform-independent protocol as well as any programming language.
In this case I use the RESTful API instead of using SOAP because:
+ REST uses the HTTP standard, so it's a lot simpler than it used to be. Create clients, develop APIs,
understand documents, and there are not many things that REST cannot do. Basically this is actually
much better than SOAP
+ REST allows a variety of data formats, while SOAP only allows XML.
+ REST has better performance and scalability. REST reads can be cached again, and SOAP does not.
On Database:
7
On the data storage side, this project will use MySQL to store data.
MySQL database has become the most popular open source database in the world because of its fast
and stable processing mechanism, high reliability and ease of use.
Some of the advantages of MySQL are instant availability, strong transaction support, reliable web
and data storage, robust data security, and more.
On Client site:
This project using PHP, HTML, CSS, JS and related library to read all JSON object from web service.
8
3 REQUIREMENT SPECIFICATION
3.1 Introduction
This site allows users to view products, order or lease products online.
On the staff side. The administration system allows staff to perform product management, orders, and
categories such as adding, editing, deleting, searching, returning items, etc.
9
3.5 Success criteria
- Build a friendly and easy-to-use website for users.
- Admin site: Manage your data easily.
- Application: Easy to upgrade as well as maintenance.
- Make sure the program is running correctly.
3.6 Conclusions
In summary, the required functions, such as the Manage product, the hire product, are the main
functions of the program. Priority must be given (do first).
10
4 CONCLUSION
Through this report. The reader can generalize this application for what, why we need to build this
application. From getting requirements from users, refer to similar products. This report covers the
entire technology involved for project development, detailed planning as well as basic design of the
project.
11
APPENDIX A - Project Proposal
1. Schedule
12
2. Gantt chart
13