Download as pdf or txt
Download as pdf or txt
You are on page 1of 16

E-Commerce:

Publishing Websites

Outcome 2, 3 & 4

Sharmiladevi Nagulendran
18s07037
Computer Science - 08
Outcome 02
Create a database structure for an e-commerce website
The students reports must incorporate all the following elements to constitute a pass.

Check Description Guidelines for marking Tick if


List student
Number report meets
guidelines

1 Create simple database Simple e-commerce database structure created.


files given a set of user
requirements including: Products table created. with the following
minimum fields:
Product table (data types:
• Id (of type integer)
text; integer; currency;
graphic) • Name (must be a textual data type)
• ImagePath (must be a text data type)
• Price (currency data type) ID to be
marked as primary field.

N.B The exact naming of the field names is not


important any appropriate naming conventions
can be used.

2 Order Table Create an Orders table with the following


minimum fields:

OrderId (datatype int)


Datetime (Date or Datetime data type)
CustomerID or CustomerID/ UserId(datatype
int or unique identifier)
OR
UserName/CustomerName (Textual datatype)

The OrderId to be marked as primary key.

N.B The exact naming of the field names is not


important any appropriate naming conventions
can be used.

1
18s07037
3 Order Item Table Create an OrderItem table with minimum fields:

OrderItemId (datatype integer )


OrderId (datatype integer)
ProductId (datatype integer)
Quantity (datatype Integer

OrderItemId to bemarked as the primary key

OR

OrderId (datatype integer)


ProductId (datatype integer)
Quantity (datatype Integer

Composite Primary key of OrderID &


ProductID

4 Customer or User Table This can be created or utilised.

Minimum fields:
Userid (dataype int or unique identifier) &
Username (textual datatype)

Some web development solutions such as


ASP.Net ship with a membership database that
can be made use of in this scenario.

5 Identifies key field Key fields and relationships between tables to


relationships between tables. be identified.

6 Revisions If required

2
18s07037
1. Products table

1. The Product-Id to be marked as primary key.

2. Order table

2. The Order Id to be marked as primary key.

3
18s07037
3. Order Item table

 Composite Primary key of OrderID & ProductID

4. Customer table

4
18s07037
Outcome 03
Design and implement a user interface for an e-commerce website The students reports
must incorporate all the following elements to constitute a pass.

Check Description Guidelines for marking Tick if student


List report meets
Number guidelines

1 Design a user interface Storyboard/ mock up created for at


suitable for the least one page to be used to capture
capture of user user information
information

2 Design a user interface Storyboard/ mock up created or at


suitable for the display of least one page to be used to display
dynamic data. dynamic data

3 Address Accessibility Accessibility must have been


addressed for example all images
must have an alt tag and
Navigation must be clear.

4 Implement designs HTML pages created based on


design
5 Revisions If required

5
18s07037
1. Design a user interface

6
18s07037
2. Display of dynamic data

Before getting the product

After getting the product

7
18s07037
3. Address Accessibility

 images must have an alt tag and Navigation must be clear

8
18s07037
4. Implement designs

HTML pages created based on design

9
18s07037
Outcome 04
and user feedback

The students reports must incorporate all the following elements to constitute a pass.

Check Description Guidelines for marking Tick if student


List report meets
Number guidelines

1 Generate code to implement At least one page in the website


password security features, must require the user to be logged
in to access it.

2 Generate code to read data At least one page in the website


from the database. must display dynamic data such as
product listing and or order history.

3 Generate code to insert data At least one page in the website


including records into the must insert data into the data base
database.. e.g. Products, Checkout (insert
order), Administration or User
registration.

4 Generate code to update data At least one area in the website


including records in the should update data in the database
database. e.g. Products Administration
updating products

5 Revisions If required

10
18s07037
1. Logged in to access

11
18s07037
2. Display dynamic data - Product

12
18s07037
3. Insert data

 Add in to database

13
18s07037
 Alert message the data was insert successfully.

4. Update data

14
18s07037
 Update in to database (Pencil-Box 250.00 was updated as 220.00)

Thank you……….
15
18s07037

You might also like