You are on page 1of 6

BAHRIA UNIVERSITY (KARACHI CAMPUS)

Complex Engineering Problem

Assignment 2 - SPRING SEMESTER – 2021

(Software Design and Architecture – SEL221)

Class: BSE 4A/4B (Morning)

Course Instructor: Engr Muhammad Rehan Baig

Max Marks: 05

1. This is an individual Task


2. No plagiarism accepted. Copied Assignment equals to ZERO marks.

[CLO = 01, 5.0 Marks]


Scenario: BasketBase is An Online shopping Ecommerce web application. Contains many
features consisting implementation of AI, Machine learning and Big Data Analytics for providing
best user experience and suggesting items based on the region wise and last purchase trend.
BasketBase now wants to implement Open Api for their system.
That will privilege mobile users and other system developers to extend and enhance their own
applications. Based on the location and trend the users can open their shops on BasketBase.

Moreover, by becoming premium users after paying 150$ a month can also have their whitelable
application by their name backed by BasketBase.

After Performing following tasks in Assignment 1

Identify the classes and their properties for basketbase


Design UML (Class, UseCase, Erd) diagrams of this project.

Now Perform following Tasks.


• Identify and Implement the Architecture styles for this application (Hint: more than one
Architecture style can be implemented In this application.)
• Identify and Implement Design patterns that are best suited in this scenario.

************ BEST OF LUCK ************

NAWAZ UR REHMAN 57293


USE-CASE DIAGRAM FOR BASKETBASE WEBSITE

NAWAZ UR REHMAN 57293


CLASS DIAGRAM FOR BASKETBASE WEBSITE

NAWAZ UR REHMAN 57293


ER - DIAGRAM FOR BASKETBASE WEBSITE

NAWAZ UR REHMAN 57293


I will use 3 tier architecture style foe basket base ecommerce website

Three-tier architecture is a well-established software application architecture that


organizes applications into three logical and physical computing tiers: the presentation
tier, or user interface; the application tier, where data is processed; and the data tier,
where the data associated with the application is stored and managed.

The chief benefit of three-tier architecture is that because each tier runs on its own
infrastructure, each tier can be developed simultaneously by a separate development
team, and can be updated or scaled as needed without impacting the other tiers.

For decades three-tier architecture was the prevailing architecture for client-server
applications. Today, most three-tier applications are targets for modernization,
using cloud-native technologies such as containers and microservices, and
for migration to the cloud.

I will use factory design pattern for basket base ecommerce website

Factory Method is a creational design pattern that provides an interface for creating
objects in a superclass, but allows subclasses to alter the type of objects that will
be created.

NAWAZ UR REHMAN 57293


NAWAZ UR REHMAN 57293

You might also like