SJU-CS330-S18 / E-Backpack

eBackpack is a app focused on making organization easier for student by digitizing the common student backpack. Thus relieving the strain on their back a backpack full or folders, textbooks, and notebooks can inflict, and centralizes a students school supplies.
2 stars 6 forks source link

Design Pattern Assignment #121

Open 2018yzhang opened 6 years ago

2018yzhang commented 6 years ago
  1. Front Controller Pattern -(Kalila & Yang)
  2. MVC Pattern -(Sam & Yidan)
  3. Composite Pattern (Nick and Caitlin)
CHarvey820 commented 6 years ago

Team selected MVC pattern as design pattern to implement.

Split Student Class into 2 classes: Student entity and Student Controller

kalilamoua commented 6 years ago

https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRQyH_M2rAdX74e7t-i-EwEiJxxoz5BOdVV4G0TquuW2_ytGAfOeQ

kalilamoua commented 6 years ago

View- jsp pages Model- java bean - connects to database Controller - jsp action pages

kalilamoua commented 6 years ago

I will create UML diagram to demonstrate an example of MVC design pattern in our project.

kalilamoua commented 6 years ago

mvc

Review and give me feedback.

2018yzhang commented 6 years ago

This MVC design pattern applies to our project because we already structured our code this way. We did not go with Front Controller (our second choice) because we did not want admin and student users (two different users). It was not a part of our plan for sprint 3.